Linux Kernel 3.1.9 utf8s_to_utf16 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.4$0-$5k0.00

Summaryinfo

A vulnerability classified as critical was found in Linux Kernel 3.1.9. This affects the function utf8s_to_utf16 of the component Linux Kernel. Executing a manipulation with the input strcpy(buf,"/sdcard/"); can lead to memory corruption. This vulnerability is registered as CVE-2013-1773. Furthermore, an exploit is available. Applying a patch is advised to resolve this issue.

Detailsinfo

A vulnerability classified as critical was found in Linux Kernel 3.1.9 (Operating System). This vulnerability affects the function utf8s_to_utf16 of the component Linux Kernel. The manipulation with the input value strcpy(buf,"/sdcard/"); 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:

Buffer overflow in the VFAT filesystem implementation in the Linux kernel before 3.3 allows local users to gain privileges or cause a denial of service (system crash) via a VFAT write operation on a filesystem with the utf8 mount option, which is not properly handled during UTF-8 to UTF-16 conversion.

The weakness was published 02/26/2013 by G13 as confirmed mailinglist post (oss-sec). The advisory is shared for download at seclists.org. This vulnerability was named CVE-2013-1773 since 02/19/2013. The attack needs to be approached locally. No form of authentication is required for a successful exploitation. Technical details and also a public exploit are known.

A public exploit has been developed by G13 and been published before and not just after the advisory. It is possible to download the exploit at exploit-db.com. It is declared as proof-of-concept. As 0-day the estimated underground price was around $5k-$25k. The vulnerability scanner Nessus provides a plugin with the ID 78964 (RHEL 6 : kernel (RHSA-2013:1026)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family Red Hat Local Security Checks. The commercial vulnerability scanner Qualys is able to test this issue with plugin 350544 (Amazon Linux Security Advisory for kernel: ALAS-2013-200).

Applying a patch is able to eliminate this problem. The bugfix is ready for download at git.kernel.org. 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 (23248), Tenable (78964), SecurityFocus (BID 58200†), OSVDB (90675†) and Secunia (SA52481†). Similar entries are available at VDB-7108, VDB-7622, VDB-7839 and VDB-8176. 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: 9.3
VulDB Meta Temp Score: 8.4

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

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: Proof-of-Concept
Author: G13
Download: 🔍

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 78964
Nessus Name: RHEL 6 : kernel (RHSA-2013:1026)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Port: 🔍

OpenVAS ID: 892668
OpenVAS Name: Debian Security Advisory DSA 2668-1 (linux-2.6 - privilege escalation/denial of service/information leak
OpenVAS File: 🔍
OpenVAS Family: 🔍

Qualys ID: 🔍
Qualys Name: 🔍

Exploit-DB: 🔍

Threat Intelligenceinfo

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

Countermeasuresinfo

Recommended: Patch
Status: 🔍

0-Day Time: 🔍

Patch: git.kernel.org

Timelineinfo

11/18/2011 🔍
07/12/2012 +237 days 🔍
12/09/2012 +150 days 🔍
12/09/2012 +0 days 🔍
02/19/2013 +72 days 🔍
02/26/2013 +7 days 🔍
02/27/2013 +1 days 🔍
02/28/2013 +1 days 🔍
02/28/2013 +0 days 🔍
03/01/2013 +1 days 🔍
03/06/2013 +5 days 🔍
11/08/2014 +612 days 🔍
06/08/2024 +3500 days 🔍

Sourcesinfo

Vendor: kernel.org

Advisory: seclists.org
Researcher: G13
Status: Confirmed
Confirmation: 🔍

CVE: CVE-2013-1773 (🔍)
GCVE (CVE): GCVE-0-2013-1773
GCVE (VulDB): GCVE-100-7840

OVAL: 🔍

SecurityFocus: 58200 - Linux Kernel VFAT Filesystem Local Buffer Overflow Vulnerability
Secunia: 52481 - Ubuntu update for kernel, Less Critical
OSVDB: 90675
Vulnerability Center: 38593 - Linux Kernel 2.0.0-3.3.4 Local Arbitrary Code Execution and DoS via VFAT Filesystem, High

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

Entryinfo

Created: 03/01/2013 09:04
Updated: 06/08/2024 08:40
Changes: 03/01/2013 09:04 (90), 04/25/2017 11:22 (2), 05/05/2021 15:49 (3), 06/08/2024 08:40 (15)
Complete: 🔍
Committer: olku
Cache ID: 216:A63:103

Discussion

No comments yet. Languages: en.

Please log in to comment.

Do you know our Splunk app?

Download it now for free!