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.
References
Link | Resource |
---|---|
https://cgit.freedesktop.org/xdg/xdg-utils/tree/ChangeLog | Release Notes |
https://cgit.freedesktop.org/xdg/xdg-utils/commit/?id=ce802d71c3466d1dbb24f2fe9b6db82a1f899bcb | Patch |
https://cgit.freedesktop.org/xdg/xdg-utils/commit/?id=5647afb35e4bcba2060148e1a2a47bc43cc240f2 | Release Notes |
https://bugs.freedesktop.org/show_bug.cgi?id=103807 | Issue Tracking Patch |
https://usn.ubuntu.com/3650-1/ | Third Party Advisory |
https://lists.debian.org/debian-lts-announce/2018/05/msg00014.html | Third Party Advisory |
https://www.debian.org/security/2018/dsa-4211 | Third Party Advisory |
Configurations
Configuration 1 (hide)
|
Configuration 2 (hide)
|
Configuration 3 (hide)
|
Information
Published : 2018-05-10 07:29
Updated : 2018-06-14 06:33
NVD link : CVE-2017-18266
Mitre link : CVE-2017-18266
JSON object : View
CWE
CWE-74
Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')
Products Affected
debian
- debian_linux
canonical
- ubuntu_linux
freedesktop
- xdg-utils