Files
CVEs-PoC/2012/CVE-2012-10055.md
T
2025-09-29 21:09:30 +02:00

21 lines
1.3 KiB
Markdown

### [CVE-2012-10055](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2012-10055)
![](https://img.shields.io/static/v1?label=Product&message=FTP%20Server&color=blue)
![](https://img.shields.io/static/v1?label=Version&message=1.3.7%20Beta%20&color=brightgreen)
![](https://img.shields.io/static/v1?label=Vulnerability&message=CWE-134%20Use%20of%20Externally-Controlled%20Format%20String&color=brightgreen)
### Description
ComSndFTP FTP Server version 1.3.7 Beta contains a format string vulnerability in its handling of the USER command. By sending a specially crafted username containing format specifiers, a remote attacker can overwrite a hardcoded function pointer in memory (specifically WSACleanup from Ws2_32.dll). This allows the attacker to redirect execution flow and bypass DEP protections using a ROP chain, ultimately leading to arbitrary code execution. The vulnerability is exploitable without authentication and affects default configurations.
### POC
#### Reference
- https://raw.githubusercontent.com/rapid7/metasploit-framework/master/modules/exploits/windows/ftp/comsnd_ftpd_fmtstr.rb
- https://www.exploit-db.com/exploits/19024
- https://www.exploit-db.com/exploits/19177
- https://www.vulncheck.com/advisories/comsndftp-user-format-string-rce
#### Github
No PoCs found on GitHub currently.