An issue was discovered in modaliasphysicalhandler in modalias.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.
[
{
"signature_version": "v1",
"id": "CVE-2018-19052-1be13382",
"target": {
"file": "src/mod_alias.c",
"function": "PHYSICALPATH_FUNC"
},
"source": "https://github.com/lighttpd/lighttpd1.4/commit/2105dae0f9d7a964375ce681e53cb165375f84c1",
"digest": {
"function_hash": "149042138735570835025939466017948242542",
"length": 1029.0
},
"signature_type": "Function",
"deprecated": false
},
{
"signature_version": "v1",
"id": "CVE-2018-19052-387c5170",
"target": {
"file": "src/mod_alias.c"
},
"source": "https://github.com/lighttpd/lighttpd1.4/commit/2105dae0f9d7a964375ce681e53cb165375f84c1",
"digest": {
"threshold": 0.9,
"line_hashes": [
"303192333452448327106390395563064620760",
"80679466272643474847981161116281953383",
"208143731090529638039435268477316973998"
]
},
"signature_type": "Line",
"deprecated": false
}
]