CVE-2007-4596 Code injection in n/a

High 7.5 Published Updated

Attackers can execute arbitrary code via the Perl eval function in PHP's Perl extension, bypassing safe_mode restrictions.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2007-4596?

CVE-2007-4596 is a high-severity code injection vulnerability in Php Php, published on 30 Aug 2007. Any signed-in user can exploit it over the network, with no action from the victim.

Official 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.

Weakness: CWE-94

Which versions are affected by CVE-2007-4596?

It affects 1 product.

Products include Php Php.

How do I fix CVE-2007-4596?

Apply the vendor's patch.

Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.

Is CVE-2007-4596 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2007-4596 exists.

Public exploit code: 1 Exploit-DB entry.

All Php Php vulnerabilities

Sources

Also known as GHSA-85qm-c7q8-mxvh, MINI-f98m-88ph-wvp9, MINI-j4wp-63vj-vqvv, MINI-pq56-p6j7-mm8p, MINI-vpff-gwxg-w5qm.

Is CVE-2007-4596 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free