Users login

Create an account »

JOIN XATRIX

Users login

Home » Hacking News » Mandrake MDKSA-2003:060: LPRng insecure temp file

Mandrake MDKSA-2003:060: LPRng insecure temp file

by Nikola Strahija on May 21st, 2003 A vulnerability has been found in LPRng's psbanner printer filter that creates a PostScript format banner. Since psbanner filter doesn't check whether or not the temp file exist or is a symlink, the filter will overwrite this file.


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

________________________________________________________________________

Mandrake Linux Security Update Advisory
________________________________________________________________________

Package name: LPRng
Advisory ID: MDKSA-2003:060
Date: May 21st, 2003

Affected versions: 8.2, 9.0, Corporate Server 2.1
________________________________________________________________________

Problem Description:

Karol Lewandowski discovered a problem with psbanner, a printer filter
that creates a PostScript format banner. psbanner creates a temporary
file for debugging purposes when it is configured as a filter, and does
not check whether or not this file already exists or is a symlink. The
filter will overwrite this file, or the file it is pointing to (if it
is a symlink) with its current environment and called arguments with the
user id that LPRng is running as.
________________________________________________________________________

References:

http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2003-0136
________________________________________________________________________

Updated Packages:

Corporate Server 2.1:
454aebea36b9e8260963ae8c7d3bcbb7 corporate/2.1/RPMS/LPRng-3.8.12-2.1mdk.i586.rpm
35d5dccf54a5e95c7df8cdf5fabf956a corporate/2.1/SRPMS/LPRng-3.8.12-2.1mdk.src.rpm

Mandrake Linux 8.2:
e9f17f040f12ea88b656c42629702853 8.2/RPMS/LPRng-3.8.6-2.2mdk.i586.rpm
7194b1db6c6196b4698fab4a32aa9147 8.2/SRPMS/LPRng-3.8.6-2.2mdk.src.rpm

Mandrake Linux 8.2/PPC:
d06245bc8db9e81ab46f80bf9962cc36 ppc/8.2/RPMS/LPRng-3.8.6-2.2mdk.ppc.rpm
7194b1db6c6196b4698fab4a32aa9147 ppc/8.2/SRPMS/LPRng-3.8.6-2.2mdk.src.rpm

Mandrake Linux 9.0:
454aebea36b9e8260963ae8c7d3bcbb7 9.0/RPMS/LPRng-3.8.12-2.1mdk.i586.rpm
35d5dccf54a5e95c7df8cdf5fabf956a 9.0/SRPMS/LPRng-3.8.12-2.1mdk.src.rpm
________________________________________________________________________

Bug IDs fixed (see https://qa.mandrakesoft.com for more information):
________________________________________________________________________

To upgrade automatically, use MandrakeUpdate. The verification of md5
checksums and GPG signatures is performed automatically for you.

If you want to upgrade manually, download the updated package from one
of our FTP server mirrors and upgrade with "rpm -Fvh *.rpm". A list of
FTP mirrors can be obtained from:

http://www.mandrakesecure.net/en/ftp.php

Please verify the update prior to upgrading to ensure the integrity of
the downloaded package. You can do this with the command:

rpm --checksig

All packages are signed by MandrakeSoft for security. You can obtain
the GPG public key of the Mandrake Linux Security Team from:

https://www.mandrakesecure.net/RPM-GPG-KEYS

Please be aware that sometimes it takes the mirrors a few hours to
update.

You can view other update advisories for Mandrake Linux at:

http://www.mandrakesecure.net/en/advisories/

MandrakeSoft has several security-related mailing list services that
anyone can subscribe to. Information on these lists can be obtained by
visiting:

http://www.mandrakesecure.net/en/mlist.php

If you want to report vulnerabilities, please contact

security_linux-mandrake.com

Type Bits/KeyID Date User ID
pub 1024D/22458A98 2000-07-10 Linux Mandrake Security Team


- -----BEGIN PGP PUBLIC KEY BLOCK-----
Version: GnuPG v1.0.7 (GNU/Linux)

mQGiBDlp594RBAC2tDozI3ZgQsE7XwxurJCJrX0L5vx7SDByR5GHDdWekGhdiday
L4nfUax+SeR9SCoCgTgPW1xB8vtQc8/sinJlMjp9197a2iKM0FOcPlkpa3HcOdt7
WKJqQhlMrHvRcsivzcgqjH44GBBJIT6sygUF8k0lU6YnMHj5MPc/NGWt8wCg9vKo
P0l5QVAFSsHtqcU9W8cc7wMEAJzQsAlnvPXDBfBLEH6u7ptWFdp0GvbSuG2wRaPl
hynHvRiE01ZvwbJZXsPsKm1z7uVoW+NknKLunWKB5axrNXDHxCYJBzY3jTeFjsqx
PFZkIEAQphLTkeXXelAjQ5u9tEshPswEtMvJvUgNiAfbzHfPYmq8D6x5xOw1IySg
2e/LBACxr2UJYCCB2BZ3p508m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kwmATzR
xBXVJb57fFQjxOu4eNjZAtfII/YXb0uyXXrdr5dlJ/3eXrcO4p0XAAMFBACCxo6Z
269s+A4v8C6Ui12aarOQcCDlV8cVG9LkyatU3FNTlnasqwo6EkaP572448weJWwN
6SCXVl+xOYLiK0hL/6Jb/O9Agw75yUVdk+RMM2I4fNEi+y4hmfMh2siBv8yEkEvZ
jTcl3TpkTfzYky85tu433wmKaLFOv0WjBFSikohGBBgRAgAGBQI5aefvAAoJEJqo
0NAiRYqYid0AoJgeWzXrEdIClBOSW5Q6FzqJJyaqAKC0Y9YI3UFlE4zSIGjcFlLJ
EJGXlA==
=yGlX
- -----END PGP PUBLIC KEY BLOCK-----

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE+zAfDmqjQ0CJFipgRAiiAAKC0lPpvN1beznUyjGZMpedfqINZ8QCgtYxi
0QjYuSF84Ej+iBaOnWKkqQ4=
=lRH2
-----END PGP SIGNATURE-----


Newsletter signup

Signup to our monthly newsletter and stay in touch with IT news!

Free E-books

We've got ebooks! But they're not online. :( Please give us a few days to bring downloads back.

Contact

Have something to say or just wanna drop us a line? Please keep this in mind: to spam, we reply with spam.

Contact us »