mirror of
https://github.com/0xMarcio/cve.git
synced 2025-05-29 01:31:01 +00:00
25 lines
1.1 KiB
Markdown
25 lines
1.1 KiB
Markdown
### [CVE-2018-20969](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-20969)
|
|

|
|

|
|

|
|
|
|
### 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.
|
|
|
|
### POC
|
|
|
|
#### Reference
|
|
- http://packetstormsecurity.com/files/154124/GNU-patch-Command-Injection-Directory-Traversal.html
|
|
- http://packetstormsecurity.com/files/154124/GNU-patch-Command-Injection-Directory-Traversal.html
|
|
- https://github.com/irsl/gnu-patch-vulnerabilities
|
|
- https://github.com/irsl/gnu-patch-vulnerabilities
|
|
- https://seclists.org/bugtraq/2019/Aug/29
|
|
- https://seclists.org/bugtraq/2019/Aug/29
|
|
|
|
#### Github
|
|
- https://github.com/ARPSyndicate/cvemon
|
|
- https://github.com/irsl/gnu-patch-vulnerabilities
|
|
- https://github.com/phonito/phonito-vulnerable-container
|
|
|