CVE-2020-8865

NameCVE-2020-8865
DescriptionThis vulnerability allows remote attackers to execute local PHP files on affected installations of Horde Groupware Webmail Edition 5.2.22. Authentication is required to exploit this vulnerability. The specific flaw exists within edit.php. When parsing the params[template] parameter, the process does not properly validate a user-supplied path prior to using it in file operations. An attacker can leverage this in conjunction with other vulnerabilities to execute code in the context of the www-data user. Was ZDI-CAN-10469.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, Mageia, GitHub code/issues, web search, more)
ReferencesDLA-2175-1
NVD severitymedium
Debian Bugs955019

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
php-horde-trean (PTS)stretch1.1.7-1+deb9u1fixed
buster1.1.9-3+deb10u1fixed
bullseye, sid1.1.10-3fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
php-horde-treansourcejessie1.1.1-2+deb8u1DLA-2175-1
php-horde-treansourcestretch1.1.7-1+deb9u1
php-horde-treansourcebuster1.1.9-3+deb10u1
php-horde-treansource(unstable)1.1.10-1955019

Notes

https://lists.horde.org/archives/announce/2020/001286.html
https://www.zerodayinitiative.com/advisories/ZDI-20-276/
https://github.com/horde/trean/commit/db0714a0c04d87bda9e2852f1b0d259fc281ca75
https://github.com/horde/trean/commit/055029f551501803d7e293a48316e2cf31307908

Search for package or bug name: Reporting problems