CVE-2007-1382 Code injection in n/a

Medium 6.8 Published Updated

Attackers can execute arbitrary code on Windows PHP servers by abusing the COM extension to bypass 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
None listed

What is CVE-2007-1382?

CVE-2007-1382 is a medium-severity code injection vulnerability in n/a, published on 10 Mar 2007. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

The PHP COM extensions for PHP on Windows systems allow context-dependent attackers to execute arbitrary code via a WScript.Shell COM object, as demonstrated by using the Run method of this object to execute cmd.exe, which bypasses PHP's safe mode.

Which versions are affected by CVE-2007-1382?

It affects 1 product.

Products include Php Com Extensions.

How do I fix CVE-2007-1382?

No fix has been published for CVE-2007-1382 yet. Limit exposure of the affected software until one is available.

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

Is CVE-2007-1382 being exploited?

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

Public exploit code: 1 Exploit-DB entry.

Sources

Also known as GHSA-8qq4-w26p-2r2m.

Is CVE-2007-1382 in your software?

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

Check your SBOMs for free