CVE-2019-9858
publishedPackage status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | n/an/a | Affected | Not stated | mitre |
| Debian | jessie | php-horde-form | Advisory build | 2.0.8-2+deb8u1 | DLA-1822-1 |
| Debian | stretch | php-horde-form | Advisory build | 2.0.15-1+deb9u1 | DSA-4468-1 |
Description
Remote code execution was discovered in Horde Groupware Webmail 5.2.22 and 5.2.17. Horde/Form/Type.php contains a vulnerable class that handles image upload in forms. When the Horde_Form_Type_image method onSubmit() is called on uploads, it invokes the functions getImage() and _getUpload(), which uses unsanitized user input as a path to save the image. The unsanitized POST parameter object[photo][img][file] is saved in the $upload[img][file] PHP variable, allowing an attacker to manipulate the $tmp_file passed to move_uploaded_file() to save the uploaded file. By setting the parameter to (for example) ../usr/share/horde/static/bd.php, one can write a PHP backdoor inside the web root. The static/ destination folder is a good candidate to drop the backdoor because it is always writable in Horde installations. (The unsanitized POST parameter went probably unnoticed because it's never submitted by the forms, which default to securely using a random path.)
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | n/a | n/a (affected) | mitre · cna |
Weaknesses
1- n/a
References
5- http://packetstormsecurity.com/files/152476/Horde-Form-Shell-Upload.html
- [debian-lts-announce] 20190616 [SECURITY] [DLA 1822-1] php-horde-form security update https://lists.debian.org/debian-lts-announce/2019/06/msg00007.html
- 20190624 [SECURITY] [DSA 4468-1] php-horde-form security update https://seclists.org/bugtraq/2019/Jun/31
- https://ssd-disclosure.com/?p=3814&preview=true
- DSA-4468 https://www.debian.org/security/2019/dsa-4468
Provider assertions
2mitre · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- e9a8cdd444a869952ec8371cf3b6578e859feb482f7c72b579907415ecdaa261
- Ingested
- 23 Sep 2026, 07:47:56 UTC
- Source record
- Official CVE record