Files
nuclei-templates/http/exposures/configs/phpcs-config.yaml
2024-12-01 13:57:55 +00:00

44 lines
1.1 KiB
YAML

id: phpcs-config
info:
name: PHP_CodeSniffer Configuration Exposure - Detect
author: DhiyaneshDK
severity: info
description: |
PHP_CodeSniffer configuration file was detected.
reference:
- https://github.com/squizlabs/PHP_CodeSniffer
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:N
cvss-score: 0
cwe-id: CWE-200
metadata:
verified: true
max-request: 1
shodan-query: html:"phpcs.xml"
tags: devops,exposure,php,phpcs
http:
- method: GET
path:
- "{{BaseURL}}/phpcs.xml"
matchers-condition: and
matchers:
- type: word
part: body
words:
- 'ruleset name'
- 'rule ref='
- '<file>'
condition: and
- type: word
part: header
words:
- "application/xml"
- type: status
status:
- 200
# digest: 4b0a004830460221009c0ed80784a81fdb227c5875747e11985d6f3debc1941f0d6db781b51700fa8e022100c71bef343ba31bc30a5bafbeac09e67497fd3a7f33e52b11000d8626ffff7b92:922c64590222798bb761d5b6d8e72950