Mandrake Linux Security Advisory : cups (MDKSA-2003:001)
Critical Nessus Plugin ID 13986
SynopsisThe remote Mandrake Linux host is missing one or more security updates.
DescriptioniDefense reported several security problems in CUPS that can lead to local and remote root compromise. An integer overflow in the HTTP interface can be used to gain remote access with CUPS privilege. A local file race condition can be used to gain root privilege, although the previous bug must be exploited first. An attacker can remotely add printers to the vulnerable system. A remote DoS can be accomplished due to negative length in the memcpy() call. An integer overflow in image handling code can be used to gain higher privilege. An attacker can gain local root privilege due to a buffer overflow of the 'options' buffer. A design problem can be exploited to gain local root access, however this needs an added printer (which can also be done, as per a previously noted bug). Wrong handling of zero-width images can be abused to gain higher privilege. Finally, a file descriptor leak and DoS due to missing checks of return values of file/socket operations.
MandrakeSoft recommends all users upgrade these CUPS packages immediately.
SolutionUpdate the affected packages.