Authenticated object injection via session cookie deserialization
Published Dec 10, 2023 · Updated Aug 28, 2024
Deserialization in PHPEMS 6.x, 7.x, 8.x, and 9.0 allows remote authenticated users to inject PHP objects through a session cookie. lib/session.cls.php passes the currentuser cookie to strings::decode(), whose reversible decoding ends in unrestricted unserialize(). The published assessments require low privileges; further consequences depend on the objects and gadget chains available to the application.
Summary
What happened
Deserialization in PHPEMS 6.x, 7.x, 8.x, and 9.0 allows remote authenticated users to inject PHP objects through a session cookie. lib/session.cls.php passes the currentuser cookie to strings::decode(), whose reversible decoding ends in unrestricted unserialize(). The published assessments require low privileges; further consequences depend on the objects and gadget chains available to the application.
The record
- CVE
- CVE-2023-6654
- Published
- Dec 10, 2023
- Updated
- Aug 28, 2024
- Vendor
- PHPEMS
- Product
- PHPEMS
- Classifications
- CWE-502, CAPEC-586, T1190
- Attack vector
- network
- Privileges
- authenticated
Timeline
How it unfolded
- Dec 10, 2023CVE publishedPublication date reported by the CVE source.
- Aug 28, 2024Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=6.x
- Affected versionversion=7.x
- Affected versionversion=8.0
- Affected versionversion=8.x
- Affected versionversion=9.0
What conditions does exploitation require?
What is affected?
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo