Description
Integer overflow in the fts_build function in fts.c in libc in (1) OpenBSD 4.4 and earlier and (2) Microsoft Interix 6.0 build 10.0.6030.0 allows context-dependent attackers to cause a denial of service (application crash) via a deep directory tree, related to the fts_level structure member, as demonstrated by (a) du, (b) rm, (c) chmod, and (d) chgrp on OpenBSD; and (e) SearchIndexer.exe on Vista Enterprise.
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
- Libc - 'libc:fts_*()' Local Denial of Service EDB-8163 · dos · Mar 5, 2009 · verified
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
References
- 8163 exploit
- 1021818 vdb-entry
- 20090304 libc:fts_*():multiple vendors, Denial-of-service third-party-advisory
- http://www.openbsd.org/cgi-bin/cvsweb/src/lib/libc/gen/fts.c.diff?r1=1.41%3Br2=1.42%3Bf=h
- 34008 vdb-entry
- http://www.openbsd.org/cgi-bin/cvsweb/src/lib/libc/gen/fts.c
- 20090305 libc:fts_*():multiple vendors, Denial-of-service mailing-list