Add iis-shortname template

patch-1
nodauf 2020-10-24 23:21:17 +02:00 committed by GitHub
parent 03108440a9
commit 70c4e76f05
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 26 additions and 0 deletions

View File

@ -0,0 +1,26 @@
id: iis-shortname
info:
name: iis-shortname
author: nodauf
severity: info
description: If IIS use old .Net Framwork it's possible to enumeration folder with the symbol ~.
# References:
# - https://github.com/lijiejie/IIS_shortname_Scanner
# - https://www.exploit-db.com/exploits/19525
requests:
- method: GET
path:
- "{{BaseURL}}/N0t4xist*~1*/a.aspx"
- "{{BaseURL}}/*~1*/a.aspx'"
- method: OPTIONS
path:
- "{{BaseURL}}/N0t4xist*~1*/a.aspx"
- "{{BaseURL}}/*~1*/a.aspx'"
matchers:
- type: dsl
name: multi-req
dsl:
- "status_code_1!=404 && status_code_2 == 404 || status_code_3 != 404 && status_code_4 == 404"