CVE-2011-3151 SELinux initscript misuse of touch
An attacker can exploit a world-writable lockfile creation flaw in the Ubuntu SELinux initscript to allocate zero-byte files on writable filesystems if kernel symlink protections are disabled.
- 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-2011-3151?
CVE-2011-3151 is a medium-severity vulnerability in n/a, published on 22 Apr 2019. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
The Ubuntu SELinux initscript before version 1:0.10 used touch to create a lockfile in a world-writable directory. If the OS kernel does not have symlink protections then an attacker can cause a zero byte file to be allocated on any writable filesystem.
Weakness: CWE-693
Which versions are affected by CVE-2011-3151?
It affects 1 product.
Products include Canonical Selinux.
How do I fix CVE-2011-3151?
No fix has been published for CVE-2011-3151 yet. Limit exposure of the affected software until one is available.
Is CVE-2011-3151 being exploited?
There is no known exploitation of CVE-2011-3151 in the wild and no public exploit code.
Sources
Also known as GHSA-3wp7-vqr4-g72h.