CVE-2021-27312
PHP vulnerability analysis and mitigation

Overview

A Server Side Request Forgery (SSRF) vulnerability exists in Gleez CMS version 1.2.0 that allows remote attackers to execute arbitrary code and obtain sensitive information. The vulnerability occurs when '://' is present in the URL path, causing GleezCMS to use the cURL library to send requests specified by the attacker (GitHub Issue).

Technical details

The vulnerability exists due to improper validation of URLs in the Request::factory function. The $allow_external parameter is set to TRUE by default in the Request::__construct method, which enables support for external proxies. When a URL containing '://' is processed, the application uses cURL to make the request to the specified destination. The vulnerability is particularly concerning because cURL supports the gopher protocol, which can be used to attack php-fpm, redis, memcached and other internal services (GitHub Gist).

Impact

The impact of this vulnerability is severe as it allows attackers to make unauthorized requests to internal services and potentially achieve remote code execution. Through the gopher protocol support, attackers can target internal services like php-fpm, redis, and memcached. This could lead to unauthorized access to sensitive information and potential system compromise (GitHub Issue).

Exploitability

The vulnerability can be exploited by sending specially crafted URLs containing '://' in the path. Example proof-of-concept URLs include 'https://gleezcms.org/http%3A%2F%2Fwww.google.com' and 'https://gleezcms.org/gopher%3A%2F%2F127%2E0%2E0%2E1%3A9000%2F%5Ftest'. The exploitation requires no authentication and can be performed remotely (GitHub Gist).

Additional resources


SourceThis report was generated using AI

Related PHP vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-46670CRITICAL9.8
  • PHP logoPHP
  • yeswiki/yeswiki
NoYesAug 11, 2026
GHSA-wg23-69c2-gjc8CRITICAL9.1
  • PHP logoPHP
  • craftcms/cms
NoYesAug 07, 2026
CVE-2026-71488HIGH7.5
  • PHP logoPHP
  • commonmark
NoYesAug 06, 2026
CVE-2026-62996MEDIUM6.9
  • PHP logoPHP
  • smarty/smarty
NoYesAug 07, 2026
CVE-2026-62992MEDIUM6.9
  • PHP logoPHP
  • smarty/smarty
NoYesAug 07, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management