CVE & CISA-KEV Catalog

CVE-2023-41046

MEDIUM
6.3
CVSS v3
NVD

Description

XWiki Platform is a generic wiki platform offering runtime services for applications built on top of it. It is possible in XWiki to execute Velocity code without having script right by creating an XClass with a property of type "TextArea" and content type "VelocityCode" or "VelocityWiki". For the former, the syntax of the document needs to be set the `xwiki/1.0` (this syntax doesn't need to be installed). In both cases, when adding the property to an object, the Velocity code is executed regardless of the rights of the author of the property (edit right is still required, though). In both cases, the code is executed with the correct context author so no privileged APIs can be accessed. However, Velocity still grants access to otherwise inaccessible data and APIs that could allow further privilege escalation. At least for "VelocityCode", this behavior is most likely very old but only since XWiki 7.2, script right is a separate right, before that version all users were allowed to execute Velocity and thus this was expected and not a security issue. This has been patched in XWiki 14.10.10 and 15.4 RC1. Users are advised to upgrade. There are no known workarounds.

How to fix

Remediation Available
xwikiNVD
Affected:>= 15.0, < 15.4Fixed in:15.4CVE-2023-41046derived from NVD

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorNetwork
Attack ComplexityLow
Privileges RequiredLow
User InteractionNone
ScopeUnchanged

Impact

ConfidentialityLow
IntegrityLow
AvailabilityLow

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L

Exploit Intelligence

0.45%probability of exploitation in 30 days
36thpercentile

Low risk: more likely to be exploited than 36% of all known CVEs.

References

Related Vulnerabilities

Other CWE-862 (Missing Authorization) vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2021-39226Critical9.8100%KEVFix
CVE-2022-0543Critical10.0100%KEVFix
CVE-2021-21978Critical9.899%-Fix
CVE-2023-52163High8.896%KEV-
CVE-2022-1329High8.893%--
CVE-2023-6875Critical9.890%--
Embed a live status badge for CVE-2023-41046
CVE-2023-41046 severity badge

Markdown

[![CVE-2023-41046](https://tridentstack.com/cve/badge/CVE-2023-41046.svg)](https://tridentstack.com/cve/CVE-2023-41046)

HTML

<a href="https://tridentstack.com/cve/CVE-2023-41046"><img src="https://tridentstack.com/cve/badge/CVE-2023-41046.svg" alt="CVE-2023-41046"></a>

Find and fix vulnerabilities across your fleet

TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.

Start free

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2024-11-21.