Files
nuclei-templates/http/misconfiguration/php/php-composer-binary.yaml
2024-01-02 21:02:35 +05:30

34 lines
772 B
YAML

id: php-composer-binary
info:
name: PHP Composer Binary - Exposure
author: mayank_pandey01
severity: info
description: |
This Nuclei template checks if the specified endpoints have publically accessible PHP Composer Binary.
remediation: |
Restrict access to the PHP Composer binary by implementing proper access controls and permissions.
metadata:
max-request: 1
verified: true
shodan-query: title:"контроллер"
tags: php,composer,exposure
http:
- method: GET
path:
- "{{BaseURL}}/composer"
matchers-condition: and
matchers:
- type: word
part: body
words:
- "/usr/bin/env php"
- "<?php"
condition: and
- type: status
status:
- 200