CVE-2015-1877 Command injection in n/a

High 8.8 Published Updated

Remote attackers can execute arbitrary commands via crafted files due to improper variable handling in xdg-open on Debian systems using dash.

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-2015-1877?

CVE-2015-1877 is a high-severity command injection vulnerability in Debian Debian Linux, published on 2 Jun 2021. 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

The open_generic_xdg_mime function in xdg-open in xdg-utils 1.1.0 rc1 in Debian, when using dash, does not properly handle local variables, which allows remote attackers to execute arbitrary commands via a crafted file.

Weakness: CWE-77

Which versions are affected by CVE-2015-1877?

It affects 2 products.

Products include Debian Debian Linux, Freedesktop Xdg-Utils.

How do I fix CVE-2015-1877?

Apply the vendor's patch.

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

Is CVE-2015-1877 being exploited?

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

All Debian Debian Linux vulnerabilities

Sources

Also known as DEBIAN-CVE-2015-1877, DSA-3165-1, GHSA-2mj7-mx8w-ppw2.

Is CVE-2015-1877 in your software?

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

Check your SBOMs for free