cbcvebase.
CVE-2022-29806
published 2022-04-26

CVE-2022-29806: 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…

PriorityP179critical9.8CVSS 3.1
AVNACLPRNUINSUCHIHAH
EXPLOIT
EPSS
66.32%
99.2th percentile
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.

Affected

8 ranges
VendorProductVersion rangeFixed in
debianzoneminder< zoneminder 1.36.13+dfsg1-1 (bookworm)zoneminder 1.36.13+dfsg1-1 (bookworm)
zoneminderzoneminder< 1.36.131.36.13
zoneminderzoneminder>= 0 < 1.36.13+dfsg1-11.36.13+dfsg1-1
zoneminderzoneminder>= 0 < 1.36.13+dfsg1-11.36.13+dfsg1-1
zoneminderzoneminder>= 0 < 1.36.13+dfsg1-11.36.13+dfsg1-1
zoneminderzoneminder>= 0 < 1.29.0+dfsg-1ubuntu2+esm11.29.0+dfsg-1ubuntu2+esm1
zoneminderzoneminder>= 0 < 1.32.3-2ubuntu2+esm11.32.3-2ubuntu2+esm1
zoneminderzoneminder>= 0 < 1.36.12+dfsg1-1ubuntu0.1~esm11.36.12+dfsg1-1ubuntu0.1~esm1

Detection & IOCsextracted from sources · hover to see the quote

urlhttps://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/unix/webapp/zoneminder_lang_exec.rb
  • Monitor ZoneMinder language settings changes to invalid or unexpected language values, which may indicate exploitation of the path traversal vector.
  • Alert on creation of debug log files at arbitrary or unexpected pathnames outside of normal ZoneMinder log directories, as this is a prerequisite step in the exploit chain.
  • Detect exploitation attempts using the Metasploit module 'zoneminder_lang_exec' targeting ZoneMinder versions before 1.36.13 and before 1.37.11 via path traversal in language settings chained with arbitrary file write.
  • ·The vulnerability requires two conditions to be met: a path traversal via invalid language settings AND the ability to write a debug log file to an arbitrary path. Both must be present for successful RCE.
  • ·Debian bullseye remains unpatched/open as of the tracked advisory; only bookworm, forky, sid, and trixie have resolved the issue with 1.36.13+dfsg1-1.

CVSS provenance

nvdv3.19.8CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
nvdv2.07.5HIGHAV:N/AC:L/Au:N/C:P/I:P/A:P
osv9.8CRITICAL
vendor_debian9.8LOW
vendor_ubuntu6.1MEDIUM
CVEs like this are exactly what “Exploited This Week” covers.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.