__________________________________________________________ The U.S. Department of Energy Computer Incident Advisory Capability ___ __ __ _ ___ / | /_\ / \___ __|__ / \ \___ __________________________________________________________ INFORMATION BULLETIN Sudo - "Sudoedit" Vulnerabilities [Sudo announcement] September 21, 2004 17:00 GMT Number O-219 ______________________________________________________________________________ PROBLEM: Sudoedit in Sudo v1.6.8 has a vulnerability that can allow the exposure of sensitive information. SOFTWARE: Sudo v1.6.8 DAMAGE: File contents may be accessible by unauthorized local users. SOLUTION: Update to Sudo version 1.6.8pl. ______________________________________________________________________________ VULNERABILITY The risk is MEDIUM. Local users could possibly get root ASSESSMENT: privileges. ______________________________________________________________________________ LINKS: CIAC BULLETIN: http://www.ciac.org/ciac/bulletins/o-219.shtml ORIGINAL BULLETIN: http://www.sudo.ws/sudo/alerts/sudoedit.html ______________________________________________________________________________ [***** Start Sudo announcement *****] Sudoedit can expose file contents Summary: A flaw in exists in sudo's -u option (aka sudoedit) in sudo version 1.6.8 that can give an attacker read permission to a file that would otherwise be unreadable. Sudo versions affected: 1.6.8 only Details: While sudoedit runs the actual editor as the invoking user, the temporary file is then re-opened with root privileges. An attacker can run sudoedit, remove the editor temporary file, make a link to an unreadable file with the same name as the old temporary file and quit the editor. The file being edited via sudoedit will now contain a copy of the previously unreadable file. Impact: Exploitation of the bug requires that the sudoers file be configured to allow the attacker to run sudoedit. If no users have been granted access to sudoedit there is no impact. Fix: The bug is fixed in sudo 1.6.8p1. Credit: This problem was brought to my attention by Reznic Valery. Copyright © 2004 GratiSoft, Inc. [***** End Sudo announcement *****] _______________________________________________________________________________ CIAC wishes to acknowledge the contributions of GratiSoft, Inc. for the information contained in this bulletin. _______________________________________________________________________________ CIAC, the Computer Incident Advisory Capability, is the computer security incident response team for the U.S. Department of Energy (DOE) and the emergency backup response team for the National Institutes of Health (NIH). CIAC is located at the Lawrence Livermore National Laboratory in Livermore, California. CIAC is also a founding member of FIRST, the Forum of Incident Response and Security Teams, a global organization established to foster cooperation and coordination among computer security teams worldwide. CIAC services are available to DOE, DOE contractors, and the NIH. CIAC can be contacted at: Voice: +1 925-422-8193 (7x24) FAX: +1 925-423-8002 STU-III: +1 925-423-2604 E-mail: ciac@ciac.org Previous CIAC notices, anti-virus software, and other information are available from the CIAC Computer Security Archive. World Wide Web: http://www.ciac.org/ Anonymous FTP: ftp.ciac.org PLEASE NOTE: Many users outside of the DOE, ESnet, and NIH computing communities receive CIAC bulletins. If you are not part of these communities, please contact your agency's response team to report incidents. Your agency's team will coordinate with CIAC. The Forum of Incident Response and Security Teams (FIRST) is a world-wide organization. A list of FIRST member organizations and their constituencies can be obtained via WWW at http://www.first.org/. This document was prepared as an account of work sponsored by an agency of the United States Government. Neither the United States Government nor the University of California nor any of their employees, makes any warranty, express or implied, or assumes any legal liability or responsibility for the accuracy, completeness, or usefulness of any information, apparatus, product, or process disclosed, or represents that its use would not infringe privately owned rights. Reference herein to any specific commercial products, process, or service by trade name, trademark, manufacturer, or otherwise, does not necessarily constitute or imply its endorsement, recommendation or favoring by the United States Government or the University of California. The views and opinions of authors expressed herein do not necessarily state or reflect those of the United States Government or the University of California, and shall not be used for advertising or product endorsement purposes. LAST 10 CIAC BULLETINS ISSUED (Previous bulletins available from CIAC) O-209: Oracle Database Server Vulnerabilities O-210: LHA Packages Buffer Overflow Vulnerability O-211: Potential Buffer Overflows in WinZip O-212: Apple Security Update O-213: Windows Buffer Overrun in JPEG Processing Could Allow Code Execution O-214: Windows Vulnerability in WordPerfect Converter Could Allow Code Execution O-215: "imlib" package vulnerability O-216: "gtk2" Package vulnerability O-217: "gdk-pixbuf" Package vulnerability O-218: HP Web Jetadmin Remote Access Vulnerability