Debian DSA-073-1 : imp - 3 remote exploits

critical Nessus Plugin ID 14910

Synopsis

The remote Debian host is missing a security-related update.

Description

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 :

- 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.)
- 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.)

- 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.

Solution

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.

See Also

http://www.debian.org/security/2001/dsa-073

Plugin Details

Severity: Critical

ID: 14910

File Name: debian_DSA-073.nasl

Version: 1.22

Type: local

Agent: unix

Published: 9/29/2004

Updated: 1/4/2021

Supported Sensors: Frictionless Assessment Agent, Nessus Agent, Agentless Assessment, Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 6.7

CVSS v2

Risk Factor: Critical

Base Score: 10

Temporal Score: 7.8

Vector: CVSS2#AV:N/AC:L/Au:N/C:C/I:C/A:C

Vulnerability Information

CPE: p-cpe:/a:debian:debian_linux:imp, cpe:/o:debian:debian_linux:2.2

Required KB Items: Host/local_checks_enabled, Host/Debian/release, Host/Debian/dpkg-l

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 8/11/2001

Vulnerability Publication Date: 7/21/2001

Reference Information

CVE: CVE-2001-1257, CVE-2001-1258, CVE-2001-1370

BID: 3082, 3083

DSA: 073