CVE-2015-7529 SoSReport Predictable Tmp File Names
Local attackers can exploit symlink attacks in temporary directories to read sensitive data or escalate privileges using the sosreport utility.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2015-7529?
CVE-2015-7529 is a high-severity path traversal vulnerability in Canonical Ubuntu Linux, published on 6 Nov 2017. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
sosreport in SoS 3.x allows local users to obtain sensitive information from sosreport files or gain privileges via a symlink attack on an archive file in a temporary directory, as demonstrated by sosreport-$hostname-$date.tar in /tmp/sosreport-$hostname-$date.
Weakness: CWE-59
Which versions are affected by CVE-2015-7529?
3 open source packages ship an affected version, including sosreport. It affects 8 products.
| Package | Affected | Fixed in |
|---|---|---|
sosreport PyPI | From 3.0 | None |
sosreport PyPI | From 3.0 | 3.3 |
sosreport PyPI | From 3.0 | 3.3 |
Linux distribution packages (8)
sos Red Hat:enterprise_linux:6::client | All versions | 0:3.2-28.el6_7.2 |
sos Red Hat:enterprise_linux:6::computenode | All versions | 0:3.2-28.el6_7.2 |
sos Red Hat:enterprise_linux:6::server | All versions | 0:3.2-28.el6_7.2 |
sos Red Hat:enterprise_linux:6::workstation | All versions | 0:3.2-28.el6_7.2 |
sos Red Hat:enterprise_linux:7::client | All versions | 0:3.2-35.el7_2.3 |
sos Red Hat:enterprise_linux:7::computenode | All versions | 0:3.2-35.el7_2.3 |
sos Red Hat:enterprise_linux:7::server | All versions | 0:3.2-35.el7_2.3 |
sos Red Hat:enterprise_linux:7::workstation | All versions | 0:3.2-35.el7_2.3 |
Products include Canonical Ubuntu Linux, Redhat Enterprise Linux Desktop, Redhat Enterprise Linux Server, Redhat Enterprise Linux Server Aus, Redhat Enterprise Linux Server Eus, Redhat Enterprise Linux Server Tus and 2 more.
How do I fix CVE-2015-7529?
Upgrade sosreport to 3.3 or later.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2015-7529 being exploited?
There is no known exploitation of CVE-2015-7529 in the wild and no public exploit code.
Other vulnerabilities in Canonical Ubuntu Linux
Sources
Also known as DEBIAN-CVE-2015-7529, GHSA-3g56-2hh3-35ph, PYSEC-2017-73, RHSA-2016:0152, RHSA-2016:0188, UBUNTU-CVE-2015-7529.