Threats / PHP / CVE-2012-1823
CVE-2012-1823
· EUVD no mirror located
· GCVE no mirror located
Verified 2026-06-22
PHP vulnerability
PHP CGI mode improperly handles query strings, allowing remote code execution through specially crafted requests.
Verdict
Today item — known-exploited.
A query string handling flaw in PHP's CGI SAPI enables unauthenticated remote attackers to execute arbitrary code on affected servers. The vulnerability has been actively exploited in the wild and carries high severity due to its ease of exploitation and direct code execution impact.
01
Is it exploitable?
— the evidence, ranked above the scoreExploit available
Fully weaponized — public exploit code is cataloged for this vulnerability.We link the existence of the exploit; we do not host or redistribute payloads.
Reported exploitation
16 independent public reports of in-the-wild exploitation are cataloged.Distinct reporting sources (vendor, incident response, government); open them for the underlying claims.
Exploited in the wild
Listed in the CISA Known Exploited Vulnerabilities catalog (added 2022-03-25).
Probability (EPSS)
EPSS 0.99998 — modeled likelihood of exploitation activity.EPSS is a daily-changing model output — open the source for today's value.
Severity / affected
Affected: PHP, PHP. Confirm exact fixed builds in the vendor advisory.
Weakness (CWE)
Mapped to CWE-20 Improper Input Validation.CWE assignment from the public NVD record; the weakness class drives how the flaw is exploited.
02
Who’s exploiting it?
— attribution turns risk into urgencyAttribution not established
No confirmed (advisory-backed) threat-actor attribution is established for this record. Absence of a named actor is not absence of compromise — see Coverage & confidence.
03
Why it matters
— the attack path, told twice: adversary, then board1
Front door — unauthenticated access narrative 1
Attacker
I craft a malicious query string targeting a PHP CGI endpoint to bypass input validation.
Business
Web application becomes compromised, exposing customer data and internal systems to unauthorized access.
2
Keys to the kingdom — privilege/identity takeover narrative 2
Attacker
I execute arbitrary PHP code on the server through the unvalidated query string parameter.
Business
Attackers gain persistent foothold, enabling data theft, service disruption, and lateral movement within infrastructure.
3
Lateral reach — past segmentation narrative 3
Attacker
I establish command execution capabilities to deploy malware or establish reverse shells.
Business
Organization faces operational downtime, forensic costs, regulatory penalties, and reputational damage from security breach.
04
What to do
— defensible action- Remediate per the vendor advisory — confirm the fixed build for your version and verify exposure.1
Say it to the boardA vulnerability with this evidence profile is a defensible budget line, not a backlog ticket — fund the change against the proof above.
05