Security advisory
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2017-5595
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 09:45 UTC · Revision 1
Source evidence
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.
osv:CVE-2017-5595
Complete source record
{
"id": "d8e7a1fd74eeae3243f0bef27b3e3b9a50d78ce3cb06cdd59cf9cb5dff92deac",
"url": "https://osv.dev/vulnerability/CVE-2017-5595",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2017-5595",
"summary": "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.",
"evidence": "osv:CVE-2017-5595",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2017-5595",
"aliases": [
"CVE-2017-5595"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/zoneminder/zoneminder",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"last_affected": "e7aed10f77315505fa15f801e08ca2bb9f48e6e3"
},
{
"fixed": "8b19fca9927cdec07cc9dd09bdcf2496a5ae69b3"
}
],
"database_specific": {
"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"
}
]
}
}
],
"versions": [
"v1.30.0",
"v1.30.0-rc2",
"v1.30.0-rc1",
"v1.29.0",
"v1.27.0",
"v1.26.5",
"v1.26.3",
"v1.26.2",
"v1.26.1",
"v1.26.0",
"v1.25"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2017-5595.json"
}
}
],
"modified": "2026-10-20T10:47:50.065459007Z",
"provider": "osv",
"references": [
"https://github.com/ZoneMinder/ZoneMinder/commit/8b19fca9927cdec07cc9dd09bdcf2496a5ae69b3"
],
"provider_metadata": {}
},
"related_cves": [
{
"value": "CVE-2017-5595",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 379758,
"published_at": "2017-02-06T17:59:00.577+00:00"
}