|Subject:||[OpenPKG-SA-2005.012] OpenPKG Security Advisory (sudo)|
|Date:||Thu, 23 Jun 2005 20:09:14 +0200|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 ________________________________________________________________________ OpenPKG Security Advisory The OpenPKG Project http://www.openpkg.org/security.html http://www.openpkg.org firstname.lastname@example.org email@example.com OpenPKG-SA-2005.012 23-Jun-2005 ________________________________________________________________________ Package: sudo Vulnerability: race condition, arbitrary command execution OpenPKG Specific: no Affected Releases: Affected Packages: Corrected Packages: OpenPKG CURRENT <= sudo-1.6.8p8-20050422 >= sudo-1.6.8p9-20060620 OpenPKG 2.4 <= sudo-1.6.8p8-2.4.0 >= sudo-1.6.8p8-2.4.1 OpenPKG 2.3 <= sudo-1.6.8p7-2.3.0 >= sudo-1.6.8p7-2.3.1 Dependent Packages: none Description: According to a vendor security advisory  based on hints from Charles Morris, a race condition exists in the command pathname handling of Sudo  prior to version 1.6.8p9. This could allow a user with Sudo privileges to run arbitrary commands. Exploitation of the bug requires that the user be allowed to run one or more commands via Sudo and be able to create symbolic links in the filesystem. Furthermore, an entry in the "sudoers" file giving another user access to the "ALL" pseudo-command must follow the user's entry for the race to exist. The Common Vulnerabilities and Exposures (CVE) project assigned the id CAN-2005-1993  to the problem. Please check whether you are affected by running "<prefix>/bin/openpkg rpm -q sudo". If you have the "sudo" package installed and its version is affected (see above), we recommend that you immediately upgrade it (see Solution) . Solution: Select the updated source RPM appropriate for your OpenPKG release , fetch it from the OpenPKG FTP service  or a mirror location, verify its integrity , build a corresponding binary RPM from it  and update your OpenPKG installation by applying the binary RPM . For the most recent release OpenPKG 2.4, perform the following operations to permanently fix the security problem (for other releases adjust accordingly). $ ftp ftp.openpkg.org ftp> bin ftp> cd release/2.4/UPD ftp> get sudo-1.6.8p8-2.4.1.src.rpm ftp> bye $ <prefix>/bin/openpkg rpm -v --checksig sudo-1.6.8p8-2.4.1.src.rpm $ <prefix>/bin/openpkg rpm --rebuild sudo-1.6.8p8-2.4.1.src.rpm $ su - # <prefix>/bin/openpkg rpm -Fvh <prefix>/RPM/PKG/sudo-1.6.8p8-2.4.1.*.rpm ________________________________________________________________________ References:  http://www.sudo.ws/sudo/alerts/path_race.html  http://www.sudo.ws/  http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2005-1993  http://www.openpkg.org/tutorial.html#regular-source  http://www.openpkg.org/tutorial.html#regular-binary  ftp://ftp.openpkg.org/release/2.4/UPD/sudo-1.6.8p8-2.4.1....  ftp://ftp.openpkg.org/release/2.3/UPD/sudo-1.6.8p7-2.3.1....  ftp://ftp.openpkg.org/release/2.4/UPD/  ftp://ftp.openpkg.org/release/2.3/UPD/  http://www.openpkg.org/security.html#signature ________________________________________________________________________ For security reasons, this advisory was digitally signed with the OpenPGP public key "OpenPKG <firstname.lastname@example.org>" (ID 63C4CB9F) of the OpenPKG project which you can retrieve from http://pgp.openpkg.org and hkp://pgp.openpkg.org. Follow the instructions on http://pgp.openpkg.org/ for details on how to verify the integrity of this advisory. ________________________________________________________________________ -----BEGIN PGP SIGNATURE----- Comment: OpenPKG <email@example.com> iD8DBQFCuvpUgHWT4GPEy58RAuqJAKDKJZ29ph5iOYOTwJHhBn7JNCCmZgCcD/dG AuUubrgwjVpyuZ+jkbvuPl0= =d12Z -----END PGP SIGNATURE----- ______________________________________________________________________ The OpenPKG Project www.openpkg.org Project Announcement List firstname.lastname@example.org
Copyright © 2017, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds