mirror of
https://github.com/projectdiscovery/nuclei-templates.git
synced 2026-02-06 10:43:18 +08:00
34 lines
772 B
YAML
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
|