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



Bugtraq: Re: Mandrake 7.0: /usr/bin/cdrecord gid=80 (strike #2)

Re: Mandrake 7.0: /usr/bin/cdrecord gid=80 (strike #2)

From: Alfred Perlstein <bright_at_WINTELCOM.NET>
Date: Sat, 10 Jun 2000 13:40:17 -0700

* sector x <sectorx_at_DIGITALPHOBIA.COM> [000610 13:10] wrote:
> Here is a freebsd port of noir's cdrecord buffer overflow.
> have you noticed cdrecord is very often suid root on many
> systems? :)
>
> --sectorx
>
> -- snip snip --
>
> /* freebsd cdrecord exploit port by sectorx of XOR

[*yawn* *snip*]

But it's _not_ suid on FreeBSD:

~ % ls -l /usr/local/bin/cdrecord
-r-xr-xr-x 1 root wheel 161244 May 20 04:31 /usr/local/bin/cdrecord

Cute but useless. Any program that encourages users to suid it
root and allows arbritary devices to be accessed over the scsi bus
needs to be taken out back and shot, twice. Any vendor that ships
it that way, three times.

The exploit presented here is akin to writing a sploit for /bin/sh
that only works if it's suid.

--
-Alfred Perlstein - [bright_at_wintelcom.net|alfred_at_freebsd.org]
"I have the heart of a child; I keep it in a jar on my desk."
Received on Jun 12 2000
[ Nmap | Sec Tools | Mailing Lists | Site News | About/Contact | Advertising | Privacy ]