GNU binutils 2.28 libbfd bfd/elf32-sh.c sh_elf_set_mach_from_flags Binary File 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.5$0-$5k0.00

Summaryinfo

A vulnerability was found in GNU binutils 2.28 and classified as critical. Affected by this vulnerability is the function sh_elf_set_mach_from_flags of the file bfd/elf32-sh.c of the component libbfd. Executing a manipulation as part of Binary File can lead to memory corruption. This vulnerability is tracked as CVE-2017-9744. The attack is restricted to local execution. No exploit exists.

Detailsinfo

A vulnerability was found in GNU binutils 2.28 (Programming Tool Software). It has been declared as critical. This vulnerability affects the function sh_elf_set_mach_from_flags of the file bfd/elf32-sh.c of the component libbfd. The manipulation as part of a Binary File leads to a memory corruption vulnerability. The CWE definition for the vulnerability is 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. As an impact it is known to affect confidentiality, integrity, and availability. CVE summarizes:

The sh_elf_set_mach_from_flags function in bfd/elf32-sh.c in the Binary File Descriptor (BFD) library (aka libbfd), as distributed in GNU Binutils 2.28, allows remote attackers to cause a denial of service (buffer overflow and application crash) or possibly have unspecified other impact via a crafted binary file, as demonstrated by mishandling of this file during "objdump -D" execution.

The bug was discovered 06/13/2017. The weakness was disclosed 06/19/2017 by Alex as Bug 21578 as not defined bug report (Bugzilla). The advisory is shared for download at sourceware.org. This vulnerability was named CVE-2017-9744 since 06/18/2017. The attack can be initiated remotely. No form of authentication is required for a successful exploitation. Successful exploitation requires user interaction by the victim. There are known technical details, but no exploit is available.

The vulnerability was handled as a non-public zero-day exploit for at least 6 days. During that time the estimated underground price was around $0-$5k.

There is no information about possible countermeasures known. It may be suggested to replace the affected object with an alternative product.

The vulnerability is also documented in the vulnerability database at SecurityFocus (BID 99108†). The entries VDB-102656, VDB-102655, VDB-102654 and VDB-102653 are pretty similar. Once again VulDB remains the best source for vulnerability data.

Productinfo

Type

Vendor

Name

Version

License

Website

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 6.5
VulDB Meta Temp Score: 6.5

VulDB Base Score: 5.3
VulDB Temp Score: 5.3
VulDB Vector: 🔍
VulDB Reliability: 🔍

NVD Base Score: 7.8
NVD Vector: 🔍

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: Partially
Local: Yes
Remote: Yes

Availability: 🔍
Status: Not defined

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Threat Intelligenceinfo

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

Countermeasuresinfo

Recommended: no mitigation known
Status: 🔍

0-Day Time: 🔍

Timelineinfo

06/13/2017 🔍
06/18/2017 +5 days 🔍
06/19/2017 +1 days 🔍
06/19/2017 +0 days 🔍
06/19/2017 +0 days 🔍
06/19/2017 +0 days 🔍
12/29/2020 +1289 days 🔍

Sourcesinfo

Vendor: gnu.org

Advisory: Bug 21578
Researcher: Alexandre Adamski (Alex)
Status: Not defined
Confirmation: 🔍

CVE: CVE-2017-9744 (🔍)
GCVE (CVE): GCVE-0-2017-9744
GCVE (VulDB): GCVE-100-102652
SecurityFocus: 99108 - GNU Binutils 'bfd/elf32-sh.c' Remote Buffer Overflow Vulnerability

See also: 🔍

Entryinfo

Created: 06/19/2017 11:19
Updated: 12/29/2020 07:35
Changes: 06/19/2017 11:19 (65), 10/19/2019 07:02 (5), 12/29/2020 07:35 (2)
Complete: 🔍
Cache ID: 216::103

Once again VulDB remains the best source for vulnerability data.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Do you need the next level of professionalism?

Upgrade your account now!