Enhancement: exposures/configs/composer-config.yaml by mp

patch-1
MostInterestingBotInTheWorld 2023-02-05 11:52:25 -05:00
parent ae3e27d0af
commit 765ea5fef5
1 changed files with 9 additions and 1 deletions

View File

@ -1,9 +1,15 @@
id: composer-config id: composer-config
info: info:
name: composer-config-file name: Composer - Config - Detect
author: Mahendra Purbia (Mah3Sec_) author: Mahendra Purbia (Mah3Sec_)
severity: info severity: info
description: Composer config file detected.
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
reference: https://getcomposer.org/
tags: config,exposure tags: config,exposure
requests: requests:
@ -24,3 +30,5 @@ requests:
name: composer.json name: composer.json
dsl: dsl:
- "contains(body, 'require') && contains(tolower(all_headers), 'application/json') && status_code == 200" - "contains(body, 'require') && contains(tolower(all_headers), 'application/json') && status_code == 200"
# Enhanced by mp on 2023/02/05