nuclei-templates/vulnerabilities/wordpress/wordpress-git-config.yaml

33 lines
743 B
YAML
Raw Normal View History

2021-09-21 09:51:16 +00:00
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
2021-09-21 09:51:16 +00:00
tags: config,git,exposure,wordpress,wp-plugin,wp-theme
requests:
- 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