Description
Off-by-one error in the __opiereadrec function in readrec.c in libopie in OPIE 2.4.1-test1 and earlier, as used on FreeBSD 6.4 through 8.1-PRERELEASE and other platforms, allows remote attackers to cause a denial of service (daemon crash) or possibly execute arbitrary code via a long username, as demonstrated by a long USER command to the FreeBSD 8.0 ftpd.
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
Exploit-DB 1
- FreeBSD 8.0 - 'ftpd' (FreeBSD-SA-10:05) Off-By-One (PoC) EDB-12762 · dos · May 27, 2010 · verified
GitHub 1 repository
-
Nexxus67/cve-2010-1938 ★ 5 · Oct 5, 2024
A simple Python script to test an off-by-one vulnerability in the OPIE library (CVE-2010-1938). This vulnerability affects certain FTP servers and may allow for Denial of Service (DoS) or arbitrary c…
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
References
- http://blog.pi3.com.pl/?p=111
- 7450 third-party-advisory
- 40403 vdb-entry
- http://site.pi3.com.pl/adv/libopie-adv.txt
- 1024040 vdb-entry
- DSA-2281 vendor-advisory
- FreeBSD-SA-10:05 vendor-advisory
- 39966 third-party-advisory
- 12762 exploit
- 20100527 libopie __readrec() off-by one (FreeBSD ftpd remote PoC) third-party-advisory
- 1025709 vdb-entry
- http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=584932
- 39963 third-party-advisory
- 45136 third-party-advisory