module
Local Privilege Escalation in polkits pkexec
Disclosed | Created |
---|---|
2022-01-25 | 2022-03-03 |
Disclosed
2022-01-25
Created
2022-03-03
Description
A bug exists in the polkit pkexec binary in how it processes arguments. If
the binary is provided with no arguments, it will continue to process environment
variables as argument variables, but without any security checking.
By using the execve call we can specify a null argument list and populate the
proper environment variables. This exploit is architecture independent.
the binary is provided with no arguments, it will continue to process environment
variables as argument variables, but without any security checking.
By using the execve call we can specify a null argument list and populate the
proper environment variables. This exploit is architecture independent.
Authors
Qualys Security
Andris Raugulis
Dhiraj Mishra
bwatters-r7
Andris Raugulis
Dhiraj Mishra
bwatters-r7
Platform
Linux
References
Module Options
To display the available options, load the module within the Metasploit console and run the commands ‘show options’ or ‘show advanced’:

NEW
Explore Exposure Command
Confidently identify and prioritize exposures from endpoint to cloud with full attack surface visibility and threat-aware risk context.