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 Vuln-Dev
[Top] [All Lists]

Re: xine-lib NES Sound Format Demuxer Buffer Overflow

Subject: Re: xine-lib NES Sound Format Demuxer Buffer Overflow
Date: Thu, 24 Apr 2008 00:21:17 +0200
that buffer can't be overflowed,  "header" is 128 byte long:

#define NSF_HEADER_SIZE 0x80
[..]
if (this->input->read(this->input, header, NSF_HEADER_SIZE) !=
 NSF_HEADER_SIZE)
 return 0;

and copyright can't be more than 50byte:

this->copyright = strdup(&header[0x4E]);



laurent.gaffie@gmail.com wrote:
Hi there

Original advisory:
http://milw0rm.com/exploits/5458


There's another stack-based buffer overflow in demux_nfs.c

line 111:
this->copyright = strdup(&header[0x4E]);
line 189:
char copyright[100];
line 208:
sprintf(copyright, "(C) %s", this->copyright);

Regards Laurent Gaffiï


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