{"id":"CVE-2026-42155","published":"2026-05-15T17:05:02Z","modified":"2026-05-15T17:36:27Z","title":"Magento LTS: Weak API Session ID — Predictable MD5 of Time-Derived Inputs","vendor":"OpenMage","product":"magento-lts","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.3,"severity":"CRITICAL","version":"4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:L/SC:N/SI:N/SA:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00366,"percentile":0.31215,"provenance":"source"},"cwes":[{"id":"CWE-330","name":"Use of Insufficiently Random Values"},{"id":"CWE-331","name":"Insufficient Entropy"},{"id":"CWE-338","name":"Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG)"}],"references":[{"url":"https://github.com/OpenMage/magento-lts/security/advisories/GHSA-2cwr-gcf9-pvxr","tags":["x_refsource_CONFIRM"]}],"priority":{"score":12.8,"factors":[{"name":"EPSS percentile","points":6.24},{"name":"CVSS severity","points":6.51}]},"vendorSlug":"openmage","affectedVersions":[{"vendor":"OpenMage","product":"magento-lts","versions":["< 20.18.0"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"total","timestamp":"2026-05-15T17:36:24.561394Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Packagist","package":"openmage/magento-lts","vulnerableRanges":["<20.18.0"],"patched":["20.18.0"],"from":["GHSA-2cwr-gcf9-pvxr"],"provenance":"source"}],"summary":{"text":"The Magento LTS e-commerce platform (OpenMage magento-lts, prior to 20.18.0) generates its XML-RPC/SOAP API session IDs from an outdated time-based MD5 construction instead of a cryptographically secure random source, leaving the IDs with severely constrained entropy. An unauthenticated remote attacker can exploit this over the network without user interaction by narrowing the candidate space, for example through server state leaks, and then running a high-speed online brute-force attack, which lacks API rate-limiting, to hijack active API sessions.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:51:39Z"},"euvd":{"id":"EUVD-2026-30565","exploited":false,"provenance":"source"}}