2022-12-10 13:51:01 +00:00
|
|
|
id: stestr-config
|
|
|
|
|
|
|
|
info:
|
|
|
|
name: Stestr Configuration File Exposure
|
|
|
|
author: Hardik-Solanki
|
|
|
|
severity: info
|
|
|
|
reference:
|
|
|
|
- https://github.com/maurosoria/dirsearch/blob/master/db/dicc.txt
|
|
|
|
- https://stestr.readthedocs.io/en/latest/MANUAL.html
|
2022-12-12 18:21:19 +00:00
|
|
|
metadata:
|
|
|
|
verified: true
|
|
|
|
github-query: filename:stestr.conf
|
|
|
|
tags: exposure,stestr,config,files
|
2022-12-10 13:51:01 +00:00
|
|
|
|
|
|
|
requests:
|
|
|
|
- method: GET
|
|
|
|
path:
|
|
|
|
- "{{BaseURL}}/.stestr.conf"
|
|
|
|
|
|
|
|
matchers-condition: and
|
|
|
|
matchers:
|
|
|
|
- type: word
|
|
|
|
part: body
|
|
|
|
words:
|
|
|
|
- '[DEFAULT]'
|
|
|
|
- 'test_path='
|
|
|
|
condition: and
|
|
|
|
|
|
|
|
- type: status
|
|
|
|
status:
|
|
|
|
- 200
|