Linux Kernel 3.10.77 load_elf_binary 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.
8.0$0-$5k0.00

Summaryinfo

A vulnerability has been found in Linux Kernel 3.10.77 and classified as problematic. Affected by this vulnerability is the function load_elf_binary. Performing a manipulation results in memory corruption. This vulnerability is identified as CVE-2017-1000253. The attack is only possible with local access. Additionally, an exploit exists. The affected component should be upgraded.

Detailsinfo

A vulnerability, which was classified as critical, was found in Linux Kernel 3.10.77 (Operating System). This affects the function load_elf_binary. The manipulation with an unknown input leads to a memory corruption vulnerability. CWE is classifying the issue as 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. This is going to have an impact on confidentiality, integrity, and availability. The summary by CVE is:

Linux distributions that have not patched their long-term kernels with https://git.kernel.org/linus/a87938b2e246b81b4fb713edb371a9fa3c5c3c86 (committed on April 14, 2015). This kernel vulnerability was fixed in April 2015 by commit a87938b2e246b81b4fb713edb371a9fa3c5c3c86 (backported to Linux 3.10.77 in May 2015), but it was not recognized as a security threat. With CONFIG_ARCH_BINFMT_ELF_RANDOMIZE_PIE enabled, and a normal top-down address allocation strategy, load_elf_binary() will attempt to map a PIE binary into an address range immediately below mm->mmap_base. Unfortunately, load_elf_ binary() does not take account of the need to allocate sufficient space for the entire binary which means that, while the first PT_LOAD segment is mapped below mm->mmap_base, the subsequent PT_LOAD segment(s) end up being mapped above mm->mmap_base into the are that is supposed to be the "gap" between the stack and the binary.

The bug was discovered 09/26/2017. The weakness was released 10/05/2017 (Website). The advisory is shared at securityfocus.com. This vulnerability is uniquely identified as CVE-2017-1000253 since 10/03/2017. The exploitability is told to be easy. An attack has to be approached locally. A authentication is necessary for exploitation. Technical details and a public exploit are known.

The exploit is shared for download at exploit-db.com. It is declared as attacked. The vulnerability was handled as a non-public zero-day exploit for at least 1 days. During that time the estimated underground price was around $5k-$25k. The vulnerability scanner Nessus provides a plugin with the ID 103517 (CentOS 6 : kernel (CESA-2017:2795)), 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 350099 (Amazon Linux Security Advisory for kernel: ALAS-2015-603). The CISA Known Exploited Vulnerabilities Catalog lists this issue since 09/09/2024 with a due date of 09/30/2024:

Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable.

Upgrading eliminates this vulnerability. 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 Exploit-DB (42887), Tenable (103517) and SecurityFocus (BID 101010†). Entries connected to this vulnerability are available at VDB-74789 and VDB-78291. Statistical analysis made it clear that VulDB provides the best quality 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: 8.1
VulDB Meta Temp Score: 8.0

VulDB Base Score: 8.8
VulDB Temp Score: 8.4
VulDB Vector: 🔍
VulDB Reliability: 🔍

NVD Base Score: 7.8
NVD Vector: 🔍

CNA Base Score: 7.8
CNA 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: No

Availability: 🔍
Access: Public
Status: Attacked
Download: 🔍

EPSS Score: 🔍
EPSS Percentile: 🔍

KEV Added: 🔍
KEV Due: 🔍
KEV Remediation: 🔍
KEV Ransomware: 🔍
KEV Notice: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 103517
Nessus Name: CentOS 6 : kernel (CESA-2017:2795)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍

OpenVAS ID: 881932
OpenVAS Name: CentOS Update for kernel CESA-2017:2795 centos6
OpenVAS File: 🔍
OpenVAS Family: 🔍

Qualys ID: 🔍
Qualys Name: 🔍

Exploit-DB: 🔍

Threat Intelligenceinfo

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

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

0-Day Time: 🔍

Timelineinfo

09/26/2017 🔍
09/26/2017 +0 days 🔍
09/27/2017 +1 days 🔍
09/28/2017 +1 days 🔍
10/03/2017 +5 days 🔍
10/04/2017 +1 days 🔍
10/05/2017 +1 days 🔍
10/05/2017 +0 days 🔍
09/09/2024 +2531 days 🔍

Sourcesinfo

Vendor: kernel.org

Advisory: RHSA-2017:2795
Researcher: Qualys Research Labs
Status: Not defined

CVE: CVE-2017-1000253 (🔍)
GCVE (CVE): GCVE-0-2017-1000253
GCVE (VulDB): GCVE-100-107481
SecurityFocus: 101010
SecurityTracker: 1039434

scip Labs: https://www.scip.ch/en/?labs.20161013
See also: 🔍

Entryinfo

Created: 10/05/2017 15:16
Updated: 09/09/2024 22:30
Changes: 10/05/2017 15:16 (73), 11/22/2019 09:08 (7), 01/15/2021 14:13 (2), 01/15/2021 14:19 (3), 12/30/2022 17:28 (3), 12/30/2022 17:35 (1), 09/06/2024 22:58 (26), 09/09/2024 22:30 (16)
Complete: 🔍
Cache ID: 216:F3C:103

Discussion

No comments yet. Languages: en.

Please log in to comment.

Might our Artificial Intelligence support you?

Check our Alexa App!