Remote code execution via stream-name object coercion
Published Apr 21, 2021 · Updated Aug 3, 2024
Object deserialization in OpenMage LTS 19.4.12 and earlier and 20.0.8 and earlier allows remote attackers to execute code. Zend_Http_Response_Stream::__destruct passes a deserialized object in streamName to unlink(), implicitly invoking its __toString method. Exploitation requires an application path that unserializes attacker-controlled data into the stream response object; successful gadget chaining executes code on the server.
Summary
What happened
Object deserialization in OpenMage LTS 19.4.12 and earlier and 20.0.8 and earlier allows remote attackers to execute code. Zend_Http_Response_Stream::__destruct passes a deserialized object in streamName to unlink(), implicitly invoking its __toString method. Exploitation requires an application path that unserializes attacker-controlled data into the stream response object; successful gadget chaining executes code on the server.
The record
- CVE
- CVE-2021-21426
- Published
- Apr 21, 2021
- Updated
- Aug 3, 2024
- Vendor
- OpenMage
- Product
- OpenMage LTS
- Classifications
- CWE-502, T1190
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- Apr 21, 2021CVE publishedPublication date reported by the CVE source.
- Aug 3, 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=<= 19.4.12
- Affected versionversion=<= 20.0.8
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
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