ZoneMinder prior 1.36.27/1.37.24 Log File cross site scripting

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.
5.4$0-$5k0.00

Summaryinfo

A vulnerability identified as problematic has been detected in ZoneMinder. This vulnerability affects unknown code of the component Log Handler. Performing a manipulation of the argument File results in cross site scripting. This vulnerability is known as CVE-2022-39285. Remote exploitation of the attack is possible. Furthermore, an exploit is available. You should upgrade the affected component.

Detailsinfo

A vulnerability was found in ZoneMinder (Video Surveillance Software). It has been classified as problematic. This affects some unknown functionality of the component Log Handler. The manipulation of the argument file with an unknown input leads to a cross site scripting vulnerability. CWE is classifying the issue as CWE-79. The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users. This is going to have an impact on integrity. The summary by CVE is:

ZoneMinder is a free, open source Closed-circuit television software application The file parameter is vulnerable to a cross site scripting vulnerability (XSS) by backing out of the current "tr" "td" brackets. This then allows a malicious user to provide code that will execute when a user views the specific log on the "view=log" page. This vulnerability allows an attacker to store code within the logs that will be executed when loaded by a legitimate user. These actions will be performed with the permission of the victim. This could lead to data loss and/or further exploitation including account takeover. This issue has been addressed in versions `1.36.27` and `1.37.24`. Users are advised to upgrade. Users unable to upgrade should disable database logging.

The weakness was published 10/08/2022 as GHSA-h6xp-cvwv-q433. The advisory is shared at github.com. This vulnerability is uniquely identified as CVE-2022-39285 since 09/02/2022. It demands that the victim is doing some kind of user interaction. Technical details and a public exploit are known. MITRE ATT&CK project uses the attack technique T1059.007 for this issue.

The exploit is shared for download at exploit-db.com. It is declared as proof-of-concept.

Upgrading to version 1.36.27 or 1.37.24 eliminates this vulnerability. Applying the patch c0a4c05e84eea0f6ccf7169c014efe5422c9ba0d is able to eliminate this problem. The bugfix is ready for download at github.com. The best possible mitigation is suggested to be upgrading to the latest version.

The vulnerability is also documented in the vulnerability database at Exploit-DB (51071). Several companies clearly confirm that VulDB is the primary source for best vulnerability data.

Productinfo

Type

Name

License

Website

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 5.5
VulDB Meta Temp Score: 5.4

VulDB Base Score: 3.5
VulDB Temp Score: 3.2
VulDB Vector: 🔍
VulDB Reliability: 🔍

NVD Base Score: 5.4
NVD Vector: 🔍

CNA Base Score: 7.6
CNA Vector (GitHub, Inc.): 🔍

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock

VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍

Exploitinginfo

Class: Cross site scripting
CWE: CWE-79 / CWE-94 / CWE-74
CAPEC: 🔍
ATT&CK: 🔍

Physical: No
Local: No
Remote: Yes

Availability: 🔍
Access: Public
Status: Proof-of-Concept
Download: 🔍

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Exploit-DB: 🔍

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

0-Day Time: 🔍

Upgrade: ZoneMinder 1.36.27/1.37.24
Patch: c0a4c05e84eea0f6ccf7169c014efe5422c9ba0d

Timelineinfo

09/02/2022 🔍
10/08/2022 +36 days 🔍
10/08/2022 +0 days 🔍
04/29/2025 +934 days 🔍

Sourcesinfo

Product: github.com

Advisory: GHSA-h6xp-cvwv-q433
Status: Confirmed

CVE: CVE-2022-39285 (🔍)
GCVE (CVE): GCVE-0-2022-39285
GCVE (VulDB): GCVE-100-210345
scip Labs: https://www.scip.ch/en/?labs.20161013

Entryinfo

Created: 10/08/2022 09:15
Updated: 04/29/2025 10:14
Changes: 10/08/2022 09:15 (33), 10/08/2022 09:16 (20), 10/31/2022 11:59 (9), 12/20/2024 17:57 (23), 04/29/2025 10:14 (3)
Complete: 🔍
Cache ID: 216::103

Several companies clearly confirm that VulDB is the primary source for best vulnerability data.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Are you interested in using VulDB?

Download the whitepaper to learn more about our service!