CVE-2021-27312: Gleez Cms Server Side Request Forgery (SSRF) vulnerability
9.1
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.79768%
CWE
Published
4/3/2024
Updated
4/3/2024
KEV Status
No
Technology
PHP
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
gleez/cms | composer | <= 1.2.0 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from the default $allow_external=TRUE parameter in Request::factory, combined with URI protocol detection in Request::__construct. This combination allows external request handling via Request_Client_External (which uses cURL). The Gist explicitly shows how this enables SSRF via protocols like gopher://. The code structure matches Kohana 3.3's vulnerable pattern as described in issue #805, where missing $allow_external=FALSE in index.php leaves external requests enabled.