CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
---|---|---|
7.0 | $0-$5k | 0.00 |
A vulnerability was found in Todd Miller sudo 1.8.14 (Operating System Utility Software) and classified as critical. Affected by this issue is an unknown function of the file /etc/sudoers of the component sudoedit. The manipulation with an unknown input leads to a access control vulnerability. Using CWE to declare the problem leads to CWE-264. Impacted is confidentiality, integrity, and availability. CVE summarizes:
sudoedit in Sudo before 1.8.15 allows local users to gain privileges via a symlink attack on a file whose full path is defined using multiple wildcards in /etc/sudoers, as demonstrated by "/home/*/*/file.txt."
The weakness was shared 07/28/2015 by Daniel Svartman as confirmed exploit (Exploit-DB). The advisory is available at exploit-db.com. This vulnerability is handled as CVE-2015-5602 since 07/20/2015. The exploitation is known to be easy. Local access is required to approach this attack. The successful exploitation requires a simple authentication. Technical details as well as a public exploit are known. This vulnerability is assigned to T1068 by the MITRE ATT&CK project. The advisory points out:
It seems that sudoedit does not check the full path if a wildcard is used twice (e.g. /home/*/*/file.txt), allowing a malicious user to replace the file.txt real file with a symbolic link to a different location (e.g. /etc/shadow). I was able to perform such redirect and retrieve the data from the /etc/shadow file.
A public exploit has been developed by Daniel Svartman and been published immediately after the advisory. The exploit is available at exploit-db.com. It is declared as proof-of-concept. As 0-day the estimated underground price was around $5k-$25k. The vulnerability scanner Nessus provides a plugin with the ID 87826 (Debian DLA-382-1 : sudo security update), which helps to determine the existence of the flaw in a target environment. It is assigned to the family Debian Local Security Checks. The commercial vulnerability scanner Qualys is able to test this issue with plugin 124883 (Oracle Solaris 10 Multiple Vulnerabilities (Third Party Bulletin - April 2016)). The code used by the exploit is:
<user_to_grant_priv> ALL=(root) NOPASSWD: sudoedit /home/*/*/test.txt
Upgrading to version 1.8.15 eliminates this vulnerability.
The vulnerability is also documented in the databases at X-Force (105240), Exploit-DB (37710), Tenable (87826) and Vulnerability Center (SBV-54492†). The entries VDB-81143, VDB-82305, VDB-83259 and VDB-89776 are related to this item.
Product
Type
Vendor
Name
Version
License
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 7.8VulDB Meta Temp Score: 7.0
VulDB Base Score: 7.8
VulDB Temp Score: 7.0
VulDB Vector: 🔍
VulDB Reliability: 🔍
CVSSv2
AV | AC | Au | C | I | A |
---|---|---|---|---|---|
💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
---|---|---|---|---|---|
unlock | unlock | unlock | unlock | unlock | unlock |
unlock | unlock | unlock | unlock | unlock | unlock |
unlock | unlock | unlock | unlock | unlock | unlock |
VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍
NVD Base Score: 🔍
Exploiting
Class: Access controlCWE: CWE-264
CAPEC: 🔍
ATT&CK: 🔍
Local: Yes
Remote: No
Availability: 🔍
Access: Public
Status: Proof-of-Concept
Author: Daniel Svartman
Download: 🔍
EPSS Score: 🔍
EPSS Percentile: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
0-Day | unlock | unlock | unlock | unlock |
---|---|---|---|---|
Today | unlock | unlock | unlock | unlock |
Nessus ID: 87826
Nessus Name: Debian DLA-382-1 : sudo security update
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Qualys ID: 🔍
Qualys Name: 🔍
Exploit-DB: 🔍
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: no mitigation knownStatus: 🔍
0-Day Time: 🔍
Exploit Delay Time: 🔍
Upgrade: sudo 1.8.15
Timeline
07/20/2015 🔍07/28/2015 🔍
07/28/2015 🔍
08/03/2015 🔍
11/11/2015 🔍
11/17/2015 🔍
11/19/2015 🔍
11/27/2024 🔍
Sources
Advisory: FEDORA-2015-386863df8aResearcher: Daniel Svartman
Status: Confirmed
CVE: CVE-2015-5602 (🔍)
X-Force: 105240 - sudo sudoedit privilege escalation
SecurityTracker: 1034392
Vulnerability Center: 54492 - Sudo <1.8.15 Local Symlink Attack in Sudoedit, High
scip Labs: https://www.scip.ch/en/?labs.20161013
See also: 🔍
Entry
Created: 08/03/2015 01:22 PMUpdated: 11/27/2024 02:07 AM
Changes: 08/03/2015 01:22 PM (54), 06/16/2017 09:03 AM (18), 06/07/2022 09:50 AM (2), 06/07/2022 09:53 AM (7), 06/07/2022 09:54 AM (1), 11/27/2024 02:07 AM (14)
Complete: 🔍
Cache ID: 18:AD9:40
No comments yet. Languages: en.
Please log in to comment.