Directory Traversal Affecting lighttpd-mod_authn_gssapi package, versions <0:1.4.53-1.36.amzn1


Severity

Recommended
medium

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
39.86% (98th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Directory Traversal vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-AMZN201803-LIGHTTPDMODAUTHNGSSAPI-1718378
  • published27 Sept 2021
  • disclosed7 Nov 2018

Introduced: 7 Nov 2018

CVE-2018-19052  (opens in a new tab)
CWE-22  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2018.03 lighttpd-mod_authn_gssapi to version 0:1.4.53-1.36.amzn1 or higher.
This issue was patched in ALAS-2019-1265.

NVD Description

Note: Versions mentioned in the description apply only to the upstream lighttpd-mod_authn_gssapi package and not the lighttpd-mod_authn_gssapi package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2018.03 relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1