Protect yourself against future threats.
-----BEGIN PGP SIGNED MESSAGE----- =========================================================================== AUSCERT External Security Bulletin Redistribution ESB-2000.394 -- RHSA-2000:123-01 New ed packages available 12 December 2000 =========================================================================== AusCERT Security Bulletin Summary --------------------------------- Product: ed Vendor: Red Hat Operating System: Red Hat Linux Impact: Modify Arbitrary Files Increased Privileges Access Required: Local - --------------------------BEGIN INCLUDED TEXT-------------------- - --------------------------------------------------------------------- Red Hat, Inc. Security Advisory Synopsis: New ed packages available Advisory ID: RHSA-2000:123-01 Issue date: 2000-12-06 Updated on: 2000-12-06 Product: Red Hat Linux Keywords: ed mktemp mkstemp /tmp Cross references: N/A - --------------------------------------------------------------------- 1. Topic: The ed editor used files in /tmp in an insecure fashion. It was possible for local users to exploit this vulnerability to modify files that they normally could not and gain elevated privilege. 2. Relevant releases/architectures: Red Hat Linux 5.2 - i386, alpha, sparc Red Hat Linux 6.0 - i386, alpha, sparc Red Hat Linux 6.1 - i386, alpha, sparc Red Hat Linux 6.2 - i386, alpha, sparc Red Hat Linux 7.0 - i386, alpha 3. Problem description: The ed executable creates files in /tmp with predictable names. By using various symlink attacks, it is possible to have ed write to files it should not, change the permissions of various files, etc. 4. Solution: For each RPM for your particular architecture, run: rpm -Fvh [filename] where filename is the name of the RPM. 5. Bug IDs fixed (http://bugzilla.redhat.com/bugzilla for more info): 21470 - ed uses mktemp + fopen for scratch files 6. RPMs required: Red Hat Linux 5.2: alpha: ftp://updates.redhat.com/5.2/alpha/ed-0.2-19.5x.alpha.rpm ftp://updates.redhat.com/5.2/alpha/ed-0.2-19.5x.alpha.rpm sparc: ftp://updates.redhat.com/5.2/sparc/ed-0.2-19.5x.sparc.rpm ftp://updates.redhat.com/5.2/sparc/ed-0.2-19.5x.sparc.rpm i386: ftp://updates.redhat.com/5.2/i386/ed-0.2-19.5x.i386.rpm ftp://updates.redhat.com/5.2/i386/ed-0.2-19.5x.i386.rpm sources: ftp://updates.redhat.com/5.2/SRPMS/ed-0.2-19.5x.src.rpm ftp://updates.redhat.com/5.2/SRPMS/ed-0.2-19.5x.src.rpm Red Hat Linux 6.0: sparc: ftp://updates.redhat.com/6.0/sparc/ed-0.2-19.6x.sparc.rpm ftp://updates.redhat.com/6.0/sparc/ed-0.2-19.6x.sparc.rpm i386: ftp://updates.redhat.com/6.0/i386/ed-0.2-19.6x.i386.rpm ftp://updates.redhat.com/6.0/i386/ed-0.2-19.6x.i386.rpm alpha: ftp://updates.redhat.com/6.0/alpha/ed-0.2-19.6x.alpha.rpm ftp://updates.redhat.com/6.0/alpha/ed-0.2-19.6x.alpha.rpm sources: ftp://updates.redhat.com/6.0/SRPMS/ed-0.2-19.6x.src.rpm ftp://updates.redhat.com/6.0/SRPMS/ed-0.2-19.6x.src.rpm Red Hat Linux 6.1: alpha: ftp://updates.redhat.com/6.1/alpha/ed-0.2-19.6x.alpha.rpm ftp://updates.redhat.com/6.1/alpha/ed-0.2-19.6x.alpha.rpm sparc: ftp://updates.redhat.com/6.1/sparc/ed-0.2-19.6x.sparc.rpm ftp://updates.redhat.com/6.1/sparc/ed-0.2-19.6x.sparc.rpm i386: ftp://updates.redhat.com/6.1/i386/ed-0.2-19.6x.i386.rpm ftp://updates.redhat.com/6.1/i386/ed-0.2-19.6x.i386.rpm sources: ftp://updates.redhat.com/6.1/SRPMS/ed-0.2-19.6x.src.rpm ftp://updates.redhat.com/6.1/SRPMS/ed-0.2-19.6x.src.rpm Red Hat Linux 6.2: alpha: ftp://updates.redhat.com/6.2/alpha/ed-0.2-19.6x.alpha.rpm ftp://updates.redhat.com/6.2/alpha/ed-0.2-19.6x.alpha.rpm sparc: ftp://updates.redhat.com/6.2/sparc/ed-0.2-19.6x.sparc.rpm ftp://updates.redhat.com/6.2/sparc/ed-0.2-19.6x.sparc.rpm i386: ftp://updates.redhat.com/6.2/i386/ed-0.2-19.6x.i386.rpm ftp://updates.redhat.com/6.2/i386/ed-0.2-19.6x.i386.rpm sources: ftp://updates.redhat.com/6.2/SRPMS/ed-0.2-19.6x.src.rpm ftp://updates.redhat.com/6.2/SRPMS/ed-0.2-19.6x.src.rpm Red Hat Linux 7.0: alpha: ftp://updates.redhat.com/7.0/alpha/ed-0.2-19.alpha.rpm i386: ftp://updates.redhat.com/7.0/i386/ed-0.2-19.i386.rpm sources: ftp://updates.redhat.com/7.0/SRPMS/ed-0.2-19.src.rpm 7. Verification: MD5 sum Package Name - -------------------------------------------------------------------------- e87aafb1feef31ab80d5a55313cf76b4 5.2/SRPMS/ed-0.2-19.5x.src.rpm c2ff59030a1d2c9cdf7040facda48a0b 5.2/alpha/ed-0.2-19.5x.alpha.rpm 86a43f6d2b10c284f36c5d9776a56789 5.2/i386/ed-0.2-19.5x.i386.rpm b7ac2a44c3ea17f78d5313a3113f98c3 5.2/sparc/ed-0.2-19.5x.sparc.rpm e80cdbeebc4cf4d7a8b8765b02540c2e 6.0/SRPMS/ed-0.2-19.6x.src.rpm 779b42a553a66a3cf422ffe8e87bb2fb 6.0/alpha/ed-0.2-19.6x.alpha.rpm 7c584e3600331b81e8caa2422722ccae 6.0/i386/ed-0.2-19.6x.i386.rpm 007fc8f22b6cc144b3b2703744da8483 6.0/sparc/ed-0.2-19.6x.sparc.rpm e80cdbeebc4cf4d7a8b8765b02540c2e 6.1/SRPMS/ed-0.2-19.6x.src.rpm 779b42a553a66a3cf422ffe8e87bb2fb 6.1/alpha/ed-0.2-19.6x.alpha.rpm 7c584e3600331b81e8caa2422722ccae 6.1/i386/ed-0.2-19.6x.i386.rpm 007fc8f22b6cc144b3b2703744da8483 6.1/sparc/ed-0.2-19.6x.sparc.rpm e80cdbeebc4cf4d7a8b8765b02540c2e 6.2/SRPMS/ed-0.2-19.6x.src.rpm 779b42a553a66a3cf422ffe8e87bb2fb 6.2/alpha/ed-0.2-19.6x.alpha.rpm 7c584e3600331b81e8caa2422722ccae 6.2/i386/ed-0.2-19.6x.i386.rpm 007fc8f22b6cc144b3b2703744da8483 6.2/sparc/ed-0.2-19.6x.sparc.rpm f619f60ddcbeedc016b434e172b9bddb 7.0/SRPMS/ed-0.2-19.src.rpm f511af62ec15ef65dd1104683e7d39db 7.0/alpha/ed-0.2-19.alpha.rpm 6186b80b1deba06a1d3d99e30e2270d0 7.0/i386/ed-0.2-19.i386.rpm These packages are GPG signed by Red Hat, Inc. for security. Our key is available at: http://www.redhat.com/corp/contact.html You can verify each package with the following command: rpm --checksig <filename> If you only wish to verify that each package has not been corrupted or tampered with, examine only the md5sum with the following command: rpm --checksig --nogpg <filename> 8. References: N/A Copyright(c) 2000 Red Hat, Inc. - --------------------------END INCLUDED TEXT-------------------- This security bulletin is provided as a service to AusCERT's members. As AusCERT did not write the document quoted above, AusCERT has had no control over its content. The decision to use any or all of this information is the responsibility of each user or organisation, and should be done so in accordance with site policies and procedures. NOTE: This is only the original release of the security bulletin. It may not be updated when updates to the original are made. If downloading at a later date, it is recommended that the bulletin is retrieved directly from the original authors to ensure that the information is still current. Contact information for the authors of the original document is included in the Security Bulletin above. If you have any questions or need further information, please contact them directly. Previous advisories and external security bulletins can be retrieved from: http://www.auscert.org.au/Information/advisories.html If you believe that your system has been compromised, contact AusCERT or your representative in FIRST (Forum of Incident Response and Security Teams). Internet Email: auscert@auscert.org.au Facsimile: (07) 3365 7031 Telephone: (07) 3365 4417 (International: +61 7 3365 4417) AusCERT personnel answer during Queensland business hours which are GMT+10:00 (AEST). On call after hours for emergencies. -----BEGIN PGP SIGNATURE----- Version: 2.6.3i Charset: noconv Comment: ftp://ftp.auscert.org.au/pub/auscert/AUSCERT_PGP.key iQCVAwUBOlSNbSh9+71yA2DNAQEx9gP9H2TdwkNgOTmou8xL3GH92qN+yIFXo0oV oJjULLpn0JsA52u+yLYyKv6kIgxGh9XZotZdbdE+JZ8meoopY9wV0rZ91msIIPzh Ps1/+2gEeOGfE7lHcAHP3FP9iaWSgi2pCpcQTzIT5Sji17JsIo1L8dLpFEmON/an 1tc8qVHmUpI= =WmNT -----END PGP SIGNATURE-----