Users login

Create an account »

JOIN XATRIX

Users login

Home » Hacking News » MDKSA-2002:026 - libsafe format string bypass

MDKSA-2002:026 - libsafe format string bypass

by Nikola Strahija on April 12th, 2002 Wojciech Purczynski discovered that format string protection in libsafe can be easily bypassed by using flag characters that are implemented in glibc but are not implemented in libsafe. It was also discovered that *printf function wrappers incorrectly parse argument indexing in format strings, making some incorrect assumptions on the number of arguments and conversion specifications.


________________________________________________________________________

Mandrake Linux Security Update Advisory
________________________________________________________________________

Package name: libsafe
Advisory ID: MDKSA-2002:026
Date: April 11th, 2002
Affected versions: 7.1, 7.2, 8.0, 8.1, Corporate Server 1.0.1,
Single Network Firewall 7.2
________________________________________________________________________

Problem Description:

Wojciech Purczynski discovered that format string protection in libsafe
can be easily bypassed by using flag characters that are implemented in
glibc but are not implemented in libsafe. It was also discovered that
*printf function wrappers incorrectly parse argument indexing in format
strings, making some incorrect assumptions on the number of arguments
and conversion specifications.

These problems were fixed by the libsafe authors in 2.0-12.
________________________________________________________________________

References:

http://online.securityfocus.com/bid/4326
http://online.securityfocus.com/bid/4327
________________________________________________________________________

Updated Packages:

Linux-Mandrake 7.1:
2e5051889cc2aa3c6aec0f9e284d627c 7.1/RPMS/libsafe-2.0.13-1.2mdk.i586.rpm
9a8f35d46d0f59b02cfdde585ad26520 7.1/SRPMS/libsafe-2.0.13-1.2mdk.src.rpm

Linux-Mandrake 7.2:
4a709ce0e447ee0b419adfd29a8c3e5e 7.2/RPMS/libsafe-2.0.13-1.3mdk.i586.rpm
07f1c27a01efc4934d4ecf21c9b16519 7.2/SRPMS/libsafe-2.0.13-1.3mdk.src.rpm

Mandrake Linux 8.0:
1d0a81906bbc693b0509816013acac98 8.0/RPMS/libsafe-2.0.13-1.2mdk.i586.rpm
9a8f35d46d0f59b02cfdde585ad26520 8.0/SRPMS/libsafe-2.0.13-1.2mdk.src.rpm

Mandrake Linux 8.1:
2ec21f68a7521aed44aa5d31be8d7da9 8.1/RPMS/libsafe-2.0.13-1.2mdk.i586.rpm
9a8f35d46d0f59b02cfdde585ad26520 8.1/SRPMS/libsafe-2.0.13-1.2mdk.src.rpm

Mandrake Linux 8.2:
4de44dea8f94c02d3f4350479dafe4e5 8.2/RPMS/libsafe-2.0.13-1.2mdk.i586.rpm
9a8f35d46d0f59b02cfdde585ad26520 8.2/SRPMS/libsafe-2.0.13-1.2mdk.src.rpm

Corporate Server 1.0.1:
2e5051889cc2aa3c6aec0f9e284d627c 1.0.1/RPMS/libsafe-2.0.13-1.2mdk.i586.rpm
9a8f35d46d0f59b02cfdde585ad26520 1.0.1/SRPMS/libsafe-2.0.13-1.2mdk.src.rpm

Single Network Firewall 7.2:
4a709ce0e447ee0b419adfd29a8c3e5e snf7.2/RPMS/libsafe-2.0.13-1.3mdk.i586.rpm
07f1c27a01efc4934d4ecf21c9b16519 snf7.2/SRPMS/libsafe-2.0.13-1.3mdk.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

[email protected]
________________________________________________________________________


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 »