Files
CVEs-PoC/2021/CVE-2021-21812.md
T
2024-06-18 02:51:15 +02:00

18 lines
1.0 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
### [CVE-2021-21812](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-21812)
![](https://img.shields.io/static/v1?label=Product&message=AT%26T&color=blue)
![](https://img.shields.io/static/v1?label=Version&message=n%2Fa&color=blue)
![](https://img.shields.io/static/v1?label=Vulnerability&message=stack%20based%20buffer%20overflow&color=brighgreen)
### Description
A stack-based buffer overflow vulnerability exists in the command-line-parsing HandleFileArg functionality of AT&T Labs Xmill 0.7. Within the function HandleFileArg the argument filepattern is under control of the user who passes it in from the command line. filepattern is passed directly to strcpy copying the path provided by the user into a static sized buffer without any length checks resulting in a stack-buffer overflow. An attacker can provide malicious input to trigger these vulnerabilities.
### POC
#### Reference
- https://talosintelligence.com/vulnerability_reports/TALOS-2021-1280
#### Github
No PoCs found on GitHub currently.