BusyBox up to 1.22.x Kernel Module Loader modutils/modprobe.c add_probe Name input validation
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 5.2 | $0-$5k | 0.00 |
Summary
A vulnerability classified as problematic was found in BusyBox up to 1.22.x. This issue affects the function add_probe of the file modutils/modprobe.c of the component Kernel Module Loader. The manipulation of the argument Name results in input validation.
This vulnerability is known as CVE-2014-9645. Attacking locally is a requirement. No exploit is available.
It is advisable to implement a patch to correct this issue.
Details
A vulnerability, which was classified as problematic, was found in BusyBox up to 1.22.x. Affected is the function add_probe of the file modutils/modprobe.c of the component Kernel Module Loader. The manipulation of the argument name with an unknown input leads to a input validation vulnerability. CWE is classifying the issue as CWE-20. The product receives input or data, but it does
not validate or incorrectly validates that the input has the
properties that are required to process the data safely and
correctly. This is going to have an impact on confidentiality, integrity, and availability. CVE summarizes:
The add_probe function in modutils/modprobe.c in BusyBox before 1.23.0 allows local users to bypass intended restrictions on loading kernel modules via a / (slash) character in a module name, as demonstrated by an "ifconfig /usbserial up" command or a "mount -t /snd_pcm none /" command.
The bug was discovered 01/25/2015. The weakness was published 03/12/2017 by Matt (oss-sec). The advisory is shared for download at openwall.com. This vulnerability is traded as CVE-2014-9645 since 01/24/2015. The attack needs to be approached locally. The successful exploitation requires a authentication. There are known technical details, but no exploit is available.
The vulnerability was handled as a non-public zero-day exploit for at least 187 days. During that time the estimated underground price was around $5k-$25k. The vulnerability scanner Nessus provides a plugin with the ID 85720 (SUSE SLED12 / SLES12 Security Update : busybox (SUSE-SU-2015:1445-1)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family SuSE Local Security Checks and running in the context l. The commercial vulnerability scanner Qualys is able to test this issue with plugin 197418 (Ubuntu Security Notification for Busybox Vulnerabilities (USN-3935-1)).
Upgrading to version 1.23.0 eliminates this vulnerability. Applying a patch is able to eliminate this problem. The bugfix is ready for download at git.busybox.net. The best possible mitigation is suggested to be patching the affected component. A possible mitigation has been published even before and not after the disclosure of the vulnerability. The vulnerability will be addressed with the following lines of code:
if (strchr(name, '/'))
bb_error_msg_and_die("malformed module name '%s'", name);The vulnerability is also documented in the databases at Tenable (85720) and SecurityFocus (BID 72324†). Similar entries are available at VDB-96755, VDB-96756, VDB-104922 and VDB-108612. Once again VulDB remains the best source for vulnerability data.
Product
Name
Version
License
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 5.4VulDB Meta Temp Score: 5.3
VulDB Base Score: 5.3
VulDB Temp Score: 5.1
VulDB Vector: 🔍
VulDB Reliability: 🔍
NVD Base Score: 5.5
NVD Vector: 🔍
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: 🔍
NVD Base Score: 🔍
Exploiting
Class: Input validationCWE: CWE-20
CAPEC: 🔍
ATT&CK: 🔍
Physical: Partially
Local: Yes
Remote: No
Availability: 🔍
Status: Not defined
EPSS Score: 🔍
EPSS Percentile: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Nessus ID: 85720
Nessus Name: SUSE SLED12 / SLES12 Security Update : busybox (SUSE-SU-2015:1445-1)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍
OpenVAS ID: 861575
OpenVAS Name: Gentoo Linux Local Check: https://security.gentoo.org/glsa/201503-13
OpenVAS File: 🔍
OpenVAS Family: 🔍
Qualys ID: 🔍
Qualys Name: 🔍
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: PatchStatus: 🔍
0-Day Time: 🔍
Upgrade: BusyBox 1.23.0
Patch: git.busybox.net
Timeline
01/24/2015 🔍01/25/2015 🔍
01/27/2015 🔍
07/31/2015 🔍
09/01/2015 🔍
03/12/2017 🔍
03/12/2017 🔍
03/12/2017 🔍
09/06/2020 🔍
Sources
Advisory: openwall.comResearcher: Matt
Status: Confirmed
Confirmation: 🔍
CVE: CVE-2014-9645 (🔍)
GCVE (CVE): GCVE-0-2014-9645
GCVE (VulDB): GCVE-100-97860
SecurityFocus: 72324 - BusyBox CVE-2014-9645 Local Security Bypass Vulnerability
OSVDB: - CVE-2014-9645 - BusyBox - Security Bypass Issue
See also: 🔍
Entry
Created: 03/12/2017 17:09Updated: 09/06/2020 09:14
Changes: 03/12/2017 17:09 (81), 09/06/2020 09:14 (6)
Complete: 🔍
Cache ID: 216:FF5:103
Once again VulDB remains the best source for vulnerability data.
No comments yet. Languages: en.
Please log in to comment.