CVE-2015-3171
published 2017-07-25CVE-2015-3171: sosreport 3.2 uses weak permissions for generated sosreport archives, which allows local users with access to /var/tmp/ to obtain sensitive information by…
PriorityP421medium5.5CVSS 3.1
AVLACLPRLUINSUCHINAN
EPSS
0.34%
26.7th percentile
sosreport 3.2 uses weak permissions for generated sosreport archives, which allows local users with access to /var/tmp/ to obtain sensitive information by reading the contents of the archive.
Affected
2 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | sosreport | < sosreport 3.2-2 (bookworm) | sosreport 3.2-2 (bookworm) |
| sos_project | sos | — | — |
CVSS provenance
nvdv3.15.5MEDIUMCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
nvdv2.02.1LOWAV:L/AC:L/Au:N/C:P/I:N/A:N
osv5.5MEDIUM
vendor_debian5.5MEDIUM
vendor_redhat5.5MEDIUM
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.
OSV
sosreport sensitive information disclosure via weak permissions of the generated archives
osv·2022-05-13
CVE-2015-3171 [MEDIUM] sosreport sensitive information disclosure via weak permissions of the generated archives
sosreport sensitive information disclosure via weak permissions of the generated archives
sosreport 3.2 uses weak permissions for generated sosreport archives, which allows local users with access to `/var/tmp/` to obtain sensitive information by reading the contents of the archive.
GHSA
sosreport sensitive information disclosure via weak permissions of the generated archives
ghsa·2022-05-13
CVE-2015-3171 [MEDIUM] CWE-200 sosreport sensitive information disclosure via weak permissions of the generated archives
sosreport sensitive information disclosure via weak permissions of the generated archives
sosreport 3.2 uses weak permissions for generated sosreport archives, which allows local users with access to `/var/tmp/` to obtain sensitive information by reading the contents of the archive.
OSV
CVE-2015-3171: sosreport 3
osv·2017-07-25·CVSS 5.5
CVE-2015-3171 [MEDIUM] CVE-2015-3171: sosreport 3
sosreport 3.2 uses weak permissions for generated sosreport archives, which allows local users with access to /var/tmp/ to obtain sensitive information by reading the contents of the archive.
Red Hat
sosreport: temporary file created with world-readable permissions
vendor_redhat·2015-05-05·CVSS 5.5
CVE-2015-3171 [MEDIUM] CWE-732 sosreport: temporary file created with world-readable permissions
sosreport: temporary file created with world-readable permissions
sosreport 3.2 uses weak permissions for generated sosreport archives, which allows local users with access to /var/tmp/ to obtain sensitive information by reading the contents of the archive.
Statement: Not vulnerable. This issue does not affect the version of sos package as shipped with Red Hat Enterprise Linux 5, 6 and 7.
Package: sos (Red Hat Enterprise Linux 5) - Not affected
Package: sos (Red Hat Enterprise Linux 6) - Not affected
Package: sos (Red Hat Enterprise Linux 7) - Not affected
Debian
CVE-2015-3171: sosreport - sosreport 3.2 uses weak permissions for generated sosreport archives, which allo...
vendor_debian·2015·CVSS 5.5
CVE-2015-3171 [MEDIUM] CVE-2015-3171: sosreport - sosreport 3.2 uses weak permissions for generated sosreport archives, which allo...
sosreport 3.2 uses weak permissions for generated sosreport archives, which allows local users with access to /var/tmp/ to obtain sensitive information by reading the contents of the archive.
Scope: local
bookworm: resolved (fixed in 3.2-2)
bullseye: resolved (fixed in 3.2-2)
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2015-3171 sosreport: temporary file created with world-readable permissions
bugzilla·2015-05-05·CVSS 5.5
CVE-2015-3171 [MEDIUM] CVE-2015-3171 sosreport: temporary file created with world-readable permissions
CVE-2015-3171 sosreport: temporary file created with world-readable permissions
It was reported that sosreport creates output files with world-readable permissions:
-rw-r--r--. 1 root root 7331624 May 4 08:55
sosreport-localhost.localdomain-20150504084328.tar.xz
-rw-r--r--. 1 root root 33 May 4 08:55
sosreport-localhost.localdomain-20150504084328.tar.xz.md5
The archive may consists of files originally only accessible by the root user. However, after extracting the archive, all of the files are readable by regular users with access to /var/tmp/.
Acknowledgements:
Red Hat would like to thank Grant Murphy for reporting this issue.
Discussion:
Created sos tracking bugs for this issue:
Affects: fedora-all [bug 1218659]
---
Version & release numbers?
---
Does not affect F20 or earlie
Bugzilla
CVE-2015-3171 sos: sosreport: temporary file created with world-readable permissions [fedora-all]
bugzilla·2015-05-05·CVSS 5.5
CVE-2015-3171 [MEDIUM] CVE-2015-3171 sos: sosreport: temporary file created with world-readable permissions [fedora-all]
CVE-2015-3171 sos: sosreport: temporary file created with world-readable permissions [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.
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 multiple su
2017-07-25
Published