CVE-2021-25972 Camaleon CMS - Server-Side Request Forgery (SSRF) in Media Upload Feature

Medium 4.9 Published Updated

Admin users can exploit SSRF in Camaleon CMS media upload to read files from internal servers by bypassing URL validation.

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

What is CVE-2021-25972?

CVE-2021-25972 is a medium-severity server-side request forgery vulnerability in camaleon_cms, published on 20 Oct 2021. An attacker needs administrator access to exploit it, with no action from the victim.

Official description

In Camaleon CMS, versions 2.1.2.0 to 2.6.0, are vulnerable to Server-Side Request Forgery (SSRF) in the media upload feature, which allows admin users to fetch media files from external URLs but fails to validate URLs referencing to localhost or other internal servers. This allows attackers to read files stored in the internal server.

Weakness: CWE-918

Which versions are affected by CVE-2021-25972?

2 open source packages ship an affected version, including camaleon_cms. It affects 1 product.

PackageAffectedFixed in
camaleon_cms RubyGemsFrom 2.1.2.02.6.0.1
camaleon_cms RubyGemsFrom 2.1.2.02.6.0.1

Products include Tuzitio Camaleon Cms.

How do I fix CVE-2021-25972?

Upgrade camaleon_cms to 2.6.0.1 or later.

Upgrade, and send outbound requests through an allow-list that blocks internal addresses. More about Server-side request forgery.

Is CVE-2021-25972 being exploited?

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

Sources

Also known as GHSA-vx6p-q4gj-x6xx.

Is CVE-2021-25972 in your software?

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

Check your SBOMs for free