CVE-2015-1877
published 2021-06-02CVE-2015-1877: 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…
PriorityP351high8.8CVSS 3.1
AVNACLPRNUIRSUCHIHAH
EPSS
3.21%
86.9th percentile
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.
Affected
8 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | debian_linux | — | — |
| debian | debian_linux | — | — |
| debian | xdg-utils | < xdg-utils 1.1.0~rc1+git20111210-7.4 (bookworm) | xdg-utils 1.1.0~rc1+git20111210-7.4 (bookworm) |
| freedesktop | xdg-utils | — | — |
| freedesktop | xdg-utils | >= 0 < 1.1.0~rc1+git20111210-7.4 | 1.1.0~rc1+git20111210-7.4 |
| freedesktop | xdg-utils | >= 0 < 1.1.0~rc1+git20111210-7.4 | 1.1.0~rc1+git20111210-7.4 |
| freedesktop | xdg-utils | >= 0 < 1.1.0~rc1+git20111210-7.4 | 1.1.0~rc1+git20111210-7.4 |
| freedesktop | xdg-utils | >= 0 < 1.1.0~rc1+git20111210-7.4 | 1.1.0~rc1+git20111210-7.4 |
CVSS provenance
nvdv3.18.8HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
nvdv2.06.8MEDIUMAV:N/AC:M/Au:N/C:P/I:P/A:P
osv8.8HIGH
vendor_debian8.8HIGH
vendor_redhat8.8HIGH
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
Red Hat
xdg-utils: command injection vulnerability due to local variables collision in xdg-open
vendor_redhat·2015-02-11·CVSS 8.8
CVE-2015-1877 [HIGH] xdg-utils: command injection vulnerability due to local variables collision in xdg-open
xdg-utils: command injection vulnerability due to local variables collision in xdg-open
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.
Statement: This issue did not affect the versions of xdg-utils as shipped with Red Hat Enterprise Linux 6 and 7.
Package: xdg-utils (Red Hat Enterprise Linux 6) - Not affected
Package: xdg-utils (Red Hat Enterprise Linux 7) - Not affected
Debian
CVE-2015-1877: xdg-utils - The open_generic_xdg_mime function in xdg-open in xdg-utils 1.1.0 rc1 in Debian,...
vendor_debian·2015·CVSS 8.8
CVE-2015-1877 [HIGH] CVE-2015-1877: xdg-utils - The open_generic_xdg_mime function in xdg-open in xdg-utils 1.1.0 rc1 in Debian,...
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.
Scope: local
bookworm: resolved (fixed in 1.1.0~rc1+git20111210-7.4)
bullseye: resolved (fixed in 1.1.0~rc1+git20111210-7.4)
forky: resolved (fixed in 1.1.0~rc1+git20111210-7.4)
sid: resolved (fixed in 1.1.0~rc1+git20111210-7.4)
trixie: resolved (fixed in 1.1.0~rc1+git20111210-7.4)
GHSA
GHSA-2mj7-mx8w-ppw2: The open_generic_xdg_mime function in xdg-open in xdg-utils 1
ghsa_unreviewed·2022-05-24
CVE-2015-1877 [HIGH] CWE-77 GHSA-2mj7-mx8w-ppw2: The open_generic_xdg_mime function in xdg-open in xdg-utils 1
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.
OSV
CVE-2015-1877: The open_generic_xdg_mime function in xdg-open in xdg-utils 1
osv·2021-06-02·CVSS 8.8
CVE-2015-1877 [HIGH] CVE-2015-1877: The open_generic_xdg_mime function in xdg-open in xdg-utils 1
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.
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2015-1877 xdg-utils: command injection vulnerability due to local variables collision in xdg-open [fedora-all]
bugzilla·2015-02-19·CVSS 8.8
CVE-2015-1877 [HIGH] CVE-2015-1877 xdg-utils: command injection vulnerability due to local variables collision in xdg-open [fedora-all]
CVE-2015-1877 xdg-utils: command injection vulnerability due to local variables collision in xdg-open [fedora-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of Fedora.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
NOTE: this issue af
Bugzilla
CVE-2015-1877 xdg-utils: command injection vulnerability due to local variables collision in xdg-open
bugzilla·2015-02-19·CVSS 8.8
CVE-2015-1877 [HIGH] CVE-2015-1877 xdg-utils: command injection vulnerability due to local variables collision in xdg-open
CVE-2015-1877 xdg-utils: command injection vulnerability due to local variables collision in xdg-open
Command injection was reported [1] in xdg-utils running with dash.
Suggested patch:
https://bugs.debian.org/cgi-bin/bugreport.cgi?msg=5;filename=xdg-open.diff;att=1;bug=777722
Upstream bug report:
https://bugs.freedesktop.org/show_bug.cgi?id=89129
This issue only affects systems with "dash" shell set as default system shell.
[1]: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=777722
Discussion:
Created xdg-utils tracking bugs for this issue:
Affects: fedora-all [bug 1194209]
---
Analysis:
xdg-open is used to open a file or URL in users preferred application. During the process of finding the correct app to run, it recursively searches Desktop file in function search_desktop_fil
http://www.debian.org/security/2015/dsa-3165http://www.openwall.com/lists/oss-security/2015/02/18/7http://www.openwall.com/lists/oss-security/2015/02/18/9http://www.securityfocus.com/bid/72675https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=777722https://bugs.freedesktop.org/show_bug.cgi?id=89129http://www.debian.org/security/2015/dsa-3165http://www.openwall.com/lists/oss-security/2015/02/18/7http://www.openwall.com/lists/oss-security/2015/02/18/9http://www.securityfocus.com/bid/72675https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=777722https://bugs.freedesktop.org/show_bug.cgi?id=89129
2021-06-02
Published