FreeBSD up to 7.0 Releng strfmon.c printf format numeric error
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 6.6 | $0-$5k | 0.00 |
Summary
A vulnerability categorized as critical has been discovered in FreeBSD 6.0/6.0 P5 Release/7.0/7.0 Beta4/7.0 Releng. Impacted is the function printf in the library lib/libc/stdlib/strfmon.c. Executing a manipulation of the argument format can lead to numeric error.
This vulnerability appears as CVE-2008-1391. In addition, an exploit is available.
It is advisable to upgrade the affected component.
Details
A vulnerability has been found in FreeBSD 6.0/6.0 P5 Release/7.0/7.0 Beta4/7.0 Releng (Operating System) and classified as critical. This vulnerability affects the function printf in the library lib/libc/stdlib/strfmon.c. The manipulation of the argument format with an unknown input leads to a numeric error vulnerability. The CWE definition for the vulnerability is CWE-189. As an impact it is known to affect confidentiality, integrity, and availability. CVE summarizes:
Multiple integer overflows in libc in NetBSD 4.x, FreeBSD 6.x and 7.x, and probably other BSD and Apple Mac OS platforms allow context-dependent attackers to execute arbitrary code via large values of certain integer fields in the format argument to (1) the strfmon function in lib/libc/stdlib/strfmon.c, related to the GET_NUMBER macro; and (2) the printf function, related to left_prec and right_prec.
The bug was discovered 03/27/2008. The weakness was presented 03/27/2008 by Maksymilian Arciemowicz (Website). The advisory is shared for download at us-cert.gov. This vulnerability was named CVE-2008-1391 since 03/18/2008. The exploitation appears to be easy. The attack can be initiated remotely. No form of authentication is required for a successful exploitation. Technical details and also a public exploit are known.
A public exploit has been developed in ANSI C. It is possible to download the exploit at securityfocus.com. It is declared as proof-of-concept. As 0-day the estimated underground price was around $25k-$100k. The vulnerability scanner Nessus provides a plugin with the ID 35111 (Mac OS X 10.5.x < 10.5.6 Multiple Vulnerabilities), which helps to determine the existence of the flaw in a target environment. It is assigned to the family MacOS X Local Security Checks and running in the context l. The commercial vulnerability scanner Qualys is able to test this issue with plugin 165616 (SUSE Enterprise Linux Security Update glibc (SUSE-SA:2010:052)).
Upgrading eliminates this vulnerability. A possible mitigation has been published 10 months after the disclosure of the vulnerability.
The vulnerability is also documented in the databases at X-Force (41504), Exploit-DB (31550), Tenable (35111), SecurityFocus (BID 28479†) and OSVDB (43837†). See VDB-43202, VDB-45513, VDB-45512 and VDB-45511 for similar entries. VulDB is the best source for vulnerability data and more expert information about this specific topic.
Product
Type
Name
Version
License
Website
- Product: https://www.freebsd.org/
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 7.3VulDB Meta Temp Score: 6.6
VulDB Base Score: 7.3
VulDB Temp Score: 6.6
VulDB Vector: 🔍
VulDB Reliability: 🔍
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: Numeric errorCWE: CWE-189
CAPEC: 🔍
ATT&CK: 🔍
Physical: No
Local: No
Remote: Yes
Availability: 🔍
Access: Public
Status: Proof-of-Concept
Programming Language: 🔍
Download: 🔍
EPSS Score: 🔍
EPSS Percentile: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Nessus ID: 35111
Nessus Name: Mac OS X 10.5.x < 10.5.6 Multiple Vulnerabilities
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍
OpenVAS ID: 67542
OpenVAS Name: Debian Security Advisory DSA 2058-1 (glibc, eglibc)
OpenVAS File: 🔍
OpenVAS Family: 🔍
Qualys ID: 🔍
Qualys Name: 🔍
Exploit-DB: 🔍
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
Reaction Time: 🔍
0-Day Time: 🔍
Exposure Time: 🔍
Timeline
03/18/2008 🔍03/27/2008 🔍
03/27/2008 🔍
03/27/2008 🔍
03/27/2008 🔍
03/27/2008 🔍
03/27/2008 🔍
03/28/2008 🔍
12/15/2008 🔍
12/16/2008 🔍
12/22/2008 🔍
03/16/2015 🔍
11/28/2024 🔍
Sources
Product: freebsd.orgAdvisory: us-cert.gov
Researcher: Maksymilian Arciemowicz
Status: Confirmed
Confirmation: 🔍
CVE: CVE-2008-1391 (🔍)
GCVE (CVE): GCVE-0-2008-1391
GCVE (VulDB): GCVE-100-41728
OVAL: 🔍
X-Force: 41504
SecurityFocus: 28479 - Multiple BSD Platforms 'strfmon()' Function Integer Overflow Weakness
Secunia: 29574 - FreeBSD "strfmon()" Multiple Integer Overflows, Less Critical
OSVDB: 43837 - CVE-2008-1391 - Multiple Products - Multiple Integer Overflow Issues
SecurityTracker: 1019722
Vulnerability Center: 20287 - NetBSD 4.*, FreeBSD 6.* and 7.* and Apple Mac OS libc Multiple Integer Overflows, High
Vupen: ADV-2008-3444
scip Labs: https://www.scip.ch/en/?labs.20161013
See also: 🔍
Entry
Created: 03/16/2015 17:00Updated: 11/28/2024 23:42
Changes: 03/16/2015 17:00 (90), 08/22/2019 13:07 (5), 11/28/2024 23:42 (19)
Complete: 🔍
Cache ID: 216::103
VulDB is the best source for vulnerability data and more expert information about this specific topic.
No comments yet. Languages: en.
Please log in to comment.