additional matchers

patch-1
Ritik Chaddha 2024-02-27 23:30:29 +05:30 committed by GitHub
parent 3e07c91034
commit 9f0777a35d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 7 additions and 2 deletions

View File

@ -1,7 +1,7 @@
id: sphinxsearch-config
info:
name: Sphinx Search configuration file containing SQL credentials
name: Sphinx Search Config - Exposure
author: gtrrnr
severity: high
description: sphinx.conf file contains SQL credentials and is publicly accessible.
@ -11,7 +11,8 @@ info:
- https://github.com/manticorp/SphinxSearch/blob/master/sphinx.conf.example
metadata:
max-request: 7
tags: sphinx,sphinxsearch,exposure
verified: true
tags: sphinx,sphinxsearch,exposure,config
http:
- method: GET
@ -24,12 +25,16 @@ http:
- "{{BaseURL}}/sphinx/sphinx.conf"
- "{{BaseURL}}/sphinxsearch/sphinx.conf"
stop-at-first-match: true
matchers-condition: and
matchers:
- type: word
part: body
words:
- "sql_user"
- "sql_pass"
- "indexer"
condition: and
- type: status
status: