CVE-2018-20969
GNU patch patch_token_injection
Description
do_ed_script in pch.c in GNU patch through 2.7.6 does not block strings beginning with a ! character. NOTE: this is the same commit as for CVE-2019-13638, but the ! syntax is specific to ed, and is unrelated to a shell metacharacter.
INFO
Published Date :
Aug. 16, 2019, 4:15 a.m.
Last Modified :
Nov. 21, 2024, 4:02 a.m.
Source :
[email protected]
Remotely Exploitable :
No
Impact Score :
5.9
Exploitability Score :
1.8
Public PoC/Exploit Available at Github
CVE-2018-20969 has a 2 public PoC/Exploit
available at Github.
Go to the Public Exploits
tab to see the list.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2018-20969
.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Test container known to be vulnerable. Do NOT use this apart from for testing
Dockerfile
The GNU patch utility was prone vulnerable to multiple attacks through version 2.7.6. You can find my related PoC files here.
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2018-20969
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2018-20969
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by af854a3a-2127-422b-91ae-364da2661108
Nov. 21, 2024
Action Type Old Value New Value Added Reference http://packetstormsecurity.com/files/154124/GNU-patch-Command-Injection-Directory-Traversal.html Added Reference https://access.redhat.com/errata/RHSA-2019:2798 Added Reference https://access.redhat.com/errata/RHSA-2019:2964 Added Reference https://access.redhat.com/errata/RHSA-2019:3757 Added Reference https://access.redhat.com/errata/RHSA-2019:3758 Added Reference https://access.redhat.com/errata/RHSA-2019:4061 Added Reference https://git.savannah.gnu.org/cgit/patch.git/commit/?id=3fcd042d26d70856e826a42b5f93dc4854d80bf0 Added Reference https://github.com/irsl/gnu-patch-vulnerabilities Added Reference https://seclists.org/bugtraq/2019/Aug/29 -
CVE Modified by [email protected]
May. 14, 2024
Action Type Old Value New Value -
CVE Modified by [email protected]
Dec. 03, 2019
Action Type Old Value New Value Added Reference https://access.redhat.com/errata/RHSA-2019:4061 [No Types Assigned] Added Reference https://access.redhat.com/errata/RHSA-2019:3758 [No Types Assigned] -
CVE Modified by [email protected]
Nov. 06, 2019
Action Type Old Value New Value Added Reference https://access.redhat.com/errata/RHSA-2019:3757 [No Types Assigned] -
CVE Modified by [email protected]
Oct. 03, 2019
Action Type Old Value New Value Added Reference https://access.redhat.com/errata/RHSA-2019:2964 [No Types Assigned] -
CVE Modified by [email protected]
Sep. 19, 2019
Action Type Old Value New Value Added Reference https://access.redhat.com/errata/RHSA-2019:2798 [No Types Assigned] -
CVE Modified by [email protected]
Sep. 05, 2019
Action Type Old Value New Value Added Reference https://github.com/irsl/gnu-patch-vulnerabilities [No Types Assigned] -
Initial Analysis by [email protected]
Aug. 27, 2019
Action Type Old Value New Value Added CVSS V2 Metadata Victim must voluntarily interact with attack mechanism Added CVSS V2 (AV:N/AC:M/Au:N/C:C/I:C/A:C) Added CVSS V3 AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H Changed Reference Type http://packetstormsecurity.com/files/154124/GNU-patch-Command-Injection-Directory-Traversal.html No Types Assigned http://packetstormsecurity.com/files/154124/GNU-patch-Command-Injection-Directory-Traversal.html Third Party Advisory, VDB Entry Changed Reference Type https://git.savannah.gnu.org/cgit/patch.git/commit/?id=3fcd042d26d70856e826a42b5f93dc4854d80bf0 No Types Assigned https://git.savannah.gnu.org/cgit/patch.git/commit/?id=3fcd042d26d70856e826a42b5f93dc4854d80bf0 Patch, Vendor Advisory Changed Reference Type https://seclists.org/bugtraq/2019/Aug/29 No Types Assigned https://seclists.org/bugtraq/2019/Aug/29 Exploit, Mailing List, Patch, Third Party Advisory Added CWE CWE-78 Added CPE Configuration OR *cpe:2.3:a:gnu:patch:*:*:*:*:*:*:*:* versions up to (including) 2.7.6 -
CVE Modified by [email protected]
Aug. 16, 2019
Action Type Old Value New Value Added Reference http://packetstormsecurity.com/files/154124/GNU-patch-Command-Injection-Directory-Traversal.html [No Types Assigned] -
CVE Modified by [email protected]
Aug. 16, 2019
Action Type Old Value New Value Added Reference https://seclists.org/bugtraq/2019/Aug/29 [No Types Assigned]
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2018-20969
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2018-20969
weaknesses.
Exploit Prediction
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.
0.30 }} -0.06%
score
0.69098
percentile