CVE-2021-25972:
Camaleon CMS vulnerable to Server-Side Request Forgery
4.9
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.54831%
CWE
Published
5/24/2022
Updated
3/6/2023
KEV Status
No
Technology
Ruby
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
camaleon_cms | rubygems | >= 2.1.2.0, < 2.6.0.1 | 2.6.0.1 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability manifests in the media upload URL handling logic. The 'actions' method in media_controller.rb directly passed user-controlled URLs to cama_tmp_upload without localhost validation. The patch added a local_url? check and error handling precisely in this method, confirming this was the vulnerable flow. The function's responsibility for processing external URL parameters and initiating fetches makes it the SSRF entry point.