drucken bookmarks versenden konfigurieren admin pdf Sicherheit: Unsichere Verwendung von /tmp in ed
Name: |
Unsichere Verwendung von /tmp in ed
|
|
ID: |
RHSA-2000:123-01 |
|
Distribution: |
Red Hat |
|
Plattformen: |
Red Hat Linux |
|
Datum: |
Di, 12. Dezember 2000, 12:00 |
|
Referenzen: |
Keine Angabe |
|
Applikationen: |
GNU ed |
|
Originalnachricht |
--------------------------------------------------------------------- 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.
_______________________________________________ Redhat-watch-list mailing list To unsubscribe, visit: https://listman.redhat.com/mailman/listinfo/redhat-watch-list
|
|
|
|