Debian Security Advisory

DSA-073-1 imp -- 3 remote exploits

Date Reported:
11 Aug 2001
Affected Packages:
Security database references:
In the Bugtraq database (at SecurityFocus): BugTraq ID 3082, BugTraq ID 3083.
In Mitre's CVE dictionary: CVE-2001-1257, CVE-2001-1258, CVE-2001-1370.
More information:
The Horde team released version 2.2.6 of IMP (a web based IMAP mail program) which fixes three security problems. Their release announcement describes them as follows:
  1. A PHPLIB vulnerability allowed an attacker to provide a value for the array element $_PHPLIB[libdir], and thus to get scripts from another server to load and execute. This vulnerability is remotely exploitable. (Horde 1.2.x ships with its own customized version of PHPLIB, which has now been patched to prevent this problem.)
  2. By using tricky encodings of "javascript:" an attacker can cause malicious JavaScript code to execute in the browser of a user reading email sent by attacker. (IMP 2.2.x already filters many such patterns; several new ones that were slipping past the filters are now blocked.)
  3. A hostile user that can create a publicly-readable file named "prefs.lang" somewhere on the Apache/PHP server can cause that file to be executed as PHP code. The IMP configuration files could thus be read, the Horde database password used to read and alter the database used to store contacts and preferences, etc. We do not believe this is remotely exploitable directly through Apache/PHP/IMP; however, shell access to the server or other means (e.g., FTP) could be used to create this file.

This has been fixed in version 2:2.2.6-0.potato.1. Please note that you will also need to upgrade the horde package to the same version.

Fixed in:

Debian GNU/Linux 2.2 (potato)

Architecture-independent component:

MD5 checksums of the listed files are available in the original advisory.