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
- Unveiling AI Agent Vulnerabilities Part V: Securing LLM ServicesTo conclude our series on agentic AI, this article examines emerging vulnerabilities that threaten AI agents, focusing on providing proactive security recommendations on areas such as code execution, data exfiltration, and database access.Read more
- Unveiling AI Agent Vulnerabilities Part IV: Database Access VulnerabilitiesHow can attackers exploit weaknesses in database-enabled AI agents? This research explores how SQL generation vulnerabilities, stored prompt injection, and vector store poisoning can be weaponized by attackers for fraudulent activities.Read more
- The Mirage of AI Programming: Hallucinations and Code IntegrityThe adoption of large language models (LLMs) and Generative Pre-trained Transformers (GPTs), such as ChatGPT, by leading firms like Microsoft, Nuance, Mix and Google CCAI Insights, drives the industry towards a series of transformative changes. As the use of these new technologies becomes prevalent, it is important to understand their key behavior, advantages, and the risks they present.Read more
- Open RAN: Attack of the xAppsThis article discusses two O-RAN vulnerabilities that attackers can exploit. One vulnerability stems from insufficient access control, and the other arises from faulty message handlingRead more