-----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-2003.053 17-Dec-2003 ________________________________________________________________________ Package: lftp Vulnerability: arbitrary code execution OpenPKG Specific: no Affected Releases: Affected Packages: Corrected Packages: OpenPKG CURRENT <= lftp-2.6.9-20031120 >= lftp-2.6.10-20031211 OpenPKG 1.3 <= lftp-2.6.6-1.3.0 >= lftp-2.6.6-1.3.1 OpenPKG 1.2 <= lftp-2.6.4-1.2.0 >= lftp-2.6.4-1.2.1 Dependent Packages: none Description: According to a security advisory from Ulf Härnhammar , a buffer overflow bug exists in the FTP/HTTP/HTTPS client LFTP  bug in versions up to and including 2.6.9. An attacker could create a carefully crafted directory on a website such that, if a user connects to that directory using the LFTP client and subsequently issues a "ls" or "rels" command, the attacker could execute arbitrary code on the users machine. The Common Vulnerabilities and Exposures (CVE) project assigned the id CAN-2003-0963  to the problem. Please check whether you are affected by running "
/bin/rpm -q lftp". If you have the "lftp" 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 current release OpenPKG 1.3, perform the following operations to permanently fix the security problem (for other releases adjust accordingly). $ ftp ftp.openpkg.org ftp> bin ftp> cd release/1.3/UPD ftp> get lftp-2.6.6-1.3.1.src.rpm ftp> bye $ /bin/rpm -v --checksig lftp-2.6.6-1.3.1.src.rpm $ /bin/rpm --rebuild lftp-2.6.6-1.3.1.src.rpm $ su - # /bin/rpm -Fvh /RPM/PKG/lftp-2.6.6-1.3.1.*.rpm ________________________________________________________________________ References:  http://www.securityfocus.com/archive/1/347587/2003-12-13/2003-12-19 /0  http://lftp.yar.ru/  http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2003-0963  http://www.openpkg.org/tutorial.html#regular-source  http://www.openpkg.org/tutorial.html#regular-binary  ftp://ftp.openpkg.org/release/1.2/UPD/lftp-2.6.4-1.2.1.src.rpm  ftp://ftp.openpkg.org/release/1.3/UPD/lftp-2.6.6-1.3.1.src.rpm  ftp://ftp.openpkg.org/release/1.2/UPD/  ftp://ftp.openpkg.org/release/1.3/UPD/  http://www.openpkg.org/security.html#signature ________________________________________________________________________ For security reasons, this advisory was digitally signed with the OpenPGP public key "OpenPKG "(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 iD8DBQE/4ES3gHWT4GPEy58RAhWvAJ0XtJea7vqBrAx9OfsWiUNlLBVn0QCgub7I eKC4m/yFGSRs+3syLFg26U0= =5dTH -----END PGP SIGNATURE-----