CVE-2007-4040 Command injection in n/a

High 8.8 Published Updated

Remote attackers can execute arbitrary commands via shell metacharacters in URIs handled by Microsoft Outlook and Outlook Express.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2007-4040?

CVE-2007-4040 is a high-severity command injection vulnerability in Microsoft Outlook, published on 27 Jul 2007. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

Argument injection vulnerability involving Microsoft Outlook and Outlook Express, when certain URIs are registered, allows remote attackers to conduct cross-browser scripting attacks and execute arbitrary commands via shell metacharacters in an unspecified URI, which are inserted into the command line when invoking the handling process, a similar issue to CVE-2007-3670.

Weakness: CWE-79

Which versions are affected by CVE-2007-4040?

It affects 2 products.

Products include Microsoft Outlook, Microsoft Outlook Express.

How do I fix CVE-2007-4040?

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

Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.

Is CVE-2007-4040 being exploited?

There is no known exploitation of CVE-2007-4040 in the wild and no public exploit code.

All Microsoft Outlook vulnerabilities

Sources

Also known as GHSA-2mgm-7frw-wmjm.

Is CVE-2007-4040 in your software?

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

Check your SBOMs for free