SecurityContext

CVE-2007-4596: PHP - Remote Code Execution

  • Cve: CVE-2007-4596
  • Name: PHP - Remote Code Execution
  • Description: The perl extension in PHP does not follow safe_mode restrictions, which allows context-dependent attackers to execute arbitrary code via the Perl eval function. NOTE: this might only be a vulnerability in limited environments.
  • Impact: Attackers can execute arbitrary code on the server, potentially leading to full system compromise.
  • Remediation: Disable or update the perl extension in PHP to ensure safe_mode restrictions are enforced.
  • Vulnerability type: command_injection
  • Vulnerability impact: remote_code_execution
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 7.5
  • Cvss vector: CVSS:2.0/AV:N/AC:L/Au:N/C:P/I:P/A:P
  • Epss score: 0.08248
  • Epss percentile: 0.95037
  • Assignee: [email protected]
  • Published at: 2007-08-30T18:17:00Z
  • Age in days: 7026
  • Modified at: 2026-06-16T22:44:24Z
  • Public exploits total: 1
  • References total: 1
  • Products total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2007-4596
  • Nvd status: modified
  • Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits capped, oss, projects total, projects, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-94Improper Control of Generation of Code

Public exploits

UrlSourceAdded date
https://www.exploit-db.com/exploits/4314nvd2007-08-30

References

UrlSourceTags
https://www.exploit-db.com/exploits/4314nvdExploit, Third Party Advisory, VDB Entry

Products

ProductAffectedPlatform boundSourcesUrl
php:phpall versionsnonvd/v1/products/php/php

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Exploitation seen: yes
  • Public exploit: yes
  • Public exploit count: 1
  • Public exploit first date: 2007-08-30
  • Remote: yes
  • Exposed hosts: 6175026
  • Checked, none or zero: known exploited, known exploited by, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports