the ultimate security vulnerability data source
(e.g.: CVE-2009-1234 or 2010-1234 or 20101234)
Log In   Register
Vulnerability Feeds & WidgetsNew  

Vulnerability Details : CVE-2008-1391

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.
Publish Date : 2008-03-27 Last Update Date : 2018-10-11
Search Twitter   Search YouTube   Search Google

- CVSS Scores & Vulnerability Types

CVSS Score
Confidentiality Impact Partial (There is considerable informational disclosure.)
Integrity Impact Partial (Modification of some system files or information is possible, but the attacker does not have control over what can be modified, or the scope of what the attacker can affect is limited.)
Availability Impact Partial (There is reduced performance or interruptions in resource availability.)
Access Complexity Low (Specialized access conditions or extenuating circumstances do not exist. Very little knowledge or skill is required to exploit. )
Authentication Not required (Authentication is not required to exploit the vulnerability.)
Gained Access None
Vulnerability Type(s) Execute CodeOverflow
CWE ID 189

- Vendor Statements

Red Hat does not consider this to be a security issue. Properly written application should not use arbitrary untrusted data as part of the format string passed to functions as strfmon or printf family functions.
Source: Redhat

- Related OVAL Definitions

Title Definition Id Class Family
CVE-2008-1391 unix
DSA-2058-1 glibc, eglibc -- multiple oval:org.mitre.oval:def:13533 unix
OVAL (Open Vulnerability and Assessment Language) definitions define exactly what should be done to verify a vulnerability or a missing patch. Check out the OVAL definitions if you want to learn what you should do to verify a vulnerability.

- Products Affected By CVE-2008-1391

# Product Type Vendor Product Version Update Edition Language
1 OS Freebsd Freebsd 6.0 Stable * * Version Details Vulnerabilities
2 OS Freebsd Freebsd 6.0 P5 Release * * * Version Details Vulnerabilities
3 OS Freebsd Freebsd 6.0 * * * Version Details Vulnerabilities
4 OS Freebsd Freebsd 6.0 Release * * Version Details Vulnerabilities
5 OS Freebsd Freebsd 7.0 Releng * * * Version Details Vulnerabilities
6 OS Freebsd Freebsd 7.0 * * * Version Details Vulnerabilities
7 OS Freebsd Freebsd 7.0 Pre-release * * Version Details Vulnerabilities
8 OS Freebsd Freebsd 7.0 Beta4 * * * Version Details Vulnerabilities
9 OS Netbsd Netbsd 4.0 * * * Version Details Vulnerabilities

- Number Of Affected Versions By Product

Vendor Product Vulnerable Versions
Freebsd Freebsd 8
Netbsd Netbsd 1

- References For CVE-2008-1391
VUPEN ADV-2008-3444
CERT TA08-350A
SECTRACK 1019722
BID 28479 Multiple BSD Platforms 'strfmon()' Function Integer Overflow Weakness Release Date:2010-10-28
APPLE APPLE-SA-2008-12-15
SREASONRES 20080325 *BSD libc (strfmon) Multiple vulnerabilities CONFIRM
SUSE SUSE-SA:2010:052
XF bsd-strfmon-overflow(41504)
BUGTRAQ 20080327 [securityreason] *BSD libc (strfmon) Multiple vulnerabilities

- Metasploit Modules Related To CVE-2008-1391

There are not any metasploit modules related to this CVE entry (Please visit for more information)

CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site. OVAL is a registered trademark of The MITRE Corporation and the authoritative source of OVAL content is MITRE's OVAL web site.
Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.