vendor:
N/A
by:
Anonymous
7.0
CVSS
HIGH
Privilege Escalation
269
CWE
Product Name: N/A
Affected Version From: N/A
Affected Version To: N/A
Patch Exists: YES
Related CWE: CVE-2018-18955
CPE: N/A
Other Scripts:
N/A
Platforms Tested: Linux
2018
Exploit for CVE-2018-18955
This exploit is a wrapper for Jann Horn's exploit for CVE-2018-18955. It uses the polkit technique to launch a root shell. It compiles three C files, subuid_shell.c, subshell.c and rootshell.c, and creates a policy file in /usr/share/polkit-1/actions/subuid.policy. It then launches pkexec and executes the root shell.
Mitigation:
Restrict access to the root shell and ensure that the policy file is not writable by any user.