Every CVE Search/ Get API key

CVE-2015-5602

sudoedit in Sudo before 1.8.15 allows local users to gain privileges via a symlink attack on a...

7.2 HighPublic exploitFix available

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."

Exploit likelihood

1.52%Down 2.3 points since Feb 4, 2022
90%50%10%1%

What each source reports

NVD Score used 7.2

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."

Record
CVE-2015-5602
CVSS 2.0
7.2 HighAV:L/AC:L/Au:N/C:C/I:C/A:C
Weakness
CWE-264
Updated
2026-11-02
CVE List No score

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."

Record
CVE-2015-5602
Updated
2026-11-02
EUVDEUVD-2015-5556 No score

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."

Record
EUVD-2015-5556
Updated
2026-11-03
GitHub AdvisoriesGHSA-cxqf-2pgv-vx9p No score

sudoedit in Sudo before 1.8.15 allows local users to gain privileges via a symlink attack on a...

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."

Record
GHSA-cxqf-2pgv-vx9p
Updated
2026-11-02
OSV No score

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."

Record
CVE-2015-5602
Updated
2026-11-02
OSVDEBIAN-CVE-2015-5602 No score

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."

Record
DEBIAN-CVE-2015-5602
Updated
2026-11-02
OSVMGASA-2015-0443 No score

Updated sudo packages fix security vulnerability

An unauthorized privilege escalation was found in sudoedit in sudo before 1.8.15 when a user is granted with root access to modify a particular file that could be located in a subset of directories. 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), which results in unauthorized access (CVE-2015-5602).

The sudo package has been updated to version 1.8.15, which fixes this issue, and also includes many other bug fixes and changes. See the upstream change log for details.

Record
MGASA-2015-0443
Updated
2026-11-02
OSVUBUNTU-CVE-2015-5602 No score

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."

Record
UBUNTU-CVE-2015-5602
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
sudo
Debian:12
before 1.8.15-1.1
1.8.15-1.1
sudo
Debian:13
before 1.8.15-1.1
1.8.15-1.1
sudo
Debian:14
before 1.8.15-1.1
1.8.15-1.1
sudo
Debian:6.0
before 1.7.4p4-2.squeeze.6, plus listed versions
1.7.4p4-2.squeeze.11.7.4p4-2.squeeze.21.7.4p4-2.squeeze.31.7.4p4-2.squeeze.41.7.4p4-2.squeeze.5
1.7.4p4-2.squeeze.6
sudo
Debian:7
before 1.8.5p2-1+nmu3+deb7u1, plus listed versions
1.8.5p2-1+nmu11.8.5p2-1+nmu21.8.5p2-1+nmu3
1.8.5p2-1+nmu3+deb7u1
sudo
Debian:8
before 1.8.10p3-1+deb8u3, plus listed versions
1.8.10p3-1+deb8u2
1.8.10p3-1+deb8u3
sudo
Mageia:5
before 1.8.15-1.mga5
1.8.15-1.mga5
sudo
Ubuntu:Pro:14.04:LTS
All versions, plus listed versions
1.8.6p3-0ubuntu31.8.8-2ubuntu11.8.8-2ubuntu21.8.9p4-1ubuntu11.8.9p4-1ubuntu2
Show 12 moreShow less
1.8.9p5-1ubuntu11.8.9p5-1ubuntu1.11.8.9p5-1ubuntu1.21.8.9p5-1ubuntu1.31.8.9p5-1ubuntu1.41.8.9p5-1ubuntu1.5+esm11.8.9p5-1ubuntu1.5+esm21.8.9p5-1ubuntu1.5+esm31.8.9p5-1ubuntu1.5+esm51.8.9p5-1ubuntu1.5+esm61.8.9p5-1ubuntu1.5+esm71.8.9p5-1ubuntu1.5+esm8
None known

Public exploits

Links only. Every CVE stores no exploit code.

Public exploits
SourceLinkDate
Exploit-DBSudo 1.8.14 (RHEL 5/6/7 / Ubuntu) - 'Sudoedit' Unauthorized Privilege Escalation2015-07-28
PoC in GitHubcved-sources/cve-2015-56022019-01-06
PoC in GitHubt0kx/privesc-CVE-2015-56022017-12-16

History

History
RecordedChangedSources
aliasesEUVD
first indexedCVE List, Exploit-DB, GitHub Advisories, NVD, OSV, PoC in GitHub

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2015-5602 is a high vulnerability (CVSS 7.2) in Sudo Project Sudo, published November 10, 2015. Public exploit code exists. EPSS puts the chance of exploitation in the next 30 days at 1.52%, the 74th percentile. Fixed in sudo 1.8.15-1.1.

References

Show 10 moreShow less
MoveEnter Open