Create psalm-config.yaml

patch-1
Dhiyaneshwaran 2023-10-10 13:24:26 +05:30 committed by GitHub
parent 16e7d5b066
commit 221d36e2c3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 42 additions and 0 deletions

View File

@ -0,0 +1,42 @@
id: psalm-config
info:
name: Psalm Configuration Exposure - Detect
author: DhiyaneshDK
severity: low
description: |
Psalm configuration page was detected.
reference:
- https://psalm.dev/docs/running_psalm/configuration/
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.0
cwe-id: CWE-200
metadata:
max-request: 1
verified: true
shodan-query: html:"psalm.xml"
tags: devops,exposure,php,psalm,config
http:
- method: GET
path:
- "{{BaseURL}}/psalm.xml"
matchers-condition: and
matchers:
- type: word
part: body
words:
- '<psalm'
- 'projectFiles'
condition: and
- type: word
part: header
words:
- "application/xml"
- type: status
status:
- 200