Skip to content
OpenAdvisories
Medium · 6.3 Public exploit CVE-2020-8865 EUVD-2020-29707GHSA-ggc2-fj6j-c7cc

This vulnerability allows remote attackers to execute local PHP files on affected installations of Horde Groupware Webmail Edition 5.2.22. …

Published Mar 23, 2020 · Updated Aug 4, 2024 · Assigned by zdi

Description

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

Affected products

VendorProductAffectedFixed
Horde Groupware Webmail Edition 5.2.22 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 12 php-horde-trean 1.1.10-1 —
Debian 8 php-horde-trean 1.1.1-2+deb8u1 DLA-2175-1
ReleasePackageFixed inAdvisory
Ubuntu 18.04 LTS php-horde-trean No fix yet —
Ubuntu 16.04 LTS php-horde-trean No fix yet —

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

Exploit-DB 2

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Advisories 1

References