Skip to main content

Over 150 LLM Providers · Over 5,300 Models The most extensible AI-powered pentesting platform. Open source. Star on GitHub

CVE-2023-40177

9.9 · CRITICAL
Published Aug 23, 2023 xwiki CWE-95 EPSS 1.06% (62th pctl)

Overview

CVE-2023-40177 is a critical-severity vulnerability affecting xwiki xwiki. It was published on August 23, 2023 and has a CVSS 3.1 base score of 9.9 (CRITICAL).

This vulnerability has a CVSS 3.1 base score of 9.9, rated CRITICAL. It can be exploited remotely over the network. Some level of privileges is required for exploitation.

Technical Description

XWiki Platform is a generic wiki platform offering runtime services for applications built on top of it. Any registered user can use the content field of their user profile page to execute arbitrary scripts with programming rights, thus effectively performing rights escalation. This issue is present since version 4.3M2 when AppWithinMinutes Application added support for the Content field, allowing any wiki page (including the user profile page) to use its content as an AWM Content field, which has a custom displayer that executes the content with the rights of the ``AppWithinMinutes.Content`` author, rather than the rights of the content author. The vulnerability has been fixed in XWiki 14.10.5 and 15.1RC1. The fix is in the content of the AppWithinMinutes.Content page that defines the custom displayer. By using the ``display`` script service to render the content we make sure that the proper author is used for access rights checks.

Remediation

Check the references section for vendor advisories and patches from xwiki. Update xwiki to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Affected Products

Vendor Product Versions Status
xwiki xwiki >= 4.3.1, < 14.10.5 Affected

Frequently Asked Questions

What is CVE-2023-40177?

CVE-2023-40177 is a critical-severity vulnerability affecting xwiki xwiki. It was published on August 23, 2023 and has a CVSS 3.1 base score of 9.9 (CRITICAL).

How severe is CVE-2023-40177?

This vulnerability has a CVSS 3.1 base score of 9.9, rated CRITICAL. It can be exploited remotely over the network. Some level of privileges is required for exploitation.

How do I fix or remediate CVE-2023-40177?

Check the references section for vendor advisories and patches from xwiki. Update xwiki to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2023-40177?

CyberStrike's AI-powered security agents can automatically detect CVE-2023-40177 across your infrastructure using autonomous pentesting, DAST scanning, and HackBrowser. The platform continuously monitors for known vulnerabilities and provides actionable remediation guidance prioritized by real-world exploitability.