PHP-CGI Query String Parameter Vulnerability
Publish date: July 21, 2015
Severity: HIGH
CVE Identifier: CVE-2012-1823
Advisory Date: JUL 21, 2015
DESCRIPTION
sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI script (aka php-cgi), does not properly handle query strings that lack an = (equals sign) character, which allows remote attackers to execute arbitrary code by placing command-line options in the query string, related to lack of skipping a certain php_getopt for the 'd' case.
TREND MICRO PROTECTION INFORMATION
Apply associated Trend Micro DPI Rules.
SOLUTION
Trend Micro Deep Security DPI Rule Number: 1004998
Trend Micro Deep Security DPI Rule Name: 1004998 - PHP-CGI Query String Parameter Vulnerability
AFFECTED SOFTWARE AND VERSION
- php php 5.0.0
- php php 5.0.1
- php php 5.0.2
- php php 5.0.3
- php php 5.0.4
- php php 5.0.5
- php php 5.1.0
- php php 5.1.1
- php php 5.1.2
- php php 5.1.3
- php php 5.1.4
- php php 5.1.5
- php php 5.1.6
- php php 5.2.0
- php php 5.2.1
- php php 5.2.10
- php php 5.2.11
- php php 5.2.12
- php php 5.2.13
- php php 5.2.14
- php php 5.2.15
- php php 5.2.16
- php php 5.2.17
- php php 5.2.2
- php php 5.2.3
- php php 5.2.4
- php php 5.2.5
- php php 5.2.6
- php php 5.2.7
- php php 5.2.8
- php php 5.2.9
- php php 5.3.0
- php php 5.3.1
- php php 5.3.10
- php php 5.3.11
- php php 5.3.2
- php php 5.3.3
- php php 5.3.4
- php php 5.3.5
- php php 5.3.6
- php php 5.3.7
- php php 5.3.8
- php php 5.3.9
- php php 5.4.0
- php php 5.4.1
Featured Stories
When AI Becomes a Zero-Day Machine: What Public Sector Organizations Need to KnowClaude Mythos Preview shows how AI can rapidly discover and weaponize zero-day vulnerabilities—transforming once human-scale threats into machine-speed attacks. As these capabilities spread, public sector organizations must rely on trusted, proactive defenders like TrendAI™ ZDI to stay ahead of an AI-driven threat landscape.Read more
Hunt Them All: An AI-Powered Vulnerability Sweep of 19,000 MCP ServersIn this research, we analyzed over 19,000 open-source MCP server repositories to uncover how much AI-generated code they contain and how many harbor exploitable vulnerabilities.Read more
Update on Exposed MCP Servers: The Threat Widens to the CloudExposed Model Context Protocol (MCP) servers have become powerful vectors for cloud attacks, enabling threat actors to not only access sensitive data but also take control of the cloud services themselves.Read more
Old Vulnerabilities, New AI Era, Amplified Risk: How Outdated Flaws Continue to Fuel the N-Day Exploit MarketEven as AI adoption accelerates, old exploits remain overlooked weaknesses. Underground trends show a renewed demand for exploits, with cybercriminals relying on aging but still effective vulnerabilities. We examine this blind spot and why long-standing issues need to be addressed.Read more