2020-10-24 21:21:17 +00:00
|
|
|
id: iis-shortname
|
2022-04-22 10:38:41 +00:00
|
|
|
|
2020-10-24 21:21:17 +00:00
|
|
|
info:
|
|
|
|
name: iis-shortname
|
|
|
|
author: nodauf
|
|
|
|
severity: info
|
2021-09-16 20:16:45 +00:00
|
|
|
description: When IIS uses an old .Net Framework it's possible to enumeration folder with the symbol ~.
|
2021-08-18 11:37:49 +00:00
|
|
|
reference:
|
2021-08-19 14:44:46 +00:00
|
|
|
- https://github.com/lijiejie/IIS_shortname_Scanner
|
|
|
|
- https://www.exploit-db.com/exploits/19525
|
2022-04-22 10:38:41 +00:00
|
|
|
tags: fuzz
|
2020-10-24 21:21:17 +00:00
|
|
|
|
|
|
|
requests:
|
2021-03-09 08:12:02 +00:00
|
|
|
- raw:
|
|
|
|
- |
|
|
|
|
GET /N0t4xist*~1*/a.aspx HTTP/1.1
|
|
|
|
Host: {{Hostname}}
|
|
|
|
Origin: {{BaseURL}}
|
|
|
|
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8
|
|
|
|
|
|
|
|
- |
|
|
|
|
GET /*~1*/a.aspx' HTTP/1.1
|
|
|
|
Host: {{Hostname}}
|
|
|
|
Origin: {{BaseURL}}
|
|
|
|
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8
|
|
|
|
|
|
|
|
- |
|
|
|
|
OPTIONS /N0t4xist*~1*/a.aspx HTTP/1.1
|
|
|
|
Host: {{Hostname}}
|
|
|
|
Origin: {{BaseURL}}
|
|
|
|
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8
|
|
|
|
|
|
|
|
- |
|
|
|
|
OPTIONS /*~1*/a.aspx' HTTP/1.1
|
|
|
|
Host: {{Hostname}}
|
|
|
|
Origin: {{BaseURL}}
|
|
|
|
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8
|
2020-10-24 21:21:17 +00:00
|
|
|
|
2021-03-11 12:44:19 +00:00
|
|
|
req-condition: true
|
2020-10-24 21:21:17 +00:00
|
|
|
matchers:
|
|
|
|
- type: dsl
|
|
|
|
dsl:
|
|
|
|
- "status_code_1!=404 && status_code_2 == 404 || status_code_3 != 404 && status_code_4 == 404"
|