{"id":"CVE-2022-29806","aliases":["DEBIAN-CVE-2022-29806","EUVD-2022-34127","GHSA-xr7v-8xc4-62vc","UBUNTU-CVE-2022-29806","USN-5889-1"],"status":"published","title":"ZoneMinder before 1.36.13 allows remote code execution via an invalid language.","description":"ZoneMinder before 1.36.13 allows remote code execution via an invalid language. Ability to create a debug log file at an arbitrary pathname contributes to exploitability.","severity":{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-11","score":0.67128,"percentile":0.9931,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":true,"fix_available":true},"cwes":["CWE-22"],"published":"2022-04-26T03:15:08Z","modified":"2026-11-03T06:02:35Z","exploits":[{"source":"metasploit","id":"exploit/unix/webapp/zoneminder_lang_exec","title":"ZoneMinder Language Settings Remote Code Execution","type":"exploit","platform":"PHP","date":"2022-04-27","verified":true,"url":"https://www.rapid7.com/db/modules/exploit/unix/webapp/zoneminder_lang_exec"},{"source":"pocgithub","id":"Sigm0n/CVE-2022-29806","title":"Sigm0n/CVE-2022-29806","date":"2025-04-28","url":"https://github.com/Sigm0n/CVE-2022-29806"}],"fixes":[{"ecosystem":"Debian:12","package":"zoneminder","fixed_in":["1.36.13+dfsg1-1"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"zoneminder","fixed_in":["1.36.13+dfsg1-1"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"zoneminder","fixed_in":["1.36.13+dfsg1-1"],"sources":["osv"]},{"ecosystem":"Ubuntu:Pro:16.04:LTS","package":"zoneminder","fixed_in":["1.29.0+dfsg-1ubuntu2+esm1"],"sources":["osv"]},{"ecosystem":"Ubuntu:Pro:20.04:LTS","package":"zoneminder","fixed_in":["1.32.3-2ubuntu2+esm1"],"sources":["osv"]},{"ecosystem":"Ubuntu:Pro:22.04:LTS","package":"zoneminder","fixed_in":["1.36.12+dfsg1-1ubuntu0.1~esm1"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:12","package":"zoneminder","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.36.13+dfsg1-1"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"zoneminder","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.36.13+dfsg1-1"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"zoneminder","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.36.13+dfsg1-1"}]}]},{"source":"osv","ecosystem":"Ubuntu:Pro:16.04:LTS","package":"zoneminder","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.29.0+dfsg-1ubuntu2+esm1"}]}],"versions":["1.28.1-8","1.29.0+dfsg-1","1.29.0+dfsg-1ubuntu1","1.29.0+dfsg-1ubuntu2"]},{"source":"osv","ecosystem":"Ubuntu:Pro:20.04:LTS","package":"zoneminder","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.32.3-2ubuntu2+esm1"}]}],"versions":["1.32.3-2build1","1.32.3-2ubuntu1","1.32.3-2ubuntu2"]},{"source":"osv","ecosystem":"Ubuntu:Pro:22.04:LTS","package":"zoneminder","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.36.12+dfsg1-1ubuntu0.1~esm1"}]}],"versions":["1.36.7+dfsg1-1","1.36.10+dfsg1-1","1.36.11+dfsg1-1","1.36.12+dfsg1-1"]},{"source":"osv","ecosystem":"Ubuntu:Pro:16.04:LTS","package":"zoneminder","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.29.0+dfsg-1ubuntu2+esm1"}]}],"versions":["1.28.1-8","1.29.0+dfsg-1","1.29.0+dfsg-1ubuntu1","1.29.0+dfsg-1ubuntu2"],"bundled":13},{"source":"osv","ecosystem":"Ubuntu:Pro:20.04:LTS","package":"zoneminder","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.32.3-2ubuntu2+esm1"}]}],"versions":["1.32.3-2build1","1.32.3-2ubuntu1","1.32.3-2ubuntu2"],"bundled":13},{"source":"osv","ecosystem":"Ubuntu:Pro:22.04:LTS","package":"zoneminder","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.36.12+dfsg1-1ubuntu0.1~esm1"}]}],"versions":["1.36.7+dfsg1-1","1.36.10+dfsg1-1","1.36.11+dfsg1-1","1.36.12+dfsg1-1"],"bundled":13}],"products":[{"vendor":"zoneminder","product":"zoneminder"}],"references":[{"url":"https://forums.zoneminder.com/viewtopic.php?t=31638","tags":["x_refsource_MISC","x_transferred","Release Notes","Vendor Advisory","web","report"]},{"url":"https://github.com/ZoneMinder/zoneminder/releases/tag/1.36.13","tags":["x_refsource_MISC","x_transferred","Release Notes","Third Party Advisory","web","report"]},{"url":"https://github.com/ZoneMinder/zoneminder/commit/9fee64b62fbdff5bf5ece1d617f1f53c7b1967cb","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","fix","report"]},{"url":"https://krastanoel.com/cve/2022-29806","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","web","report"]},{"url":"http://packetstormsecurity.com/files/166980/ZoneMinder-Language-Settings-Remote-Code-Execution.html","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-29806","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-xr7v-8xc4-62vc"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/29xxx/CVE-2022-29806.json","tags":["advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2022-29806","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2022-29806","tags":["report"]},{"url":"https://ubuntu.com/security/notices/USN-5889-1","tags":["advisory"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2022-29806","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2019-6777","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2019-6990","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2019-6991","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2019-6992","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2019-7325","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2019-7326","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2019-7327","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2019-7328","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2019-7329","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2019-7330","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2019-7331","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2019-7332","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2022-29806","description":"ZoneMinder before 1.36.13 allows remote code execution via an invalid language. Ability to create a debug log file at an arbitrary pathname contributes to exploitability.","status":"published","published":"2022-04-26T03:15:08Z","modified":"2024-08-03T06:33:42.792Z","updated_at":"2026-11-02T14:34:36.270817Z"}],"euvd":[{"id":"EUVD-2022-34127","description":"ZoneMinder before 1.36.13 allows remote code execution via an invalid language. Ability to create a debug log file at an arbitrary pathname contributes to exploitability.","status":"published","published":"2022-04-26T03:15:08Z","modified":"2024-08-03T06:33:42Z","updated_at":"2026-11-03T03:25:37.579336Z"}],"ghsa":[{"id":"GHSA-xr7v-8xc4-62vc","title":"ZoneMinder before 1.36.13 allows remote code execution via an invalid language.","description":"ZoneMinder before 1.36.13 allows remote code execution via an invalid language.","status":"published","published":"2022-04-27T00:00:21Z","modified":"2023-01-30T05:00:28Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"cwes":["CWE-22"],"updated_at":"2026-11-02T14:46:12.604648Z"}],"nvd":[{"id":"CVE-2022-29806","description":"ZoneMinder before 1.36.13 allows remote code execution via an invalid language. Ability to create a debug log file at an arbitrary pathname contributes to exploitability.","status":"published","published":"2022-04-26T04:15:42.487Z","modified":"2026-06-17T04:40:44.717Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary"},{"version":"2.0","score":7.5,"vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","level":"high","assessor":"primary"}],"cwes":["CWE-22"],"updated_at":"2026-11-02T14:07:18.660414Z"}],"osv":[{"id":"UBUNTU-CVE-2022-29806","description":"ZoneMinder before 1.36.13 allows remote code execution via an invalid language. Ability to create a debug log file at an arbitrary pathname contributes to exploitability.","status":"published","published":"2022-04-26T04:15:00Z","modified":"2026-02-04T03:08:30.628152Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T16:53:53.899276Z"},{"id":"CVE-2022-29806","description":"ZoneMinder before 1.36.13 allows remote code execution via an invalid language. Ability to create a debug log file at an arbitrary pathname contributes to exploitability.","status":"published","published":"2022-04-26T03:15:08Z","modified":"2026-10-28T02:30:58.472268935Z","updated_at":"2026-11-02T15:44:25.164673Z"},{"id":"DEBIAN-CVE-2022-29806","description":"ZoneMinder before 1.36.13 allows remote code execution via an invalid language. Ability to create a debug log file at an arbitrary pathname contributes to exploitability.","status":"published","published":"2022-04-26T04:15:42.487Z","modified":"2026-11-03T06:02:35.287634132Z","updated_at":"2026-11-03T06:44:05.456691Z"},{"id":"USN-5889-1","title":"zoneminder vulnerabilities","description":"It was discovered that ZoneMinder was not properly sanitizing URL\nparameters for certain views. An attacker could possibly use this issue to\nperform a cross-site scripting (XSS) attack. This issue was only fixed in\nUbuntu 16.04 ESM. (CVE-2019-6777)\n\nIt was discovered that ZoneMinder was not properly sanitizing stored user\ninput later printed to the user in certain views. An attacker could\npossibly use this issue to perform a cross-site scripting (XSS) attack.\nThis issue was only fixed in Ubuntu 16.04 ESM. (CVE-2019-6990,\nCVE-2019-6992)\n\nIt was discovered that ZoneMinder was not properly limiting data size and\nnot properly performing bound checks when processing username and password\ndata, which could lead to a stack buffer overflow. An attacker could\npossibly use this issue to bypass authentication, cause a denial of\nservice or execute arbitrary code. This issue was only fixed in Ubuntu\n16.04 ESM. (CVE-2019-6991)\n\nIt was discovered that ZoneMinder was not properly defining and filtering\ndata that was appended to the webroot URL of a view. An attacker could\npossibly use this issue to perform cross-site scripting (XSS) attacks.\nThis issue was only fixed in Ubuntu 16.04 ESM and Ubuntu 20.04 ESM.\n(CVE-2019-7325, CVE-2019-7329)\n\nIt was discovered that ZoneMinder was not properly sanitizing stored user\ninput later printed to the user in certain views. An attacker could\npossibly use this issue to perform a cross-site scripting (XSS) attack.\nThis issue was only fixed in Ubuntu 20.04 ESM. (CVE-2019-7326)\n\nIt was discovered that ZoneMinder was not properly sanitizing URL\nparameters for certain views. An attacker could possibly use this issue to\nperform a cross-site scripting (XSS) attack. This issue was only fixed in\nUbuntu 20.04 ESM. (CVE-2019-7327, CVE-2019-7328, CVE-2019-7330,\nCVE-2019-7332)\n\nIt was discovered that ZoneMinder was not properly sanitizing user input\nin the monitor editing view. An attacker could possibly use this issue to\nperform a cross-site scripting (XSS) attack. This issue was only fixed in\nUbuntu 16.04 ESM and Ubuntu 20.04 ESM. (CVE-2019-7331)\n\nIt was discovered that ZoneMinder was not properly sanitizing data related\nto file paths in a system. An attacker could possibly use this issue to\nexecute arbitrary code. (CVE-2022-29806)\n","status":"published","published":"2023-02-27T11:46:16Z","modified":"2026-06-25T13:31:47.652342659Z","updated_at":"2026-11-02T16:58:16.738762Z"}]}}
