Files
nuclei-templates/http/misconfiguration/php/php-composer-binary.yaml

33 lines
931 B
YAML
Raw Normal View History

2023-11-27 16:05:58 +05:30
id: php-composer-binary
info:
2024-01-02 21:02:35 +05:30
name: PHP Composer Binary - Exposure
2023-11-27 16:05:58 +05:30
author: mayank_pandey01
severity: info
description: |
2024-01-02 21:02:35 +05:30
This Nuclei template checks if the specified endpoints have publically accessible PHP Composer Binary.
2023-11-27 16:05:58 +05:30
remediation: |
Restrict access to the PHP Composer binary by implementing proper access controls and permissions.
metadata:
verified: true
max-request: 1
tags: php,composer,exposure,misconfig,vuln
2023-11-27 16:05:58 +05:30
http:
- method: GET
path:
- "{{BaseURL}}/composer"
matchers-condition: and
matchers:
- type: word
part: body
words:
- "/usr/bin/env php"
2024-01-02 21:02:35 +05:30
- "<?php"
condition: and
2023-11-27 16:05:58 +05:30
- type: status
status:
- 200
2025-10-26 16:17:34 +00:00
# digest: 490a004630440220647e760375f184738518478a51da36b84dddabef97263b28887afc29547f873b022073c5640b525c9cbe314850227c5a66f6e6dafd08bf3c6b13f0dbb66218204bcf:922c64590222798bb761d5b6d8e72950