CVE-2017-18266
published 2018-05-10CVE-2017-18266: The open_envvar function in xdg-open in xdg-utils before 1.1.3 does not validate strings before launching the program specified by the BROWSER environment…
PriorityP341high8.8CVSS 3.0
AVNACLPRNUIRSUCHIHAH
EPSS
2.49%
83.0th percentile
The open_envvar function in xdg-open in xdg-utils before 1.1.3 does not validate strings before launching the program specified by the BROWSER environment variable, which might allow remote attackers to conduct argument-injection attacks via a crafted URL, as demonstrated by %s in this environment variable.
Affected
13 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| canonical | ubuntu_linux | — | — |
| canonical | ubuntu_linux | — | — |
| canonical | ubuntu_linux | — | — |
| canonical | ubuntu_linux | — | — |
| debian | debian_linux | — | — |
| debian | debian_linux | — | — |
| debian | debian_linux | — | — |
| debian | xdg-utils | < xdg-utils 1.1.3-1 (bookworm) | xdg-utils 1.1.3-1 (bookworm) |
| freedesktop | xdg-utils | < 1.1.3 | 1.1.3 |
| freedesktop | xdg-utils | >= 0 < 1.1.3-1 | 1.1.3-1 |
| freedesktop | xdg-utils | >= 0 < 1.1.3-1 | 1.1.3-1 |
| freedesktop | xdg-utils | >= 0 < 1.1.3-1 | 1.1.3-1 |
| freedesktop | xdg-utils | >= 0 < 1.1.3-1 | 1.1.3-1 |
CVSS provenance
nvdv3.08.8HIGHCVSS:3.0/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.
GHSA
GHSA-76r6-j2q8-m63q: The open_envvar function in xdg-open in xdg-utils before 1
ghsa_unreviewed·2022-05-14
CVE-2017-18266 [HIGH] CWE-74 GHSA-76r6-j2q8-m63q: The open_envvar function in xdg-open in xdg-utils before 1
The open_envvar function in xdg-open in xdg-utils before 1.1.3 does not validate strings before launching the program specified by the BROWSER environment variable, which might allow remote attackers to conduct argument-injection attacks via a crafted URL, as demonstrated by %s in this environment variable.
OSV
CVE-2017-18266: The open_envvar function in xdg-open in xdg-utils before 1
osv·2018-05-10·CVSS 8.8
CVE-2017-18266 [HIGH] CVE-2017-18266: The open_envvar function in xdg-open in xdg-utils before 1
The open_envvar function in xdg-open in xdg-utils before 1.1.3 does not validate strings before launching the program specified by the BROWSER environment variable, which might allow remote attackers to conduct argument-injection attacks via a crafted URL, as demonstrated by %s in this environment variable.
Ubuntu
xdg-utils vulnerability
vendor_ubuntu·2018-05-21
CVE-2017-18266 xdg-utils vulnerability
Title: xdg-utils vulnerability
Summary: xdg-utils could be made to run arbitrary code if it received a
specially crafted input.
It was discovered that xdg-utils incorrectly handled certain inputs.
An attacker could possibly use this to execute arbitrary code.
Instructions: In general, a standard system update will make all the necessary changes.
Red Hat
xdg-utils: Argument injection vulnerability in open_envvar() function
vendor_redhat·2017-11-18·CVSS 8.8
CVE-2017-18266 [HIGH] CWE-88 xdg-utils: Argument injection vulnerability in open_envvar() function
xdg-utils: Argument injection vulnerability in open_envvar() function
The open_envvar function in xdg-open in xdg-utils before 1.1.3 does not validate strings before launching the program specified by the BROWSER environment variable, which might allow remote attackers to conduct argument-injection attacks via a crafted URL, as demonstrated by %s in this environment variable.
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
Package: xdg-utils (Red Hat Enterprise Linux 8) - Not affected
Debian
CVE-2017-18266: xdg-utils - The open_envvar function in xdg-open in xdg-utils before 1.1.3 does not validate...
vendor_debian·2017·CVSS 8.8
CVE-2017-18266 [HIGH] CVE-2017-18266: xdg-utils - The open_envvar function in xdg-open in xdg-utils before 1.1.3 does not validate...
The open_envvar function in xdg-open in xdg-utils before 1.1.3 does not validate strings before launching the program specified by the BROWSER environment variable, which might allow remote attackers to conduct argument-injection attacks via a crafted URL, as demonstrated by %s in this environment variable.
Scope: local
bookworm: resolved (fixed in 1.1.3-1)
bullseye: resolved (fixed in 1.1.3-1)
forky: resolved (fixed in 1.1.3-1)
sid: resolved (fixed in 1.1.3-1)
trixie: resolved (fixed in 1.1.3-1)
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2017-18266 xdg-utils: Argument injection vulnerability in open_envvar() function [fedora-all]
bugzilla·2018-05-16·CVSS 8.8
CVE-2017-18266 [HIGH] CVE-2017-18266 xdg-utils: Argument injection vulnerability in open_envvar() function [fedora-all]
CVE-2017-18266 xdg-utils: Argument injection vulnerability in open_envvar() function [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-all.
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 affects multipl
Bugzilla
CVE-2017-18266 xdg-utils: Argument injection vulnerability in open_envvar() function
bugzilla·2018-05-16·CVSS 8.8
CVE-2017-18266 [HIGH] CVE-2017-18266 xdg-utils: Argument injection vulnerability in open_envvar() function
CVE-2017-18266 xdg-utils: Argument injection vulnerability in open_envvar() function
The open_envvar function in xdg-open in xdg-utils before 1.1.3 does not validate strings before launching the program specified by the BROWSER environment variable, which might allow remote attackers to conduct argument-injection attacks via a crafted URL, as demonstrated by %s in this environment variable.
Upstream fix:
https://cgit.freedesktop.org/xdg/xdg-utils/commit/?id=ce802d71c3466d1dbb24f2fe9b6db82a1f899bcb
Upstream bug report:
https://bugs.freedesktop.org/show_bug.cgi?id=103807
Discussion:
Created xdg-utils tracking bugs for this issue:
Affects: fedora-all [bug 1578768]
---
Statement:
This issue did not affect the versions of xdg-utils as shipped with Red Hat Enterprise Linux 6 and 7.
https://bugs.freedesktop.org/show_bug.cgi?id=103807https://cgit.freedesktop.org/xdg/xdg-utils/commit/?id=5647afb35e4bcba2060148e1a2a47bc43cc240f2https://cgit.freedesktop.org/xdg/xdg-utils/commit/?id=ce802d71c3466d1dbb24f2fe9b6db82a1f899bcbhttps://cgit.freedesktop.org/xdg/xdg-utils/tree/ChangeLoghttps://lists.debian.org/debian-lts-announce/2018/05/msg00014.htmlhttps://usn.ubuntu.com/3650-1/https://www.debian.org/security/2018/dsa-4211https://bugs.freedesktop.org/show_bug.cgi?id=103807https://cgit.freedesktop.org/xdg/xdg-utils/commit/?id=5647afb35e4bcba2060148e1a2a47bc43cc240f2https://cgit.freedesktop.org/xdg/xdg-utils/commit/?id=ce802d71c3466d1dbb24f2fe9b6db82a1f899bcbhttps://cgit.freedesktop.org/xdg/xdg-utils/tree/ChangeLoghttps://lists.debian.org/debian-lts-announce/2018/05/msg00014.htmlhttps://usn.ubuntu.com/3650-1/https://www.debian.org/security/2018/dsa-4211
2018-05-10
Published