A python implementation of CVE-2004-2271 targeting MiniShare 1.4.1.# CVE-2004-2271 - MiniShare 1.4.1 - BOF
## References
https://nvd.nist.gov/vuln/detail/CVE-2004-2271
## Vulnerability
MiniShare 1.4.1 has no bounds checking on HTTP GET requests it receives.
By sending a long, malformed HTTP GET request, an attacker can perform a buffer overflow and execute arbitrary code on the system.
## Exploit Notes
- Only 210 bytes of space are available for shellcode after EIP is overwritten.
- Therefore, this exploit places the exploit shellcode into the "Host: " header of the GET request and makes use of egghunter shellcode to find the malicious shellcode in memory.
[4.0K] /data/pocs/00f5e5971a112eea908ea4ffdea1845c1c30899a
├── [5.0K] minishare.py
└── [ 615] README.md
0 directories, 2 files