CVE-2023-6654 is a critical vulnerability in PHPEMS versions 6.x through 9.0, specifically in the lib/session.cls.php file, which handles session data. The vulnerability arises from unsafe deserialization of user-supplied data, allowing an attacker to inject arbitrary objects into the application context. This can be exploited remotely, and public exploits are available.
Mallory correlates every CVE against your assets, your vendors, and active adversary campaigns. Know which vulnerabilities matter for you, not just which ones are loud.
What it means. What to do now. Patch path, mitigations, and the assume-compromise checklist.
What an attacker gets, and what they’ve been doing with it.
If you can’t patch tonight, do this now.
Patch, then assume compromise.
1 valid exploit after Mallory filtered fakes, detection scripts, and README-only repos.
This repository provides a working exploit for CVE-2023-6654, a PHPEMS cookie deserialization vulnerability affecting versions 6.x through 9.0. The exploit is implemented in Python (exp.py) and requires the 'requests' and 'argparse' libraries. The script first retrieves a cryptographic key from the target PHPEMS instance by parsing the 'exam_currentuser' cookie. It then crafts a malicious serialized PHP object, encodes it, and sets it as the value of the 'exam_currentuser' cookie in a request to the target. This payload triggers a SQL injection via PHP object deserialization, allowing the attacker to either change the password of a specified user or elevate their privileges to administrator. The README provides usage instructions and describes the vulnerability. The repository is operational and can be used to compromise PHPEMS installations that are vulnerable and accessible over the network.
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
Vendor-confirmed product mapping. Mallory continuously reconciles this list against your asset inventory.
No public activity tracked yet. Mallory keeps watching.
No public activity observed for this vulnerability.
Query your assets running an affected version, and investigate the blast radius.
Every observed campaign linking this CVE to a named adversary.
Malware families riding this exploit, with evidence and IOCs.
YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Cross-references every affected SKU, including bundled OEM variants.
Community discussion across Reddit, Mastodon, and other social sources.