CVE-2019-9858
8.8 · HIGHOverview
CVE-2019-9858 is a high-severity vulnerability affecting horde groupware. It was published on May 29, 2019 and has a CVSS 3.1 base score of 8.8 (HIGH).
This vulnerability has a CVSS 3.1 base score of 8.8, rated HIGH. It can be exploited remotely over the network. Some level of privileges is required for exploitation.
Technical 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.)
Remediation
Check the references section for vendor advisories and patches from horde. Update groupware to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.
Affected Products
| Vendor | Product | Versions | Status |
|---|
References
Frequently Asked Questions
What is CVE-2019-9858?
CVE-2019-9858 is a high-severity vulnerability affecting horde groupware. It was published on May 29, 2019 and has a CVSS 3.1 base score of 8.8 (HIGH).
How severe is CVE-2019-9858?
This vulnerability has a CVSS 3.1 base score of 8.8, rated HIGH. It can be exploited remotely over the network. Some level of privileges is required for exploitation.
How do I fix or remediate CVE-2019-9858?
Check the references section for vendor advisories and patches from horde. Update groupware to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.
How can CyberStrike help with CVE-2019-9858?
CyberStrike's AI-powered security agents can automatically detect CVE-2019-9858 across your infrastructure using autonomous pentesting, DAST scanning, and HackBrowser. The platform continuously monitors for known vulnerabilities and provides actionable remediation guidance prioritized by real-world exploitability.
How CyberStrike Helps
AI agents map your attack surface to find vulnerabilities like this one.
Automated penetration testing that runs continuously, not just quarterly.
AI-driven PR review catches vulnerable dependencies before they ship.
Browser-based exploitation validates findings with real proof-of-concept.
Related HIGH CVEs from 2019
View all →An exploitable SQL injection vulnerability exist in YouPHPTube 7.7. When the "VideoTags" plugin is e
A file-upload vulnerability exists in Rukovoditel 2.3.1. index.php?module=configuration/save allows
A use-after-free issue was found in the way the Linux kernel's KVM hypervisor processed posted inter
An error-based SQL injection vulnerability in product/card.php in Dolibarr version 8.0.2 allows remo
SQL injection vulnerability in user/card.php in Dolibarr version 8.0.2 allows remote authenticated u
SAP Enterprise Financial Services (fixed in SAPSCORE 1.13, 1.14, 1.15; S4CORE 1.01, 1.02, 1.03; EA-F
Under some circumstances, masterdata maintenance in SAP BW/4HANA (fixed in DW4CORE version 1.0 (SP08
A remote code execution vulnerability exists in the way that the MSHTML engine inproperly validates
An elevation of privilege exists in Windows COM Desktop Broker, aka "Windows COM Elevation of Privil
An elevation of privilege vulnerability exists in Microsoft Edge Browser Broker COM object, aka "Mic
A remote code execution vulnerability exists in Microsoft Word software when it fails to properly ha
D-Link DIR-822 C1 before v3.11B01Beta, DIR-822-US C1 before v3.11B01Beta, DIR-850L A* before v1.21B0