CVE-2008-0386 Command injection in n/a

Medium 6.8 Published Updated

Attackers can execute arbitrary commands via shell metacharacters in URLs passed to xdg-open or xdg-email, requiring user interaction.

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
Available

What is CVE-2008-0386?

CVE-2008-0386 is a medium-severity command injection vulnerability in n/a, published on 4 Feb 2008. 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

Xdg-utils 1.0.2 and earlier allows user-assisted remote attackers to execute arbitrary commands via shell metacharacters in a URL argument to (1) xdg-open or (2) xdg-email.

Weakness: CWE-20

Which versions are affected by CVE-2008-0386?

It affects 1 product.

Products include Gentoo Xdg-Utils.

How do I fix CVE-2008-0386?

Upgrade to a fixed version.

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

Is CVE-2008-0386 being exploited?

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

Sources

Also known as GHSA-w4vh-2xrr-v7qg.

Is CVE-2008-0386 in your software?

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

Check your SBOMs for free