CVE-2018-19052 Path traversal in n/a
Attackers can traverse directories to read files if mod_alias is configured with mismatched trailing slashes.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2018-19052?
CVE-2018-19052 is a high-severity path traversal vulnerability in Debian Debian Linux, published on 7 Nov 2018. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
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.
Weakness: CWE-22
Which versions are affected by CVE-2018-19052?
It affects 5 products.
Linux distribution packages (4)
lighttpd SUSE:Package Hub 15 | All versions | 1.4.54-bp151.4.3.1 |
lighttpd SUSE:Package Hub 15 SP1 | All versions | 1.4.54-bp151.4.3.1 |
lighttpd openSUSE:Leap 15.0 | All versions | 1.4.54-bp151.4.3.1 |
lighttpd openSUSE:Leap 15.1 | All versions | 1.4.54-bp151.4.3.1 |
Products include Debian Debian Linux, Lighttpd Lighttpd, Opensuse Backports Sle, Opensuse Leap, Suse Suse Linux Enterprise Server.
How do I fix CVE-2018-19052?
Upgrade to a fixed version.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2018-19052 being exploited?
There is no known exploitation of CVE-2018-19052 in the wild and no public exploit code.
Public exploit code: 1 proofs of concept on GitHub.
Other vulnerabilities in Debian Debian Linux
Sources
Also known as DEBIAN-CVE-2018-19052, DLA-2887-1, GHSA-f959-jhqc-rqpv, UBUNTU-CVE-2018-19052, openSUSE-SU-2019:2347-1.