CVE-2015-8562: Unauthenticated PHP Object Injection RCE in Joomla!
- Vendor
- Joomla
CVE-2015-8562 is a PHP object injection vulnerability affecting Joomla! 1.5.x, 2.x, and 3.x before 3.4.6. Unauthenticated remote attackers can submit crafted HTTP User-Agent headers that become part of serialized session data. In the demonstrated exploit chain, MySQL silently truncates this data at a four-byte UTF-8 character, and vulnerable PHP session decoding subsequently interprets the malformed data as attacker-controlled objects. A destructor chain involving JDatabaseDriverMysqli and SimplePie invokes attacker-controlled code through assert(), resulting in arbitrary PHP code execution. Exploitation was observed in December 2015 before the patch release.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Successful exploitation allows unauthenticated remote attackers to execute arbitrary PHP code in the affected Joomla! application. Exploitation can enable attacker-controlled server-side operations, including backdoor installation. The vulnerability has been exploited in the wild and incorporated into automated exploitation tools and the Sysrv botnet's exploit arsenal.
Mitigation
If you can’t patch tonight, do this now.
Enable MySQL STRICT_TRANS_TABLES or STRICT_ALL_TABLES to reject invalid character data rather than silently truncating it. Using the utf8mb4 character set for session storage avoids the specific four-byte UTF-8 truncation behavior involved in the demonstrated exploit chain. These measures address contributing database behavior and do not replace Joomla! and PHP updates.
Remediation
Patch, then assume compromise.
Upgrade Joomla! to a release containing the fix introduced in version 3.4.6. Address the associated PHP session-decoding vulnerability, CVE-2015-6835, by applying applicable distribution patches or upgrading beyond the affected PHP versions. Historical PHP fixes were introduced in 5.4.45, 5.5.29, and 5.6.13; PHP 7.0.0 or later was also identified as addressing this decoding issue.
Exploits
3 exploits validated by Mallory's analysis. Hidden: 1 rejected by Mallory's analysis as not a working exploit; 2 not yet analyzed, such as Exploit-DB entries.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2015-8562 exploited in the wild?
- Yes. As of Oct 16, 2026, Mallory has reports of exploitation in the wild.
- Is there a public exploit for CVE-2015-8562?
- Yes. Mallory tracks 3 public exploits or proofs of concept for CVE-2015-8562, the earliest disclosed Dec 14, 2015.
- Is there a patch for CVE-2015-8562?
- Upgrade Joomla! to a release containing the fix introduced in version 3.4.6. Address the associated PHP session-decoding vulnerability, CVE-2015-6835, by applying applicable distribution patches or upgrading beyond the affected PHP versions.
- What products are affected by CVE-2015-8562?
- Joomla.
- How severe is CVE-2015-8562?
- CVE-2015-8562 has a CVSS v2 score of 7.5 (High) and an EPSS score of 98.2% (100th percentile) as of Oct 16, 2026.
Recent activity
8 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.