GNU C Library up to 2.27 on 32-bit stdlib/canonicalize.c realpath Long Path integer overflow

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.
8.4$0-$5k0.00

Summaryinfo

A vulnerability categorized as critical has been discovered in GNU C Library up to 2.27 on 32-bit. Affected by this vulnerability is the function realpath in the library stdlib/canonicalize.c. Such manipulation as part of Long Path leads to integer overflow. This vulnerability is documented as CVE-2018-11236. The attack can be executed remotely. There is not any exploit available. It is advisable to upgrade the affected component.

Detailsinfo

A vulnerability was found in GNU C Library up to 2.27 on 32-bit (Software Library) and classified as critical. Affected by this issue is the function realpath in the library stdlib/canonicalize.c. The manipulation as part of a Long Path leads to a integer overflow vulnerability. Using CWE to declare the problem leads to CWE-190. The product performs a calculation that can produce an integer overflow or wraparound, when the logic assumes that the resulting value will always be larger than the original value. This can introduce other weaknesses when the calculation is used for resource management or execution control. Impacted is confidentiality, integrity, and availability. CVE summarizes:

stdlib/canonicalize.c in the GNU C Library (aka glibc or libc6) 2.27 and earlier, when processing very long pathname arguments to the realpath function, could encounter an integer overflow on 32-bit architectures, leading to a stack-based buffer overflow and, potentially, arbitrary code execution.

The bug was discovered 02/04/2018. The weakness was released 05/18/2018 (Website). The advisory is available at securityfocus.com. This vulnerability is handled as CVE-2018-11236 since 05/18/2018. The attack may be launched remotely. No form of authentication is required for exploitation. Technical details are known, but there is no available exploit.

The vulnerability was handled as a non-public zero-day exploit for at least 103 days. During that time the estimated underground price was around $0-$5k. The vulnerability scanner Nessus provides a plugin with the ID 110393 (SUSE SLED12 / SLES12 Security Update : glibc (SUSE-SU-2018:1562-1)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family SuSE Local Security Checks and running in the context l. The commercial vulnerability scanner Qualys is able to test this issue with plugin 237016 (Red Hat Update for glibc (RHSA-2018:3092)).

Upgrading eliminates this vulnerability. A possible mitigation has been published 3 weeks after the disclosure of the vulnerability.

The vulnerability is also documented in the databases at Tenable (110393) and SecurityFocus (BID 104255†). Entries connected to this vulnerability are available at VDB-110769, VDB-112733, VDB-117980 and VDB-117987. If you want to get best quality of vulnerability data, you may have to visit VulDB.

Productinfo

Type

Vendor

Name

Version

License

Website

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 8.5
VulDB Meta Temp Score: 8.4

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

NVD Base Score: 9.8
NVD Vector: 🔍

CVSSv2info

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

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

NVD Base Score: 🔍

Exploitinginfo

Class: Integer overflow
CWE: CWE-190 / CWE-189
CAPEC: 🔍
ATT&CK: 🔍

Physical: No
Local: No
Remote: Yes

Availability: 🔍
Status: Not defined

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 110393
Nessus Name: SUSE SLED12 / SLES12 Security Update : glibc (SUSE-SU-2018:1562-1)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍

Qualys ID: 🔍
Qualys Name: 🔍

Threat Intelligenceinfo

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

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

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

Patch: 5460617d1567657621107d895ee2dd83bc1f88f2

Timelineinfo

02/04/2018 🔍
05/18/2018 +102 days 🔍
05/18/2018 +0 days 🔍
05/18/2018 +0 days 🔍
05/18/2018 +0 days 🔍
05/19/2018 +1 days 🔍
06/06/2018 +18 days 🔍
06/07/2018 +1 days 🔍
03/14/2023 +1741 days 🔍

Sourcesinfo

Vendor: gnu.org

Advisory: RHSA-2018:3092
Status: Confirmed
Confirmation: 🔍

CVE: CVE-2018-11236 (🔍)
GCVE (CVE): GCVE-0-2018-11236
GCVE (VulDB): GCVE-100-117986
SecurityFocus: 104255 - GNU glibc CVE-2018-11236 Stack Buffer Overflow Vulnerability

See also: 🔍

Entryinfo

Created: 05/19/2018 09:17
Updated: 03/14/2023 10:52
Changes: 05/19/2018 09:17 (77), 02/07/2020 13:04 (6), 03/14/2023 10:52 (5)
Complete: 🔍
Cache ID: 216:00E:103

If you want to get best quality of vulnerability data, you may have to visit VulDB.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Do you know our Splunk app?

Download it now for free!