CVE-2012-0943 Path traversal in n/a
Local attackers can delete arbitrary files by exploiting a space in filenames within /tmp, affecting LightDM guest sessions.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2012-0943?
CVE-2012-0943 is a low-severity path traversal vulnerability in Canonical Ubuntu Linux, published on 22 May 2014. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
debian/guest-account in Light Display Manager (lightdm) 1.0.x before 1.0.6 and 1.1.x before 1.1.7, as used in Ubuntu Linux 11.10, allows local users to delete arbitrary files via a space in the name of a file in /tmp. NOTE: this identifier was SPLIT per ADT1/ADT2 due to different codebases and affected versions. CVE-2012-6648 has been assigned for the gdm-guest-session issue.
Weakness: CWE-264
Which versions are affected by CVE-2012-0943?
It affects 2 products.
Products include Canonical Ubuntu Linux, Robert Ancell Lightdm.
How do I fix CVE-2012-0943?
No fix has been published for CVE-2012-0943 yet. Limit exposure of the affected software until one is available.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2012-0943 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2012-0943 exists.
Public exploit code: 1 Exploit-DB entry.
Other vulnerabilities in Canonical Ubuntu Linux
Sources
Also known as GHSA-337g-q3wh-m8q8.