Polkit Flaw Allows Unprivileged to Obtain Root Access in Linux

  • By David Lukic
  • Published: Jan 26, 2022
  • Last Updated: Mar 18, 2022

The failure to address a digital security vulnerability in the Linux operating systems is causing significant problems.  This system weakness is more than a decade old.  Linux operating systems have a Polkit system utility vulnerability that allows unauthorized individuals to gain root access to the system.
 

What are the Technical Details of the Flaw?

The Polkit system utility flaw allows digital miscreants to obtain root privileges to computers operating with Linux systems.  This development is tempered by the fact that a proof-of-concept exploit has surfaced on the web to counter the vulnerability.  The digital security specialists at Qualys refer to the exploit as PwnKit.  PwnKit extends from a write that is considered “out of bounds,” enabling the reimplementation of environment variables within the pkexec, creating significant insecurities.

The vulnerability compromises a Polkit component referred to as pkexec.  Pkexec is a program added by default to all Linux distributions including CentOS, Fedora, Debian, and Ubunti.  Polkit, previously known as PolicyKit, serves as a toolkit to control privileges across the entirety of the operating system, providing an avenue for processes that are non-privileged to interact with those that are privileged.

It is interesting to note that the Polkit flaw is the second such flaw within Polkit identified in the past two years.  Rewind to the summer of 2021 and GitHub identified a vulnerability within a 7-year-old privilege escalation that has the potential to be abused so permissions can escalate to the root user.  

It is also interesting to note the news about the Polkit flaw was released soon after that of the digital security weakness pertaining to the CVE-2022-0185 Linux kernel.  This kernel can be exploited by a digital miscreant who accesses the system in the form of an unprivileged user with the end goal of escalating rights to obtain system control.
 

Why is the Vulnerability Such a Problem?

According to Bharat Jogi, a digital security expert with Qualys, the Polkit flaw is an issue as it empowers unprivileged users to obtain comprehensive privileges within vulnerable hosts through exploitation within the default configuration.  Jogi states the exploit has been hiding for more than a decade, impacting every version of pkexec since its inception in the spring of 2009.  However, the flaw wasn’t formally reported to Linux vendors until mid-November of 2021.  

The Polkit vulnerability centers on a memory corruption case.  The flaw has since been identified with the following string of letters and numbers: CVE-2021-4034.  Though the vulnerability cannot be remotely exploited, a digital criminal who has established a presence on a target system through another pathway can use the flaw to control the computer through root privileges.

This digital security issue is even more threatening when you factor in the emergence of what cyber security specialists refer to as “PoCs in the wild.”  Cyber security specialists describe PoCs in the wild as universal, meaning it is essential that the appropriate digital security patches are implemented as soon as possible. 
 

What is the Best Line of Defense?

Both Ubuntu and Red Hat issued patches in response to the Polkit flaw to help prevent account takeovers.  The hope is that these patches will prevent nefarious parties from using pkexec to execute commands while posing as an authorized user.  Everyone who has a computer with an operating system should be aware that if a username is not specified, there is the potential for unauthorized commands to be executed by digital criminals as though they stem from the administrative super user.
 

About the Author
IDStrong Logo

Related Articles

Instagram Vulnerability Allowed Hackers Access to Control Your Phone

Security experts Check Point Research discovered a critical vulnerability while examining Instagra ... Read More

Alien Malware Infects More than 226 Mobile Apps and Steals Bank Data

As reported on September 24, 2020, by ZDNet and ThreatPost, a new strain of malware named “A ... Read More

Universal Health Systems Hit by Ransomware Attack

Universal Health Systems (UHS), a Fortune 500 company owning more than 400 hospitals across the co ... Read More

Exchange Server Bug Exposes a Big Risk to Hackers

Months after Microsoft released a patch to fix a serious flaw in MS Exchange Server, more than 61% ... Read More

Clients’ Bank Data Exposed in Blackbaud Ransomware Attack

Blackbaud software was victim to a ransomware attack last May, and new information suggests that c ... Read More

Latest Articles

Cybersecurity Threats: What You Need to Know About Piggybacking

Cybersecurity Threats: What You Need to Know About Piggybacking

In cybersecurity, piggybacking refers to an unauthorized person gaining access to a restricted area or system by exploiting the access privileges of an authorized user, typically by following them or leveraging their credentials, usually without their knowledge or consent.

What You Need to Know about the Coast Guard Data Breach

What You Need to Know about the Coast Guard Data Breach

The Coast Guard is the only branch of the United States military in the Department of Homeland Security. It enforces federal law, controls the nation's borders and maritime Approaches, and protects the United States ports and waterways.

Mars Hydro Security Flaw Puts IoT Users at Risk

Mars Hydro Security Flaw Puts IoT Users at Risk

Mars Hydro is a leading Chinese brand producing a wide range of Internet of Things (IoT) devices for indoor gardening and the hydroponics industry.

What You Need to Know about the Community Health Center Data Breach

What You Need to Know about the Community Health Center Data Breach

Community Health Center (CHC) is a non-profit founded in 1972 and headquartered in Middletown, Connecticut. It offers a broad range of services, including dentistry, primary care, urgent care, specialty medical services, and behavioral health.

What You Need to Know about the DeepSeek Data Breach

What You Need to Know about the DeepSeek Data Breach

DeepSeek, founded by Liang Wenfeng, is an AI development firm located in Hangzhou, China. The company focuses on developing open source Large Language Models (LLMs) and specializes in data analytics and machine learning.

What is vendor fraud and how to protect your business from vendor fraud

What is vendor fraud and how to protect your business from vendor fraud

Vendor fraud is a type of financial abuse that occurs when fraudsters pose as legitimate businesses to trick companies and individuals into paying for services they'll never receive.

Featured Articles

How to Buy a House with Bad Credit

How to Buy a House with Bad Credit

Buying your own home is the American Dream, but it might seem out of reach to those with bad credit. However, the good news is, if your credit is less than perfect, you do still have options and in most cases, can still buy a home.

How Secure Is Your Password? Tips to Improve Your Password Security

How Secure Is Your Password? Tips to Improve Your Password Security

Any good IT article on computers and network security will address the importance of strong, secure passwords. However, the challenge of good passwords is that most people have a hard time remembering them, so they use simple or obvious ones that pose a security risk.

Top 10 Senior Scams and How to Prevent Them

Top 10 Senior Scams and How to Prevent Them

Senior scams are becoming a major epidemic for two reasons. First, seniors often have a lot of money in the bank from a life of working hard and saving.

Notice

By proceeding with this scan, you agree to let IDStrong run a Free Scan of supplied parameters of your personal information and provide free preliminary findings in compliance with our Terms of Use and Privacy Notice. You consent to us using your provided information to complete the Free Scan and compare it against our records and breach databases or sources to provide your Free preliminary findings report.

Rest assured: IDStrong will not share your information with third parties or store your information beyond what is required to perform your scan and share your results.

Free Identity Threat Scan
Instantly Check if Your Personal Information is Exposed
All fields below are required
Please enter first name
Please enter last name
Please enter a city
Please select a state
Please enter an age
Please enter an email address
Close