CVE-2022-24820 Unauthenticated user can list hidden document from multiple velocity templates

Medium 5.3 Published Updated

Unauthenticated users can list hidden documents by rendering specific velocity templates, bypassing view restrictions.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2022-24820?

CVE-2022-24820 is a medium-severity missing authorization vulnerability in Xwiki Xwiki, published on 8 Apr 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

XWiki Platform is a generic wiki platform offering runtime services for applications built on top of it. A guest user without the right to view pages of the wiki can still list documents by rendering some velocity documents. The problem has been patched in XWiki versions 12.10.11, 13.4.4, and 13.9-rc-1. There is no known workaround for this problem.

Weakness: CWE-306, CWE-359

Which versions are affected by CVE-2022-24820?

6 open source packages ship an affected version, including org.xwiki.platform:xwiki-platform-web. It affects 1 product.

PackageAffectedFixed in
org.xwiki.platform:xwiki-platform-web MavenAll versions12.10.11
org.xwiki.platform:xwiki-platform-web MavenAll versions12.10.11
org.xwiki.platform:xwiki-platform-web MavenFrom 13.0.013.4.4
org.xwiki.platform:xwiki-platform-web MavenFrom 13.0.013.4.4
org.xwiki.platform:xwiki-platform-web MavenFrom 13.5.013.9
org.xwiki.platform:xwiki-platform-web MavenFrom 13.5.013.9

Products include Xwiki Xwiki.

How do I fix CVE-2022-24820?

Upgrade org.xwiki.platform:xwiki-platform-web to a fixed version for your release line: 12.10.11, 13.4.4 or 13.9.

Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.

Is CVE-2022-24820 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2022-24820 exists.

All Xwiki Xwiki vulnerabilities

Sources

Also known as GHSA-qpp2-2mcp-2wm5.

Is CVE-2022-24820 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free