CVE-2021-3312 XML External Entity Reference in org.opencms:opencms-core

Medium 6.5 Published Updated

Authenticated users with edit privileges can exfiltrate server files via crafted SVG documents in OpenCms.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2021-3312?

CVE-2021-3312 is a medium-severity vulnerability in n/a, published on 8 Oct 2021. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

An XML external entity (XXE) vulnerability in Alkacon OpenCms 11.0, 11.0.1 and 11.0.2 allows remote authenticated users with edit privileges to exfiltrate files from the server's file system by uploading a crafted SVG document.

Weakness: CWE-611

Which versions are affected by CVE-2021-3312?

2 open source packages ship an affected version, including org.opencms:opencms-core. It affects 1 product.

PackageAffectedFixed in
org.opencms:opencms-core MavenFrom 11.0.012.0.0
org.opencms:opencms-core MavenFrom 11.0.012.0.0

Products include Alkacon Opencms.

How do I fix CVE-2021-3312?

Upgrade org.opencms:opencms-core to 12.0.0 or later.

Is CVE-2021-3312 being exploited?

There is no known exploitation of CVE-2021-3312 in the wild and no public exploit code.

Sources

Also known as GHSA-g6v7-vqhx-6v6c.

Is CVE-2021-3312 in your software?

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

Check your SBOMs for free