Local Privilege Escalation Vulnerability "PwnKit" Affecting Virtually All Linux systems


Last night, Qualys made public a local privilege escalation vulnerability that affects the vast majority of Linux systems. In simple terms, a LPE allows a user to get root AKA administrative privileges on the system even if they should not be able to do so.

The Qualys blog post that disclosed the vulnerabilities:

Per Red Hat:

"The primary risk for customers is the possibility of an unprivileged user gaining administrative privileges on the affected systems. The attacker must have login access to the target system to carry out the attack."

The security advisories from Qualys, Red Hat, Ubuntu, and Debian:

Per the Qualys security advisory, if your OS doesn't have a patch to remediate, you can temporarily do so by removing the SUID bit from the pkexec program via this command:

# chmod 0755 /usr/bin/pkexec

This is serious if you run Linux systems that have multiple users on them. If you routinely grant your users sudo access it's less serious, but should be remediated as a best practice.

And don't forget to routinely patch your systems!

#linux #cybersecurity #pwnkit

To view or add a comment, sign in

More articles by David Markowitz

Insights from the community

Others also viewed

Explore topics