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.
|
2022-04-22 10:38:41 +00:00
|
|
|
reference:
|
|
|
|
- https://hackerone.com/reports/248693
|
2023-04-28 08:11:21 +00:00
|
|
|
metadata:
|
|
|
|
max-request: 2
|
2023-10-14 11:27:55 +00:00
|
|
|
tags: hackerone,config,git,exposure,wordpress,wp-plugin,wp-theme
|
2021-09-21 09:51:16 +00:00
|
|
|
|
2023-04-27 04:28:59 +00:00
|
|
|
http:
|
2021-09-21 09:51:16 +00:00
|
|
|
- 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
|
2023-10-20 11:41:13 +00:00
|
|
|
|
|
|
|
# digest: 490a0046304402200c85e6bde7f8fd5a418f6ae475ea3e43619b2c9bbdaa025a2ff0a3467f271cc802204e6427102c1fe622a829ec9df5831e46740d60b9bf8eec9d72ecd086068a28de:922c64590222798bb761d5b6d8e72950
|