needrestart up to 3.7 Environment Variable RUBYLIB uncontrolled search path
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 7.4 | $0-$5k | 0.00 |
Summary
A vulnerability has been found in needrestart up to 3.7 and classified as critical. Affected is an unknown function of the component Environment Variable Handler. This manipulation of the argument RUBYLIB causes Local Privilege Escalation. This vulnerability is registered as CVE-2024-48992. The attack needs to be launched locally. Furthermore, an exploit is available. The affected component should be upgraded.
Details
A vulnerability has been found in needrestart up to 3.7 (Operating System Utility Software) and classified as critical. Affected by this vulnerability is an unknown part of the component Environment Variable Handler. The manipulation of the argument RUBYLIB with an unknown input leads to a local privilege escalation vulnerability. The CWE definition for the vulnerability is CWE-427. The product uses a fixed or controlled search path to find resources, but one or more locations in that path can be under the control of unintended actors. As an impact it is known to affect confidentiality, integrity, and availability. The summary by CVE is:
Qualys discovered that needrestart, before version 3.8, allows local attackers to execute arbitrary code as root by tricking needrestart into running the Ruby interpreter with an attacker-controlled RUBYLIB environment variable.
This vulnerability is known as CVE-2024-48992 since 10/11/2024. The exploitation appears to be easy. Attacking locally is a requirement. Technical details and also a public exploit are known. The attack technique deployed by this issue is T1574 according to MITRE ATT&CK.
It is possible to download the exploit at packetstormsecurity.com. It is declared as proof-of-concept. The vulnerability scanner Nessus provides a plugin with the ID 211606 (Debian dla-3957 : needrestart - security update), which helps to determine the existence of the flaw in a target environment.
Upgrading to version 3.8 eliminates this vulnerability.
The vulnerability is also documented in the vulnerability database at Tenable (211606). Be aware that VulDB is the high quality source for vulnerability data.
Product
Type
Name
Version
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 7.8VulDB Meta Temp Score: 7.4
VulDB Base Score: 7.8
VulDB Temp Score: 7.0
VulDB Vector: 🔍
VulDB Reliability: 🔍
CNA Base Score: 7.8
CNA Vector (canonical): 🔍
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍
Exploiting
Class: Uncontrolled search pathCWE: CWE-427 / CWE-426
CAPEC: 🔍
ATT&CK: 🔍
Physical: Partially
Local: Yes
Remote: No
Availability: 🔍
Access: Public
Status: Proof-of-Concept
Download: 🔍
EPSS Score: 🔍
EPSS Percentile: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Nessus ID: 211606
Nessus Name: Debian dla-3957 : needrestart - security update
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
0-Day Time: 🔍
Upgrade: needrestart 3.8
Timeline
10/11/2024 🔍11/19/2024 🔍
11/19/2024 🔍
12/03/2024 🔍
Sources
Status: ConfirmedCVE: CVE-2024-48992 (🔍)
GCVE (CVE): GCVE-0-2024-48992
GCVE (VulDB): GCVE-100-285295
scip Labs: https://www.scip.ch/en/?labs.20161013
Entry
Created: 11/19/2024 19:12Updated: 12/03/2024 16:00
Changes: 11/19/2024 19:12 (62), 11/20/2024 01:37 (2), 11/22/2024 10:32 (1), 11/22/2024 18:04 (10), 12/03/2024 16:00 (3)
Complete: 🔍
Cache ID: 216::103
Be aware that VulDB is the high quality source for vulnerability data.
No comments yet. Languages: en.
Please log in to comment.