CVE-2026-42155 Details
Description
Magento Long Term Support (LTS) is an unofficial, community-driven project provides an alternative to the Magento Community Edition e-commerce platform with a high level of backward compatibility. Prior to 20.18.0, the XML-RPC / SOAP API session ID is generated using an outdated, time-based construction rather than a Cryptographically Secure Pseudo-Random Number Generator (CSPRNG). All inputs to the MD5 hash are time-derived and non-secure. Because the resulting digest relies entirely on the timestamp and the PHP internal LCG state, the effective entropy is severely constrained. This violates the OWASP ASVS v4 requirement of ≥ 64 bits of entropy (V3.2.2) and NIST SP 800-63B standards. By narrowing the LCG window (via server state leaks or general predictability) and leveraging the lack of API rate-limiting, an attacker can generate a localized pool of candidate MD5 hashes and execute a high-speed online brute-force attack to hijack active API sessions. This vulnerability is fixed in 20.18.0.
A vulnerability exists in OpenMage Magento Long Term Support (LTS) versions through 20.17.0, where the XML-RPC and SOAP APIs generate session IDs using an outdated, time-based method instead of a Cryptographically Secure Pseudo-Random Number Generator (CSPRNG). This approach creates predictable session IDs, allowing attackers to hijack active API sessions. The vulnerability arises because the MD5 hash inputs are derived from time-based values that are not secure, violating OWASP and NIST standards for entropy. Exploitation involves narrowing the predictability of the session ID generation and leveraging the absence of API rate limits to perform a brute-force attack on the session IDs.
Users can upgrade to OpenMage Magento LTS version 20.18.0 or later, where this vulnerability is fixed. The recommended fix involves replacing the time-derived session ID generation with a secure, random value using a CSPRNG, and enforcing rate limits on API endpoints to prevent brute-force attacks.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed May 15, 2026CISA-ADP
Assessed May 15, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/OpenMage/magento-lts/security/advisories/GHSA-2cwr-gcf9-pvxr | CISA-ADP | AdvisoryExploitRemedyTechnical AnalysisVendor |
| https://github.com/OpenMage/magento-lts/security/advisories/GHSA-2cwr-gcf9-pvxr | [email protected] | AdvisoryExploitRemedyTechnical AnalysisVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-330 | Use of Insufficiently Random Values | [email protected] |
| CWE-331 | Insufficient Entropy | [email protected] |
| CWE-338 | Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG) | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| OpenMage Magento Long Term Support | <= 20.17.0 (semver) |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| May 15, 2026 | CVE Modified | CISA-ADP |
| May 15, 2026 | New CVE Received | [email protected] |
Volerion