Files
nuclei-templates/http/vulnerabilities/wordpress/wordpress-git-config.yaml
2025-10-26 16:17:37 +00:00

35 lines
978 B
YAML

id: wordpress-git-config
info:
name: Wordpress Git Config
author: nerrorsec
severity: info
description: Searches for the pattern /.git/config inside themes and plugins folder.
reference:
- https://hackerone.com/reports/248693
metadata:
max-request: 2
tags: hackerone,config,git,exposure,wordpress,wp-plugin,wp-theme,vuln
http:
- method: GET
path:
- "{{BaseURL}}/wp-content/plugins/.git/config"
- "{{BaseURL}}/wp-content/themes/.git/config"
matchers-condition: and
matchers:
- type: word
words:
- "[core]"
- type: dsl
dsl:
- "!contains(tolower(body), '<html')"
- "!contains(tolower(body), '<body')"
condition: and
- type: status
status:
- 200
# digest: 4a0a00473045022066cc80d8cfca052f3b5ad2d6fdad95a904d2913d9f6964694b8e4bbdf38179e2022100deb2bc9f435b6c505e93928df24016643c199876d56479b30aae8bdb7d2b93de:922c64590222798bb761d5b6d8e72950