Nmap Security Scanner
*Intro
*Ref Guide
*Install Guide
*Download
*Changelog
*Book
*Docs
Security Lists
*Nmap Hackers
*Nmap Dev
*Bugtraq
*Full Disclosure
*Pen Test
*Basics
*More
Security Tools
*Pass crackers
*Sniffers
*Vuln Scanners
*Web scanners
*Wireless
*Exploitation
*Packet crafters
*More
Site News
Site Search:
Exploit World
Advertising
About/Contact
Credits
Sponsors:
edgeos



Vulnerability Development: Re: Possible syslogd DoS ?

Re: Possible syslogd DoS ?

From: H D Moore <hdm_at_secureaustin.com>
Date: Fri, 5 Oct 2001 11:28:39 -0500

Are you sure tha /dev/urandom will never return a string with %[snpfdn] etc?
Your exploit may be exploitable ;)

On Friday 05 October 2001 12:19 am, Petr Baudis wrote:
>
> for(;;)
> {
> fgets(buffer, sizeof(buffer), fp);
> syslog(0, buffer);
> }

Fix: syslog(0, "%s", buffer);

-- 
H D Moore
http://www.digitaldefense.net - work
http://www.digitaloffense.net - play
Received on Oct 05 2001
[ Nmap | Sec Tools | Mailing Lists | Site News | About/Contact | Advertising | Privacy ]
edgeos