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

| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 6.4 | $0-$5k | 0.00 |
Summary
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.
Details
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.
Product
Vendor
Name
Version
- 1.1.0
- 1.2.0
- 1.2.1
- 1.2.2
- 1.2.3
- 1.2.4
- 1.2.5
- 1.2.6
- 1.2.7
- 1.2.8
- 1.2.9
- 1.3.0
- 1.3.1
- 1.3.2
- 1.3.3
- 1.3.4
- 1.4.0
- 1.4.1
- 1.4.2
- 1.4.3
- 1.4.4
- 1.4.5
- 1.4.6
License
Website
- Vendor: https://www.x.org/
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 7.3VulDB Meta Temp Score: 6.4
VulDB Base Score: 7.3
VulDB Temp Score: 6.4
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: Memory corruptionCWE: CWE-119
CAPEC: 🔍
ATT&CK: 🔍
Physical: No
Local: No
Remote: Yes
Availability: 🔍
Status: Unproven
EPSS Score: 🔍
EPSS Percentile: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
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 Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
Reaction Time: 🔍
0-Day Time: 🔍
Exposure Time: 🔍
Upgrade: libXfont 1.4.7
Patch: cgit.freedesktop.org
Timeline
11/04/2013 🔍12/24/2013 🔍
01/07/2014 🔍
01/08/2014 🔍
01/09/2014 🔍
01/10/2014 🔍
01/12/2014 🔍
02/11/2014 🔍
05/01/2019 🔍
Sources
Vendor: x.orgAdvisory: 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: 🔍
Entry
Created: 02/11/2014 09:11Updated: 05/01/2019 00:09
Changes: 02/11/2014 09:11 (89), 05/01/2019 00:09 (2)
Complete: 🔍
Cache ID: 216:58E:103
No comments yet. Languages: en.
Please log in to comment.