8.8

CVE-2019-9858: debian debian_linux Path Traversal

CVSS: 8.8v3.1HighModified
AliasesUBUNTU-CVE-2019-9858DEBIAN-CVE-2019-9858DLA-1822-1
Published 29-05-2019Last modified 04-08-2024

Vulnerability summary

CVE-2019-9858 is a high (CVSS 8.8) Path Traversal vulnerability in debian debian_linux. EPSS estimates a 18.83% chance of exploitation in the next 30 days, higher than 97.2% of scored vulnerabilities. 3 public exploits are recorded.

Overall risk
49/100
0100
Medium · default modelHow is this calculated?
CVSS score
8.8/10
010
High · v3.1 (NVD)
EPSS score
18.83%
0%100%
Medium · 0.00 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits3reference, metasploit

Timeline

  1. 29-05-2019
    PublishedVulnerability first disclosed.
  2. 04-08-2024
    Last modifiedVulnerability information updated.

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

CVSS metrics

4 scores · 3 sources · 2 versions

EPSS trend

Probability

18.83%

Chance of exploitation in the next 30 days

Percentile

97%

Versus all other CVEs

30-day change

0.00 pp

From 18.83% on 20-09-2026

20-09-202620-10-2026
EPSS score
18.83%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

3 found
  • referenceUnverified

    Exploit Reference (ssd-disclosure.com)

    Maturity: unknown

  • referenceUnverified

    Exploit Reference (packetstormsecurity.com)

    Maturity: unknown

  • MetasploitMetasploitremoteVerified

    Horde Form File Upload Vulnerability

    exploit/multi/http/horde_form_file_upload

    Maturity: weaponized

Weaknesses

CWE · root cause

Affected systems

Debian2 products
  • php-horde-form< 2.0.18-3.1 | < 2.0.15-1+deb9u1 | < 2.0.8-2+deb8u1
  • debian_linuxEOL8.0 | 9.0
Horde1 product
Ubuntu1 product
  • php-horde-formAll versions (No fix recorded)

3 vendors · 4 products

References

10 links