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
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| 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.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 12 | php-horde-trean | 1.1.10-1 | — |
| Debian 8 | php-horde-trean | 1.1.1-2+deb8u1 | DLA-2175-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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.
Exploit-DB 2
- Horde Groupware Webmail Edition 5.2.22 - PHP File Inclusion EDB-48209 · webapps · Mar 11, 2020
- Horde Groupware Webmail Edition 5.2.22 - PHAR Loading EDB-48210 · webapps · Mar 11, 2020
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Advisories 1
- DLA-2175-1 php-horde-trean - security update Debian Security (DSA / DLA) · Mar 9, 2026