Cross-Site Request Forgery (CSRF) Affecting org.xwiki.contrib:xwiki-application-admintools package, versions [,4.5.1)


Severity

Recommended
0.0
high
0
10

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

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.08% (36th 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 Learn

Learn about Cross-Site Request Forgery (CSRF) vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JAVA-ORGXWIKICONTRIB-6070619
  • published23 Nov 2023
  • disclosed20 Nov 2023
  • creditUnknown

Introduced: 20 Nov 2023

CVE-2023-48293  (opens in a new tab)
CWE-352  (opens in a new tab)

How to fix?

Upgrade org.xwiki.contrib:xwiki-application-admintools to version 4.5.1 or higher.

Overview

Affected versions of this package are vulnerable to Cross-Site Request Forgery (CSRF) in the query on component tool. This could allow for modifying and deleting all data of the wiki and to create an account with elevated privileges for the attacker.

Workaround

If the query tool is not needed, by deleting the document Admin.SQLToolsGroovy to deactivate all database query tools.

PoC

[[image:path:/xwiki/bin/view/Admin/QueryOnXWiki?query=DELETE%20FROM%20xwikidoc]]

All documents will be deleted from the database when an admin user views this comment.

References

CVSS Base Scores

version 3.1