Ethical Hacking

Learn to find vulnerabilities before the bad guys do! Gain real world hands on hacking experience in our state of the art hacking lab. Course designed and taught by expert instructors with years of penetration testing experience. 12 student maximum in every class. Certification attempt included in every package.
Computer Forensics Training at InfoSec Institute

Gain the in-demand skills of a certified computer examiner, learn to recover trace data left behind by fraud, theft, and cybercrime perpetrators. Discover the source of computer crime and abuse at your organization so that it never happens again. All of our class sizes are guaranteed to be 12 students or less to facilitate one-on-one interaction with one of our expert instructors.




Network Security FullDisclosure
[Top] [All Lists]

[Full-Disclosure] Re: War-ftpd bug small addition

Subject: [Full-Disclosure] Re: War-ftpd bug small addition
Date: Sat, 29 Jan 2005 01:29:56 +0100
This is (obviously) a format string vulnerability. (Un)fortunately war-ftpd.exe 
has it's own implementation of printf-functions that doesn't support "%n" -> No 
arbitrary overwrites.
The formatstring and destination string are on the heap and the destination is 
dynamically allocated --> no buffer overflows.
All in all: no code execution.

Vulnerabilities:
Commands such as "USER %9999999999d%9999999999d%999999999999d" will consume a 
lot of CPU and memory, thus causing a DoS on the system and not just War-ftpd. 
(Maybe Secunia want to update their rating again.)
Commands such as "USER %s%s%s%s%s....%s%s" are bound to run into a dword that 
doesn't point to allocated memory, thus causing a DoS on War-ftpd itself.

To exploit this format string vuln, the target War-ftpd.exe needs to run as a 
service since it resides in one of the logging functions that it only uses when 
running as a service.

Cheers,

SkyLined

Berend-Jan Wever <skylined@edup.tudelft.nl>
TTP: http://www.edup.tudelft.nl/~bjwever
MSN: skylined@edup.tudelft.nl
IRC: SkyLined in #SkyLined on EFNET
PGP: key ID 0x48479882

----- Original Message ----- 
From: "class 101" <class101@hat-squad.com>
To: <full-disclosure@lists.netsys.com>
Sent: Friday, January 28, 2005 18:58
Subject: [Full-Disclosure] War-ftpd bug small addition


To fix the buggus advisory spreaded everywhere saying that you need to be 
authenticated, It's false Mc.Iglo ;)

USER %s*115AAAAA
PASS blahblah

http://secunia.com/advisories/14054/

-------------------------------------------------------------
class101
Jr. Researcher
Hat-Squad.com
-------------------------------------------------------------



--------------------------------------------------------------------------------


_______________________________________________
Full-Disclosure - We believe in it.
Charter: http://lists.netsys.com/full-disclosure-charter.html




_______________________________________________
Full-Disclosure - We believe in it.
Charter: http://lists.netsys.com/full-disclosure-charter.html

<Prev in Thread] Current Thread [Next in Thread>