CVE-2019-9858
Horde Groupware Webmail Image Upload Remote Code Execution
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.)
INFO
Published Date :
May 29, 2019, 5:29 p.m.
Last Modified :
Nov. 21, 2024, 4:52 a.m.
Source :
[email protected]
Remotely Exploitable :
Yes !
Impact Score :
5.9
Exploitability Score :
2.8
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2019-9858
.
URL | Resource |
---|---|
http://packetstormsecurity.com/files/152476/Horde-Form-Shell-Upload.html | Exploit Third Party Advisory VDB Entry |
https://lists.debian.org/debian-lts-announce/2019/06/msg00007.html | Mailing List Third Party Advisory |
https://seclists.org/bugtraq/2019/Jun/31 | Mailing List Third Party Advisory |
https://ssd-disclosure.com/?p=3814&preview=true | Exploit Third Party Advisory |
https://www.debian.org/security/2019/dsa-4468 | Third Party Advisory |
http://packetstormsecurity.com/files/152476/Horde-Form-Shell-Upload.html | Exploit Third Party Advisory VDB Entry |
https://lists.debian.org/debian-lts-announce/2019/06/msg00007.html | Mailing List Third Party Advisory |
https://seclists.org/bugtraq/2019/Jun/31 | Mailing List Third Party Advisory |
https://ssd-disclosure.com/?p=3814&preview=true | Exploit Third Party Advisory |
https://www.debian.org/security/2019/dsa-4468 | Third Party Advisory |
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2019-9858
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2019-9858
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by af854a3a-2127-422b-91ae-364da2661108
Nov. 21, 2024
Action Type Old Value New Value Added Reference http://packetstormsecurity.com/files/152476/Horde-Form-Shell-Upload.html Added Reference https://lists.debian.org/debian-lts-announce/2019/06/msg00007.html Added Reference https://seclists.org/bugtraq/2019/Jun/31 Added Reference https://ssd-disclosure.com/?p=3814&preview=true Added Reference https://www.debian.org/security/2019/dsa-4468 -
CVE Modified by [email protected]
May. 14, 2024
Action Type Old Value New Value -
Modified Analysis by [email protected]
Apr. 18, 2022
Action Type Old Value New Value Removed CVSS V3 NIST AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H Added CVSS V3.1 NIST AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H Changed Reference Type https://lists.debian.org/debian-lts-announce/2019/06/msg00007.html No Types Assigned https://lists.debian.org/debian-lts-announce/2019/06/msg00007.html Mailing List, Third Party Advisory Changed Reference Type https://seclists.org/bugtraq/2019/Jun/31 No Types Assigned https://seclists.org/bugtraq/2019/Jun/31 Mailing List, Third Party Advisory Changed Reference Type https://www.debian.org/security/2019/dsa-4468 No Types Assigned https://www.debian.org/security/2019/dsa-4468 Third Party Advisory Added CPE Configuration OR *cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:* *cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:* -
CWE Remap by [email protected]
Jul. 21, 2021
Action Type Old Value New Value Changed CWE CWE-94 CWE-22 -
CVE Modified by [email protected]
Jun. 24, 2019
Action Type Old Value New Value Added Reference https://seclists.org/bugtraq/2019/Jun/31 [No Types Assigned] -
CVE Modified by [email protected]
Jun. 21, 2019
Action Type Old Value New Value Added Reference https://www.debian.org/security/2019/dsa-4468 [No Types Assigned] -
CVE Modified by [email protected]
Jun. 17, 2019
Action Type Old Value New Value Added Reference https://lists.debian.org/debian-lts-announce/2019/06/msg00007.html [No Types Assigned] -
Initial Analysis by [email protected]
May. 30, 2019
Action Type Old Value New Value Added CVSS V2 (AV:N/AC:L/Au:S/C:P/I:P/A:P) Added CVSS V3 AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H Changed Reference Type https://ssd-disclosure.com/?p=3814&preview=true No Types Assigned https://ssd-disclosure.com/?p=3814&preview=true Exploit, Third Party Advisory Changed Reference Type http://packetstormsecurity.com/files/152476/Horde-Form-Shell-Upload.html No Types Assigned http://packetstormsecurity.com/files/152476/Horde-Form-Shell-Upload.html Exploit, Third Party Advisory, VDB Entry Added CWE CWE-94 Added CPE Configuration OR *cpe:2.3:a:horde:groupware:5.2.17:*:*:*:webmail:*:*:* *cpe:2.3:a:horde:groupware:5.2.22:*:*:*:webmail:*:*:*
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2019-9858
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2019-9858
weaknesses.
Exploit Prediction
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.
94.84 }} 0.63%
score
0.99457
percentile