Skip to content
OpenAdvisories
Unscored Public exploit CVE-2018-19052 EUVD-2018-10769GHSA-f959-jhqc-rqpv

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 …

Published Nov 7, 2018 · Updated Aug 5, 2024 · Assigned by mitre

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 lighttpd 1.4.52-1 —
Debian 13 lighttpd 1.4.52-1 —
Debian 12 lighttpd 1.4.52-1 —
Debian 9 lighttpd 1.4.45-1+deb9u1 DLA-2887-1
ReleasePackageFixed inAdvisory
Ubuntu Pro 18.04 LTS lighttpd 1.4.45-1ubuntu3.18.04.1+esm1 USN-4775-1
Ubuntu Pro 16.04 LTS lighttpd 1.4.35-4ubuntu2.1+esm1 USN-4775-1
Ubuntu Pro 14.04 LTS lighttpd 1.4.33-1+nmu2ubuntu2.1+esm1 USN-4775-1
ReleasePackageFixed inAdvisory
SUSE Package Hub 15 SP1 lighttpd 1.4.54-bp151.4.3.1 openSUSE-SU-2019:2347-1
SUSE Package Hub 15 lighttpd 1.4.54-bp151.4.3.1 openSUSE-SU-2019:2347-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed lighttpd 1.4.59-2.1 openSUSE-SU-2024:10585-1
openSUSE Leap 15.1 lighttpd 1.4.54-bp151.4.3.1 openSUSE-SU-2019:2347-1
openSUSE Leap 15.0 lighttpd 1.4.54-bp151.4.3.1 openSUSE-SU-2019:2347-1

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

GitHub 1 repository

  • iveresk/cve-2018-19052 ★ 1 · Jul 15, 2022

    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…

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Advisories 4

References