CVE-2021-25972 Camaleon CMS - Server-Side Request Forgery (SSRF) in Media Upload Feature
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.
| Package | Affected | Fixed in |
|---|---|---|
camaleon_cms RubyGems | From 2.1.2.0 | 2.6.0.1 |
camaleon_cms RubyGems | From 2.1.2.0 | 2.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.
Other vulnerabilities in camaleon_cms
- CVE-2024-46986 Arbitrary file write leading to RCE in Camaleon CMS
- CVE-2023-30145 Server-Side Template Injection in Camaleon CMS
- CVE-2021-25970 Camaleon CMS - Insufficient Session Expiration after Password Change
- CVE-2024-46987 Arbitrary path traversal in Camaleon CMS
- CVE-2021-25969 Camaleon CMS - Stored Cross-Site Scripting (XSS) in Comments
Sources
Also known as GHSA-vx6p-q4gj-x6xx.