ZNC before 1.7.1-rc1 is prone to a path traversal flaw via ../ in a web skin name to access files outside of the intended skins directories.
[
{
"signature_type": "Function",
"target": {
"function": "CWebSock::GetSkinPath",
"file": "src/WebModules.cpp"
},
"source": "https://github.com/znc/znc/commit/a4a5aeeb17d32937d8c7d743dae9a4cc755ce773",
"digest": {
"length": 324.0,
"function_hash": "230239668005739726547415841134892702946"
},
"id": "CVE-2018-14056-520b6c12",
"signature_version": "v1",
"deprecated": false
},
{
"signature_type": "Line",
"target": {
"file": "src/WebModules.cpp"
},
"source": "https://github.com/znc/znc/commit/a4a5aeeb17d32937d8c7d743dae9a4cc755ce773",
"digest": {
"line_hashes": [
"317629045933835914814329189593651256713",
"232453281137543700062677396828761595611",
"95850806842429227230092879311385366203",
"16706244423504679049760187812381908990",
"154665892332439519549797513188972957449",
"319273650834360086546577451806642157682",
"292119683161844694741004784656480862389",
"5762613768222406744701999058322446306"
],
"threshold": 0.9
},
"id": "CVE-2018-14056-7ffe5bc2",
"signature_version": "v1",
"deprecated": false
}
]