DSA-1897-1 horde3 -- insufficient input sanitization

Related Vulnerabilities: CVE-2009-3236  

Stefan Esser discovered that Horde, a web application framework providing classes for dealing with preferences, compression, browser detection, connection tracking, MIME, and more, is insufficiently validating and escaping user provided input. The Horde_Form_Type_image form element allows to reuse a temporary filename on reuploads which are stored in a hidden HTML field and then trusted without prior validation. An attacker can use this to overwrite arbitrary files on the system or to upload PHP code and thus execute arbitrary code with the rights of the webserver. For the oldstable distribution (etch), this problem has been fixed in version 3.1.3-4etch6. For the stable distribution (lenny), this problem has been fixed in version 3.2.2+debian0-2+lenny1. For the testing distribution (squeeze), this problem has been fixed in version 3.3.5+debian0-1. For the unstable distribution (sid), this problem has been fixed in version 3.3.5+debian0-1. We recommend that you upgrade your horde3 packages.

Debian Security Advisory

DSA-1897-1 horde3 -- insufficient input sanitization

Date Reported:
28 Sep 2009
Affected Packages:
horde3
Vulnerable:
Yes
Security database references:
In Mitre's CVE dictionary: CVE-2009-3236.
More information:

Stefan Esser discovered that Horde, a web application framework providing classes for dealing with preferences, compression, browser detection, connection tracking, MIME, and more, is insufficiently validating and escaping user provided input. The Horde_Form_Type_image form element allows to reuse a temporary filename on reuploads which are stored in a hidden HTML field and then trusted without prior validation. An attacker can use this to overwrite arbitrary files on the system or to upload PHP code and thus execute arbitrary code with the rights of the webserver.

For the oldstable distribution (etch), this problem has been fixed in version 3.1.3-4etch6.

For the stable distribution (lenny), this problem has been fixed in version 3.2.2+debian0-2+lenny1.

For the testing distribution (squeeze), this problem has been fixed in version 3.3.5+debian0-1.

For the unstable distribution (sid), this problem has been fixed in version 3.3.5+debian0-1.

We recommend that you upgrade your horde3 packages.

Fixed in:

Debian GNU/Linux 4.0 (etch)

Source:
http://security.debian.org/pool/updates/main/h/horde3/horde3_3.1.3-4etch6.diff.gz
http://security.debian.org/pool/updates/main/h/horde3/horde3_3.1.3-4etch6.dsc
http://security.debian.org/pool/updates/main/h/horde3/horde3_3.1.3.orig.tar.gz
Architecture-independent component:
http://security.debian.org/pool/updates/main/h/horde3/horde3_3.1.3-4etch6_all.deb

Debian GNU/Linux 5.0 (lenny)

Source:
http://security.debian.org/pool/updates/main/h/horde3/horde3_3.2.2+debian0-2+lenny1.dsc
http://security.debian.org/pool/updates/main/h/horde3/horde3_3.2.2+debian0.orig.tar.gz
http://security.debian.org/pool/updates/main/h/horde3/horde3_3.2.2+debian0-2+lenny1.diff.gz
Architecture-independent component:
http://security.debian.org/pool/updates/main/h/horde3/horde3_3.2.2+debian0-2+lenny1_all.deb

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