CVE-2015-8562: Unauthenticated PHP Object Injection RCE in Joomla!
- Vendor
- Joomla
CVE-2015-8562 is an unauthenticated remote code execution vulnerability affecting Joomla! 1.5.x, 2.x, and 3.x before 3.4.6. Crafted HTTP User-Agent headers introduce attacker-controlled serialized data into database-backed Joomla! sessions. In the demonstrated exploit chain, MySQL silently truncates session data at a four-byte UTF-8 character when the storage column uses the legacy three-byte utf8 character set and strict SQL mode is not enforced. Vulnerable PHP session decoding behavior associated with CVE-2015-6835 then permits malformed serialized data to be interpreted as injected objects when the session is loaded on a subsequent request. A property-oriented programming chain involving JDatabaseDriverMysqli::__destruct(), disconnect(), and SimplePie::init() reaches an attacker-controlled callback and executes arbitrary PHP code. Exploitation was observed in December 2015 before the Joomla! 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 compromises the Joomla! application through arbitrary PHP execution with the privileges of the PHP process. Depending on those privileges, attackers can access application secrets and database credentials, read or modify site content and application data, install backdoors, and execute operating-system commands where permitted. Resulting compromises can support spam distribution, cryptocurrency mining, and further attacks. Exploitation does not inherently confer administrative or root privileges on the host.
Mitigation
If you can’t patch tonight, do this now.
Enable MySQL STRICT_TRANS_TABLES or STRICT_ALL_TABLES, as appropriate for the storage engine, so invalid character data is rejected rather than silently truncated; verify that strict mode applies to Joomla!'s database connections. Correctly migrating session storage and its connection character set to utf8mb4 also removes the four-byte-character truncation condition used by the demonstrated exploit. These measures interrupt that exploit chain but do not replace Joomla! and PHP updates.
Remediation
Patch, then assume compromise.
Upgrade Joomla! to a currently supported, patched release; Joomla! 3.4.6 was the original release fixing this vulnerability. Legacy 1.5.x and 2.x installations should be migrated rather than retained. Also update PHP to a supported release containing the fix for CVE-2015-6835, or apply the corresponding vendor backport. Historical PHP releases containing that fix include 5.4.45, 5.5.29, and 5.6.13, but these branches are obsolete and are not appropriate current upgrade targets.
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 Nov 19, 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 currently supported, patched release; Joomla! 3.4.6 was the original release fixing this vulnerability.
- 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 Nov 19, 2026.
Recent activity
9 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.