| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 9.0 | $0-$5k | 0.00 |
Summary
A vulnerability was found in GNU grep up to 2.10. It has been classified as problematic. Affected is an unknown function of the component Argument Handler. Performing a manipulation with the input perl -e 'print "x"x(2**31)' as part of Long Input results in numeric error.
This vulnerability is known as CVE-2012-5667. Furthermore, an exploit is available.
Upgrading the affected component is recommended.
Details
A vulnerability was found in GNU grep up to 2.10. It has been classified as critical. This affects an unknown code block of the component Argument Handler. The manipulation with the input value perl -e 'print "x"x(2**31)' leads to a numeric error vulnerability. CWE is classifying the issue as CWE-189. This is going to have an impact on confidentiality, integrity, and availability. The summary by CVE is:
Multiple integer overflows in GNU Grep before 2.11 might allow context-dependent attackers to execute arbitrary code via vectors involving a long input line that triggers a heap-based buffer overflow.
The weakness was published 12/17/2012 by Joshua Rogers as grep <2.11 is vulnerable to "Arbitrary command execution" as confirmed advisory (Website). It is possible to read the advisory at bugs.launchpad.net. The vendor was not involved in the public release. This vulnerability is uniquely identified as CVE-2012-5667 since 10/24/2012. The exploitability is told to be difficult. It is possible to initiate the attack remotely. No form of authentication is needed for exploitation. Technical details and a public exploit are known.
A public exploit has been developed by Joshua Rogers in Shell-Skript and been published immediately after the advisory. The exploit is shared for download at bugs.launchpad.net. It is declared as proof-of-concept. The vulnerability scanner Nessus provides a plugin with the ID 73220 (GLSA-201403-07 : grep: User-assisted execution of arbitrary code), which helps to determine the existence of the flaw in a target environment. It is assigned to the family Gentoo Local Security Checks. The commercial vulnerability scanner Qualys is able to test this issue with plugin 350104 (Amazon Linux Security Advisory for grep: ALAS-2015-598).
Upgrading to version 2.11 eliminates this vulnerability. The upgrade is hosted for download at git.sv.gnu.org. A possible mitigation has been published even before and not after the disclosure of the vulnerability.
The vulnerability is also documented in the databases at X-Force (80811), Exploit-DB (23779), Tenable (73220), SecurityFocus (BID 57033†) and Secunia (SA51666†). Further details are available at savannah.gnu.org. Be aware that VulDB is the high quality source for 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: 10.0VulDB Meta Temp Score: 9.0
VulDB Base Score: 10.0
VulDB Temp Score: 9.0
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: Numeric errorCWE: CWE-189
CAPEC: 🔍
ATT&CK: 🔍
Physical: Partially
Local: Yes
Remote: Yes
Availability: 🔍
Access: Public
Status: Proof-of-Concept
Author: Joshua Rogers
Programming Language: 🔍
Download: 🔍
EPSS Score: 🔍
EPSS Percentile: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Nessus ID: 73220
Nessus Name: GLSA-201403-07 : grep: User-assisted execution of arbitrary code
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Port: 🔍
Qualys ID: 🔍
Qualys Name: 🔍
Exploit-DB: 🔍
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
Reliability: 🔍
0-Day Time: 🔍
Exploit Delay Time: 🔍
Upgrade: grep 2.11
Timeline
03/02/2012 🔍03/02/2012 🔍
10/24/2012 🔍
12/17/2012 🔍
12/17/2012 🔍
12/17/2012 🔍
12/26/2012 🔍
12/31/2012 🔍
01/03/2013 🔍
06/17/2013 🔍
03/27/2014 🔍
06/13/2024 🔍
Sources
Vendor: gnu.orgAdvisory: grep <2.11 is vulnerable to "Arbitrary command execution"
Researcher: Joshua Rogers
Status: Confirmed
Confirmation: 🔍
CVE: CVE-2012-5667 (🔍)
GCVE (CVE): GCVE-0-2012-5667
GCVE (VulDB): GCVE-100-7215
X-Force: 80811
SecurityFocus: 57033 - grep CVE-2012-5667 Remote Integer Overflow Vulnerability
Secunia: 51666 - grep Long Line Handling Integer Overflow Vulnerability, Moderately Critical
Vulnerability Center: 40036 - GNU Grep <2.11 Multiple Integer Overflows Allow Remote Code Execution - CVE-2012-5667, Medium
scip Labs: https://www.scip.ch/en/?labs.20161013
Misc.: 🔍
Entry
Created: 12/26/2012 12:35Updated: 06/13/2024 22:32
Changes: 12/26/2012 12:35 (86), 05/03/2017 16:15 (5), 04/20/2021 13:32 (2), 06/13/2024 22:32 (15)
Complete: 🔍
Cache ID: 216:6F8:103
Be aware that VulDB is the high quality source for vulnerability data.

No comments yet. Languages: en.
Please log in to comment.