A file disclosure and inclusion vulnerability exists in web/views/file.php in ZoneMinder 1.x through v1.30.0 because of unfiltered user-input being passed to readfile(), which allows an authenticated attacker to read local system files (e.g., /etc/passwd) in the context of the web server user (www-data). The attack vector is a .. (dot dot) in the path parameter within a zm/index.php?view=file&path= request.
{
"extracted_events": [
{
"cpe": "cpe:2.3:a:zoneminder:zoneminder:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"last_affected": "1.30.0"
}
],
"source": "CPE_RANGE"
},
{
"range": [
{
"fixed": "8b19fca9927cdec07cc9dd09bdcf2496a5ae69b3"
}
],
"source": "REFERENCES_COMMIT"
}
]
}