Qualys: Needrestart Zero-Day Vulnerability Allows Root Access with PYTHONPATH Manipulation
CVE-2024-48990

7.8HIGH

Key Information:

Vendor
Needrestart
Status
Needrestart
Vendor
CVE Published:
19 November 2024

Badges

👾 Exploit Exists🟡 Public PoC

Summary

A vulnerability has been identified in Needrestart, the tool developed by Qualys, which prior to version 3.8, can be exploited by local attackers. This flaw allows attackers to execute arbitrary code with root privileges by manipulating the PYTHONPATH environment variable when Needrestart runs the Python interpreter. By taking advantage of this vulnerability, attackers can potentially execute malicious code due to insufficient validation of user-controlled environment variables.

Affected Version(s)

needrestart Linux 0 < 3.8

Exploit Proof of Concept (PoC)

PoC code is written by security researchers to demonstrate the vulnerability can be exploited. PoC code is also a key component for weaponization which could lead to ransomware.

References

CVSS V3.1

Score:
7.8
Severity:
HIGH
Confidentiality:
High
Integrity:
High
Availability:
High
Attack Vector:
Local
Attack Complexity:
Low
Privileges Required:
Low
User Interaction:
None
Scope:
Unchanged

Timeline

  • 🟡

    Public PoC available

  • 👾

    Exploit known to exist

  • Vulnerability published

Credit

Qualys
Thomas Liske
Mark Esler
.