Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection') Affecting org.xwiki.platform:xwiki-platform-scheduler-ui package, versions [2.0.1,14.10.3)


Severity

Recommended
0.0
critical
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of concept
EPSS
0.37% (73rd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-JAVA-ORGXWIKIPLATFORM-5441631
  • published21 Apr 2023
  • disclosed20 Apr 2023
  • creditUnknown

Introduced: 20 Apr 2023

CVE-2023-29524  (opens in a new tab)
CWE-74  (opens in a new tab)

How to fix?

Upgrade org.xwiki.platform:xwiki-platform-scheduler-ui to version 14.10.3 or higher.

Overview

Affected versions of this package are vulnerable to Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection') such that it is possible to execute anything with the right of the Scheduler Application sheet page.

PoC

  1. As a user without script or programming rights, edit your user profile with the object editor and add a new object of type XWiki.SchedulerJobClass (search for "Scheduler")

  2. In "Job Script", add the following

{{/code}} {{async async="true" cached="false" context="doc.reference"}}{{groovy}}println("Hello " + "from groovy!"){{/groovy} {{/async}}

  1. Click "Save & View"

  2. If the job information isn't already displayed (you should see "Job Name", "Job Description", etc.), append ?sheet=XWiki.SchedulerJobSheet to the URL.

CVSS Scores

version 3.1