ZoneMinder versions 1.37.0 before 1.38.0 contain a path traversal vulnerability in the files view that allows authenticated users to read arbitrary files. The path parameter is not properly validated before being passed to output_file, enabling attackers with Events view permission to access sensitive files like configuration files containing database credentials.
{
"cna_assigner": "VulnCheck",
"cwe_ids": [
"CWE-22"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/58xxx/CVE-2024-58386.json"
}{
"extracted_events": [
{
"range": [
{
"introduced": "1.37.0"
},
{
"fixed": "1.38.0"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandardRange"
},
{
"range": [
{
"fixed": "3b379e99c0c1e539334ad4186c15ad0dc6c238b9"
}
],
"source": "REFERENCES_COMMIT"
},
{
"range": [
{
"fixed": "071d968bc8ecd5c4f56a87cbe0c3063bc35dbc5d"
}
],
"source": "REFERENCES_COMMIT"
},
{
"original_tag": "1.38.0",
"range": [
{
"fixed": "39c2cc997beb038aed2e7f17abf372ee3b32e090"
}
],
"source": "REFERENCES_TAG"
}
]
}