X.org libXfont up to 1.4.6 BDF Font File bitmap/bdfread.c bdfreadcharacters memory corruption

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.
6.4$0-$5k0.00

Summaryinfo

A vulnerability was found in X.org libXfont. It has been rated as critical. Impacted is the function bdfreadcharacters of the file bitmap/bdfread.c of the component BDF Font File Handler. The manipulation leads to memory corruption. This vulnerability is referenced as CVE-2013-6462. No exploit is available. Upgrading the affected component is advised.

Detailsinfo

A vulnerability, which was classified as critical, has been found in X.org libXfont. This issue affects the function bdfreadcharacters of the file bitmap/bdfread.c of the component BDF Font File Handler. The manipulation with an unknown input leads to a memory corruption vulnerability. Using CWE to declare the problem leads to CWE-119. The product performs operations on a memory buffer, but it can read from or write to a memory location that is outside of the intended boundary of the buffer. Impacted is confidentiality, integrity, and availability. The summary by CVE is:

Stack-based buffer overflow in the bdfReadCharacters function in bitmap/bdfread.c in X.Org libXfont 1.1 through 1.4.6 allows remote attackers to cause a denial of service (crash) or possibly execute arbitrary code via a long string in a character name in a BDF font file.

The weakness was published 01/07/2014 by Alan Coopersmith as confirmed mailinglist post (oss-sec). It is possible to read the advisory at seclists.org. The identification of this vulnerability is CVE-2013-6462 since 11/04/2013. The attack may be initiated remotely. No form of authentication is needed for a successful exploitation. Technical details of the vulnerability are known, but there is no available exploit. The advisory points out:

This bug appears to have been introduced in the initial RCS version 1.1 checked in on 1991/05/10, and is thus believed to be present in every X11 release starting with X11R5 up to the current libXfont 1.4.6. (Manual inspection shows it is present in the sources from the X11R5 tarballs, but not in those from the X11R4 tarballs.)

The vulnerability scanner Nessus provides a plugin with the ID 71901 (CentOS 5 / 6 : libXfont (CESA-2014:0018)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family CentOS Local Security Checks and running in the context l. The commercial vulnerability scanner Qualys is able to test this issue with plugin 167200 (SUSE Enterprise Linux Security Update for xorg-x11-libs (SUSE-SU-2014:0881-1)).

Upgrading to version 1.4.7 eliminates this vulnerability. The upgrade is hosted for download at cgit.freedesktop.org. Applying a patch is able to eliminate this problem. The bugfix is ready for download at cgit.freedesktop.org. The best possible mitigation is suggested to be upgrading to the latest version. A possible mitigation has been published 3 days after the disclosure of the vulnerability.

The vulnerability is also documented in the databases at X-Force (90123), Tenable (71901), SecurityFocus (BID 64694†), OSVDB (101842†) and Secunia (SA56240†). Similar entries are available at VDB-8885, VDB-8888, VDB-8892 and VDB-8897. If you want to get the best quality for vulnerability data then you always have to consider VulDB.

Productinfo

Vendor

Name

Version

License

Website

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 7.3
VulDB Meta Temp Score: 6.4

VulDB Base Score: 7.3
VulDB Temp Score: 6.4
VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock

VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍

NVD Base Score: 🔍

Exploitinginfo

Class: Memory corruption
CWE: CWE-119
CAPEC: 🔍
ATT&CK: 🔍

Physical: No
Local: No
Remote: Yes

Availability: 🔍
Status: Unproven

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 71901
Nessus Name: CentOS 5 / 6 : libXfont (CESA-2014:0018)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍
Nessus Port: 🔍

OpenVAS ID: 702838
OpenVAS Name: Debian Security Advisory DSA 2838-1 (libxfont - buffer overflow
OpenVAS File: 🔍
OpenVAS Family: 🔍

Qualys ID: 🔍
Qualys Name: 🔍

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

Reaction Time: 🔍
0-Day Time: 🔍
Exposure Time: 🔍

Upgrade: libXfont 1.4.7
Patch: cgit.freedesktop.org

Timelineinfo

11/04/2013 🔍
12/24/2013 +50 days 🔍
01/07/2014 +14 days 🔍
01/08/2014 +1 days 🔍
01/09/2014 +1 days 🔍
01/10/2014 +1 days 🔍
01/12/2014 +2 days 🔍
02/11/2014 +30 days 🔍
05/01/2019 +1904 days 🔍

Sourcesinfo

Vendor: x.org

Advisory: seclists.org
Researcher: Alan Coopersmith
Status: Confirmed
Confirmation: 🔍

CVE: CVE-2013-6462 (🔍)
GCVE (CVE): GCVE-0-2013-6462
GCVE (VulDB): GCVE-100-12215

OVAL: 🔍
IAVM: 🔍

X-Force: 90123 - X.Org libXfont BDF buffer overflow, Medium Risk
SecurityFocus: 64694 - X.Org libXfont BDF Font File Handling Stack Buffer Overflow Vulnerability
Secunia: 56240 - X.Org libXfont "bdfReadCharacters()" Buffer Overflow Vulnerability, Moderately Critical
OSVDB: 101842

See also: 🔍

Entryinfo

Created: 02/11/2014 09:11
Updated: 05/01/2019 00:09
Changes: 02/11/2014 09:11 (89), 05/01/2019 00:09 (2)
Complete: 🔍
Cache ID: 216:58E:103

Discussion

No comments yet. Languages: en.

Please log in to comment.

Are you interested in using VulDB?

Download the whitepaper to learn more about our service!