CUPS Security Vulnerabilities
Buck Naked writes "A slew of vulnerabilities was discovered in CUPS, from the advisory: 'Exploitation of multiple CUPS vulnerabilities allow local and remote attackers in the worst of the scenarios to gain root privileges...' The full advisory can be found at iDEFENSE."
Common sense applies. The outside world doesn't need access to your printers, so firewall it and remember to patch it once in a while and you might be safe...
Its a good thing most new users can't setup CUPS and just disable ;)
Until RedHat 8 came out that is!
While many might chime in here saying this story would be better suited on security sites, I for one just heard about it now. I also plugged about 3 vulnerabilities because of it.
http://www.cups.org/news.php?V87
Whew, I feel much safer now. It's always nice that someone feels ownership for the code, thus that someone takes quick action and fixes the problems. Thank you Michael Sweet for a great print system and quick action.
Michael Sweet [mike@easysw.com] of Easy Software Products said CUPS 1.1.18 will be released December 19, 2002 which addresses all of these issues (http://www.cups.org).
Mark J Cox (mjc@redhat.com) of Red Hat said the following:
"Red Hat Linux 7.3 and 8.0 ship with CUPS, however it is not enabled by default. We are currently working on producing erratum packages. When complete, these will be available along with our advisory. At the same time, users of the Red Hat Network will be able to update their systems
using the 'up2date' tool."
Richard Blanchard (rblanchard@apple.com) of Apple said the following:
"Affected Systems:
Mac OS X 10.2 - Mac OS X 10.2.2
Mac OS X Server 10.2 - Mac OS X Server 10.2.2
Mitigating Factors:
The described vulnerability can be remotely exploited only when Printer Sharing is enabled. Printer Sharing is not enabled by default on Mac OS X or Mac OS X Server.
Fixed in: Mac OS X 10.2.3 and Mac OS X Server 10.2.3"
I'd just like to note how good the response is. The list of vulnerabilities is well stated and very complete. Furthermore, the time line of events is excellent and patching was superb and fast. My OS X box was patched before I even knew about the vulnerability. Thanks to iDEFENSE and zen-parse.
does this apply to the CUPS distributed with MAC OS X?
If so... with the recent move by GNU-Darwin away from mac-proprietary development, what's the relationship of bugs like this being found in software that is part of OS X and the Apple developers working to fix said bugs?
i use CUPS. i think it's neat.
SIGERR: laziness exceeds quota
CUPS, as far as I'm concerned is the killer app for printing in the *nix world. And just like another poster mentioned, why on earth would someone not be firewalling their printer? So once again it comes down to the competency of the system administrator. As for the MS trolls out there who will use this as an excuse to pan OSS, I'd like to point out that at least with CUPS and projects like it we won't have to wait for the maintainers to admit there's a problem, and then wait a month or more for a fix. This is news only in that security vulnerabilities need to be dissemenated as widely as possible
If thou see a fair woman pay court to her, for thus thou wilt obtain love
Apple fixed it today on their Systems.
"Affected Systems:
Mac OS X 10.2 - Mac OS X 10.2.2
Mac OS X Server 10.2 - Mac OS X Server 10.2.2
Mitigating Factors: The described vulnerability can be remotely exploited only when Printer Sharing is enabled.
Printer Sharing is not enabled by default on Mac OS X or Mac OS X Server.
Fixed in: Mac OS X 10.2.3 and Mac OS X Server 10.2.3" (released today)
I sure am glad I removed CUPS from my mom's debian box before I moved out last week (and took my firewall with me). I still think printing is the worst thing about unix in general (and about GNOME in particular...), but CUPS was relatively easy to set up. Sounds like it needs a serious security audit, though.
How come a security news that doesn't involve is on the front page? I thought you guys only post MS related security news. :))
Remember kids, when playing with Linux, always wear your CUPS...
Recursive: Adj. See Recursive.
... I just got printing working today with cups.
Oh well. Time to RTA and see what the "fix" is.
... do I use this ... uh ... no.
OK, I'm done.
Wish Windoze security updates were this easy......
I rarely read replies, it's my opinion and if you thought about your opinion a little more, I'm OK with that.
It appears that a vulnerability has been found whereby a malicious user can covertly attach a second string to the midsection of the two originating CUPS and 'tap' into the communication between CUP "A" and CUP "B".
Furthermore, said user can attach a third CUP to the end of his/her string and receive a secondary branch off of all data vibrating bwteen the two original CUPS.
Saavy users can then vocally mimic the voice data being picked up and assume the identity of either CUP "A" or CUP "B".
Agency around the world have been placed on full alert as they scramble for a patch to this unforseen security hole!
Never try to beat a professional at his own game!
Couldn't I have seen this just TWO HOURS AGO while I was still at work, and not now when my holidays have officially started? Well, it's not like I didn't expect to be working occasionally during my holiday anyway. A sysadmin's work is never done ...
I say again - damn. It a little blissful ignorance over the festive season too much to ask these days?
Wasting your time since 1997.
I never really understood what made it better than straight up lpd. Perhaps one of you could enlighten me?
My Ass hurts.
CUPS have always had known vulnerabilities; they need them to operate effectively. What do you expect when you have a giant hole on one end of the things? But if you plug up the hole, you can't drink out of them. Thus, CUPS will always be vulnerable.
I just love moderators when they waist points on crap that nobody's interested in, anyway. Get real and get a life - this is just Slashdot, for fuck sake.
If any one needs to pat themself on the back, it's you.
>this is just Slashdot, for fuck sake.
Yet you still get worked up about moderators wasting their points...
In Soviet Cuba, we drive classic cars and are Naturally Thin!
UNIX should be left to do the mission-critical tasks, those that require uptimes greater than 24 hours.
For weeks, CUPS resisted repeated attempts to print from an NT4 client and a Win 2K client to a USB-attached HP LJ 2200 printer. CUPS successfully blocked all attempts to exploit the print capabilities of said device. I found it bulletproof. ;)
Good thing I use MUGS.
I mean what use is a CUP with a HOLE in it?
i am sad that ... party finds YOU :*( !
Well, my copy of of Gentoo linux (currently installed), FreeBSD (currently installed), and OpenBSD (currently installed) cost me nothing at all. Were as, my one little pathetic copy of Win2k (unfortunately, currently installed) cost me over $300. Sure, *NIX is a little harder to use (poor baby doesn't want to work/learn?) but, you get a more secure OS solution (especially with OpenBSD) for 0/50 the price of Windows.
People don't move to open source software because there are more lazy people in the world. Well, I'll stick to *NIX.
Plus, instead of having to hire a small amount of people to go through and try to find such large amounts of bugs (Windows), you get every programmer across the globe to look (those who know about your project of course) for free (open source).
Are you telling me that you don't see the connection between government and laughing at people? - Interviewer
i am sad that vulnerabilities expose YOU :*( !
Looks like another most-of-the-nighter upgrading CUPS, installing espgs because the version of cups I had installed didn't require it, recreating the configuration files that the @#$%^! installer just overwrite, and making the standard offerings to Cthulhu so the blasted thing will figure out where pstoraster is located. Of course, it will be my fault if someone manages to get a shell account on the router/firewall/printserver and proceeds to trash the read-writable netbios shares that my family is too lazy to set a password on. Isn't being a sysadmin great?
OK, for folks that haven't read the advisory, a "slew" is apparently 9.
Of those 9, only *1* of the issues could possibly be used to gain root access, and it depends entirely on the CUPS release, compiler, etc. you use, and for the exploit to work remotely you have to change the default CUPS configuration.
Issue 6 was fixed back in CUPS 1.1.15 (released in June) and is old news.
All but one issue was fixed within a few hours of the report, and the current CUPS release (1.1.18) does not have any of these vulnerabilities.
I print, therefore I am.
Why do daemons still run as root? All of these things should be running as unprivileged users, with lots of restrictions on what they can do. Processes need to be root to bind low ports? Then let's run these services on higher ports, or fix the kernel so any process can bind to lower ports. The unix "security model" is so brain-dead. The most dangerous input (stuff from the net) is handled at the highest privilege level (root). This is just idiotic.
So these dangerous exploits were found by a source code review (as opposed to a script kiddy striking it lucky), which was only possible due to the open source nature of CUPS. Now that this advisory has taught hackers how to compromise a great many lunix machines, isn't it worth considering that CUPs would have been so much more secure had it been a closed source project? It's simple logic that only the most blatant troll could disagree with; source closed --> exploits never found --> hackers can't exploit CUPs.
Then I read the first line, and it was crystal
Funny, but I don't see 80% of the people posting in support of the crap posing as software coming out of Redmond.And you--you've got to be AC to admit to using that shit, don't you?
Notes From Under *nix: blas.phemo.us
The first thing that came to my mind was the silly game Chandler and Joey played on Friends, when I read about CUPS. :)
makes your root password VISIBLE by default when you print it out.
ceramic is so a thousand years ago...
aluminum mugs secure on coasters much better and they aren't vulnerable to breaking on a tile floor should you drop one.
Oh you mean Common Unix Printing System! My mistake...in a world of lpr and lpr-ng...oh them was fighting words!! I'll never walk the plank! Never!
But I'm sure you already Gnu that.
"Exploitation of multiple CUPS vulnerabilities"
Sounds more like a description of senior prom night
I haven't been a fan of CUPS -- lprng or other alternatives might be a better choice.
May we never see th
Coordinated - with Red Hat and Apple. No one told me, or (to my knowledge) Debian.
Which would explain why I'm reading patches at 2:30 am.
Jeff Licquia
Debian maintainer, cupsys (the CUPS packages for Debian)
You just stay in your own bitter little world. Have a nice life.
That's almost a month and a half since the exploit was intially known, to when even the author of the package was informed; it was almost a month just for that! The general public got to know about this even later.
Maybe this is a good thing, but I wonder. Who had access to this dangerous knowledge while the rest of the world slept, unaware of their vulnerability to this. Sure, a truly secure setup wouldn't be running uncessary demons on anything important, but still...
Magic lantern, anyone?
---
the pen is mightier than the sword, the sword is mightier than the court, the court is mightier than the pen.
if you use Windows 2000, you've got more security issues to worry about than CUPS.
The worst they can do is what ever they want to do, if they get root access. Say it like it is. An attacker can execute arbitrary code, get complete control over the machine. Security issues shouldn't be sugar coated like that.
dominionrd.blogspot.com - Restaurants on
Yeah, it's covered in the OS X 10.2.3 update that was released last night (which also covers the recent fetchmail DOS issue).
-oo-
If this were an MS vulnerability, I guarantee 383293298329832 posts filled with mostly "haha ms sux0rz". But since is a unix vulnerability, its all just "but its fixed now".
"Might" is the key word. It would be naive to think this is the only vulnerability in your network. And it would be naive to think that all threats are outside your firewall. So, think of it in these terms: What would be the damage if an attacker were able, using other vulnerabilities, to obtain a position where he COULD exploit the CUPS vulnerability on one of your servers.
I am seriously looking at paying my money and getting the newest version of Libranet. I am enjoying Mandrake 9 now but am getting very tired of waiting for packages getting onto urpmi. It took Linux-Mandrake two weeks to fix Samba, and that was a pretty important update.
Knowledge is power. Knowledge shared is power multiplied.
Turn your cup over, the hole is supposed to be at the top.
Printing is mission critical. I take care of printing where I work, and I can tell that people haved screamed when something has broken printing. Printing ranks right up there with email as a critical service.
One of my colleaques altered an NDS group which whacked printing for about 150 people. They took away all of his rights because of that.
would that be the "printing improvements" thing mentioned?
I'd heard 10.2.3 was out, but I had a bunch of windows up that I wasn't willing to bring down until this morning, so I'm just getting the update now.
You are mistaken. Macs are OK now, but Mac Users are still far from OK and it's the same the world over....
There's nothing from stopping you from FTPing the source down, running ./configure, and running make install.[...]If you're using OSS, you need to be able to work it
Hey, what a great argument, I'll remember that the next time someone asks me if they should switch to Linux. "No, Linux is only for those who know how to program."
-=+>txtracer<+=-
-Those who do not learn from history are doomed.
The problems of business administration in general, and database management in
particular are much to difficult for people that think in IBMese, compounded
with sloppy english.
-- Edsger Dijkstra
- this post brought to you by the Automated Last Post Generator...