GNU Coreutils up to 6.12 sort Command -d/-M input validation

| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 8.4 | $0-$5k | 0.00 |
Summary
A vulnerability classified as critical has been found in GNU Coreutils up to 6.12. The impacted element is the function sort of the component sort Command. This manipulation of the argument -d/-M as part of Eingabe causes input validation.
This vulnerability appears as CVE-2013-0221. In addition, an exploit is available.
It is recommended to upgrade the affected component.
Details
A vulnerability classified as critical was found in GNU Coreutils up to 6.12. Affected by this vulnerability is the function sort of the component sort Command. The manipulation of the argument -d/-M as part of a Eingabe leads to a input validation vulnerability. The CWE definition for the vulnerability is CWE-20. The product receives input or data, but it does
not validate or incorrectly validates that the input has the
properties that are required to process the data safely and
correctly. As an impact it is known to affect confidentiality, integrity, and availability. The summary by CVE is:
The SUSE coreutils-i18n.patch for GNU coreutils allows context-dependent attackers to cause a denial of service (segmentation fault and crash) via a long string to the sort command, when using the (1) -d or (2) -M switch, which triggers a stack-based buffer overflow in the alloca function.
The weakness was presented 03/13/2013 with Mandriva as MDVSA-2013:023 as not defined changelog entry (Website). The advisory is shared at mandriva.com. This vulnerability is known as CVE-2013-0221 since 12/06/2012. The exploitation appears to be difficult. An attack has to be approached locally. The exploitation doesn't need any form of authentication. Technical details and also a public exploit are known.
It is possible to download the exploit at exploit-db.com. It is declared as proof-of-concept. The vulnerability scanner Nessus provides a plugin with the ID 71401 (Amazon Linux AMI : coreutils (ALAS-2013-261)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family Amazon Linux Local Security Checks. The commercial vulnerability scanner Qualys is able to test this issue with plugin 350483 (Amazon Linux Security Advisory for coreutils: ALAS-2013-261).
Upgrading to version 6.12-2 eliminates this vulnerability.
The vulnerability is also documented in the databases at X-Force (81451), Exploit-DB (38232), Tenable (71401), SecurityFocus (BID 57492†) and OSVDB (91236†). See VDB-7992 and VDB-65557 for similar entries. Several companies clearly confirm that VulDB is the primary source for best vulnerability data.
Product
Vendor
Name
Version
License
Website
- Vendor: https://www.gnu.org/
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 9.3VulDB Meta Temp Score: 8.4
VulDB Base Score: 9.3
VulDB Temp Score: 8.4
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: Input validationCWE: CWE-20
CAPEC: 🔍
ATT&CK: 🔍
Physical: Partially
Local: Yes
Remote: Yes
Availability: 🔍
Access: Public
Status: Proof-of-Concept
Download: 🔍
EPSS Score: 🔍
EPSS Percentile: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Nessus ID: 71401
Nessus Name: Amazon Linux AMI : coreutils (ALAS-2013-261)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Port: 🔍
OpenVAS ID: 865284
OpenVAS Name: Fedora Update for coreutils FEDORA-2013-1455
OpenVAS File: 🔍
OpenVAS Family: 🔍
Qualys ID: 🔍
Qualys Name: 🔍
Exploit-DB: 🔍
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
0-Day Time: 🔍
Upgrade: Coreutils 6.12-2
Timeline
12/06/2012 🔍01/21/2013 🔍
01/21/2013 🔍
03/12/2013 🔍
03/13/2013 🔍
03/15/2013 🔍
11/23/2013 🔍
12/14/2013 🔍
11/29/2024 🔍
Sources
Vendor: gnu.orgAdvisory: MDVSA-2013:023
Organization: Mandriva
Status: Confirmed
Confirmation: 🔍
CVE: CVE-2013-0221 (🔍)
GCVE (CVE): GCVE-0-2013-0221
GCVE (VulDB): GCVE-100-7993
OVAL: 🔍
X-Force: 81451
SecurityFocus: 57492 - GNU Coreutils 'sort' Text Utility Buffer Overflow Vulnerability
OSVDB: 91236
Vulnerability Center: 38729 - GNU Coreutils 8.6 \x27sort\x27 Text Utility Buffer Overflow Vulnerability Allows Remote Code Execution, Medium
scip Labs: https://www.scip.ch/en/?labs.20161013
See also: 🔍
Entry
Created: 03/15/2013 10:55Updated: 11/29/2024 14:17
Changes: 03/15/2013 10:55 (80), 04/25/2017 22:53 (2), 05/06/2021 12:16 (3), 11/29/2024 14:17 (25)
Complete: 🔍
Committer:
Cache ID: 216:B6B:103
No comments yet. Languages: en.
Please log in to comment.