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
|
2024-01-14 13:49:27 +00:00
|
|
|
max-request: 1
|
2024-06-07 10:04:29 +00:00
|
|
|
tags: php,composer,exposure,misconfig
|
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
|
2024-12-01 13:57:55 +00:00
|
|
|
# digest: 4a0a00473045022100e1749c03e8858b283bb5298041e9ee4ae64529dabd69f6dc52bedd1de171f34c022016727e4c5248a087aab8ade44869bd93da353a63114dfc9a7400f92e0a49945a:922c64590222798bb761d5b6d8e72950
|