Bug 1578767 - (CVE-2017-18266) CVE-2017-18266 xdg-utils: Argument injection vulnerability in open_envvar() function
CVE-2017-18266 xdg-utils: Argument injection vulnerability in open_envvar() f...
Status: NEW
Product: Security Response
Classification: Other
Component: vulnerability (Show other bugs)
unspecified
All Linux
low Severity low
: ---
: ---
Assigned To: Red Hat Product Security
impact=low,public=20171118,reported=2...
: Security
Depends On: 1578769 1578768
Blocks: 1578771
  Show dependency treegraph
 
Reported: 2018-05-16 07:37 EDT by Adam Mariš
Modified: 2018-05-25 09:07 EDT (History)
2 users (show)

See Also:
Fixed In Version: xdg-utils 1.1.3
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed:
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Adam Mariš 2018-05-16 07:37:09 EDT
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
Comment 1 Adam Mariš 2018-05-16 07:37:29 EDT
Created xdg-utils tracking bugs for this issue:

Affects: fedora-all [bug 1578768]
Comment 3 Adam Mariš 2018-05-25 09:07:04 EDT
Statement:

This issue did not affect the versions of xdg-utils as shipped with Red Hat Enterprise Linux 6 and 7.

Note You need to log in before you can comment on or make changes to this bug.