Skip to content
OpenAdvisories
Unscored Public exploit CVE-2015-5602 EUVD-2015-5556GHSA-cxqf-2pgv-vx9p

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 multip…

Published Nov 17, 2015 · Updated Aug 6, 2024 · Assigned by mitre

Description

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

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 sudo 1.8.15-1.1 —
Debian 13 sudo 1.8.15-1.1 —
Debian 12 sudo 1.8.15-1.1 —
Debian 8 sudo 1.8.10p3-1+deb8u3 DSA-3440-1
Debian 7 sudo 1.8.5p2-1+nmu3+deb7u1 DSA-3440-1
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Debian 6.0 sudo 1.7.4p4-2.squeeze.6 DLA-382-1
ReleasePackageFixed inAdvisory
Ubuntu Pro 14.04 LTS sudo No fix yet —

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

Exploit-DB 1

GitHub 2 repositories

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Advisories 2

References