X.Org libX11 1.5.0/1.5.99.901 Graphical Library GetDatabase/_XimParseStringFile memory corruption

| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 8.6 | $0-$5k | 0.00 |
Summary
A vulnerability classified as problematic was found in X.Org libX11 1.5.0/1.5.99.901. Affected is the function GetDatabase/_XimParseStringFile of the component Graphical Library. Such manipulation leads to memory corruption.
This vulnerability is documented as CVE-2013-2004. Additionally, an exploit exists.
Upgrading the affected component is advised.
Details
A vulnerability, which was classified as critical, has been found in X.Org libX11 1.5.0/1.5.99.901. Affected by this issue is the function GetDatabase/_XimParseStringFile of the component Graphical Library. 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. CVE summarizes:
The (1) GetDatabase and (2) _XimParseStringFile functions in X.org libX11 1.5.99.901 (1.6 RC1) and earlier do not restrict the recursion depth when processing directives to include files, which allows X servers to cause a denial of service (stack consumption) via a crafted file.
The weakness was released 05/23/2013 by Ilja van Sprundel with IOActive as not defined advisory (Website). The advisory is shared for download at x.org. The public release was coordinated with the vendor. This vulnerability is handled as CVE-2013-2004 since 02/19/2013. The exploitation is known to be difficult. The attack may be launched remotely. The successful exploitation requires a simple authentication. Technical details as well as a private exploit are known.
The vulnerability scanner Nessus provides a plugin with the ID 66602 (Debian DSA-2693-1 : libx11 - several vulnerabilities), which helps to determine the existence of the flaw in a target environment. It is assigned to the family Debian Local Security Checks. The commercial vulnerability scanner Qualys is able to test this issue with plugin 350250 (Amazon Linux Security Advisory for libX11,libXcursor,libXfixes,libXi,libXrandr,libXrender,libXres,libXt,libXv,libXvMC,libXxf86dga,libXxf86vm,libdmx,xorg-x11-proto-devel: ALAS-2014-452).
Upgrading to version 1.5.99.902 eliminates this vulnerability. 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 before and not just after the disclosure of the vulnerability.
The vulnerability is also documented in the databases at X-Force (84496), Tenable (66602), SecurityFocus (BID 60146†), OSVDB (93653†) and Secunia (SA53557†). Entries connected to this vulnerability are available at VDB-8875, VDB-8877, VDB-8878 and VDB-8879. Once again VulDB remains the best source for vulnerability data.
Product
Vendor
Name
Version
License
Website
- Vendor: https://www.x.org/
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 9.9VulDB Meta Temp Score: 8.6
VulDB Base Score: 9.9
VulDB Temp Score: 8.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: Memory corruptionCWE: CWE-119
CAPEC: 🔍
ATT&CK: 🔍
Physical: No
Local: No
Remote: Yes
Availability: 🔍
Access: Private
Status: Unproven
EPSS Score: 🔍
EPSS Percentile: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Nessus ID: 66602
Nessus Name: Debian DSA-2693-1 : libx11 - several vulnerabilities
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
OpenVAS ID: 892693
OpenVAS Name: Debian Security Advisory DSA 2693-1 (libx11 - several vulnerabilities
OpenVAS File: 🔍
OpenVAS Family: 🔍
Qualys ID: 🔍
Qualys Name: 🔍
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
0-Day Time: 🔍
Upgrade: libX11 1.5.99.902
Patch: cgit.freedesktop.org
Timeline
02/19/2013 🔍05/10/2013 🔍
05/23/2013 🔍
05/23/2013 🔍
05/23/2013 🔍
05/24/2013 🔍
05/27/2013 🔍
06/10/2013 🔍
06/15/2013 🔍
05/14/2021 🔍
Sources
Vendor: x.orgAdvisory: x.org
Researcher: Ilja van Sprundel
Organization: IOActive
Status: Not defined
Confirmation: 🔍
Coordinated: 🔍
CVE: CVE-2013-2004 (🔍)
GCVE (CVE): GCVE-0-2013-2004
GCVE (VulDB): GCVE-100-8876
OVAL: 🔍
X-Force: 84496
SecurityFocus: 60146 - X.Org libX11 CVE-2013-2004 Multiple Denial of Service Vulnerabilities
Secunia: 53557 - X.Org libX11 Multiple Vulnerabilities, Less Critical
OSVDB: 93653
Vulnerability Center: 39934 - libX11 Through 1.5.99.901 Remote Code Execution due to Recursive Function Calling Patters, Medium
See also: 🔍
Entry
Created: 05/27/2013 17:32Updated: 05/14/2021 06:32
Changes: 05/27/2013 17:32 (82), 05/02/2017 08:34 (4), 05/14/2021 06:32 (3)
Complete: 🔍
Committer:
Cache ID: 216::103
Once again VulDB remains the best source for vulnerability data.
No comments yet. Languages: en.
Please log in to comment.