Path Traversal in Lighttpd
CVE-2018-19052
An issue was discovered in mod_alias_physical_handler in mod_alias.c in lighttpd before 1.4.50. There is potential ../ path traversal of a single directory above an alias target, with a specific mod_alias configuration where the matched alias lacks a trailing '/' character, but the alias target filesystem path does have a trailing '/' character.
Vulnerability class: Path Traversal (Directory Traversal)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N.
EPSS exploit prediction
EPSS 0.137, 96.6th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Lighttpd
- Debian Linux — versions 9.0
- openSUSE Backports Sle — versions 15.0
- openSUSE Leap — versions 15.0, 15.1
- SUSE Linux Enterprise Server — versions 11, 12
Weakness classification (CWE)
Public exploits and proof-of-concept code
1 public repository with exploit or proof-of-concept code for this CVE:
- iveresk/cve-2018-19052 (1 star, last pushed 2022-08-17): PoC for a security: potential path traversal with specific configs, if `mod_dirlisting` were enabled, which is not the default, this would result in listing the contents of the directory above the al…
Also mentioned in 6 other repositories (20142995/nuclei-templates, ARPSyndicate/cvemon, cyb3r-w0lf/nuclei-template-collection, …). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- github.com/lighttpd/lighttpd1.4/commit/2105dae0f9d7a964375ce681e53cb165375f84c1 (Exploit, Vendor Advisory)
- openSUSE-SU-2019:2347 (vendor-advisory, Mailing List, Third Party Advisory)
- [debian-lts-announce] 20220118 [SECURITY] [DLA 2879-1] lighttpd security update (mailing-list, Mailing List, Third Party Advisory)
This CVE has public exploit evidence. See the latest CVEs with public exploits.