CVE Vulnerabilities

CVE-2017-18266

Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')

Published: May 10, 2018 | Modified: Jun 14, 2018
CVSS 3.x
8.8
HIGH
Source:
NVD
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
CVSS 2.x
6.8 MEDIUM
AV:N/AC:M/Au:N/C:P/I:P/A:P
RedHat/V2
RedHat/V3
4.4 LOW
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N
Ubuntu
MEDIUM

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.

Weakness

The product constructs all or part of a command, data structure, or record using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify how it is parsed or interpreted when it is sent to a downstream component.

Affected Software

Name Vendor Start Version End Version
Xdg-utils Freedesktop * 1.1.3 (excluding)
Xdg-utils Ubuntu artful *
Xdg-utils Ubuntu bionic *
Xdg-utils Ubuntu devel *
Xdg-utils Ubuntu trusty *
Xdg-utils Ubuntu xenial *

Potential Mitigations

References