CVE-2021-4034 in polkit project polkit
LogPulse has a published detection rule for this CVE: it raises a notable when someone tries to exploit it.
What the vulnerability is
A local privilege escalation vulnerability was found on polkit's pkexec utility. The pkexec application is a setuid tool designed to allow unprivileged users to run commands as privileged users according predefined policies. The current version of pkexec doesn't handle the calling parameters count correctly and ends trying to execute environment variables as commands. An attacker can leverage this by crafting environment variables in such a way it'll induce pkexec to execute arbitrary code. When successfully executed the attack can cause a local privilege escalation given unprivileged users administrative rights on the target machine.
Affected software: polkit project polkit, redhat enterprise linux server update services for sap solutions, redhat enterprise linux, redhat enterprise linux desktop, redhat enterprise linux eus, redhat enterprise linux for ibm z systems, redhat enterprise linux for ibm z systems eus, redhat enterprise linux for power big endian, redhat enterprise linux for power little endian, redhat enterprise linux for power little endian eus
Scores
- CVSS: 7.8 (high)
- EPSS: 94.92% chance of exploitation in the next 30 days
- CISA KEV: Known exploited, listed 2022-06-27, used in ransomware
- Published: 2022-01-28
What LogPulse has for it
- Detection rule: Yes, published
- Agent check (vulnerable version): No
- Mitigation: No
Source data: NIST NVD, CISA KEV and FIRST EPSS. LogPulse processes new CVEs every hour.
We build every detection with great care, but no two environments are the same. Log sources, parsing and configuration differ, so test a detection in your own environment before you rely on it.