CRITICAL🇵🇱 Wersja polska

CVE-2026-42155

CVSS 9.3v4.0pub. 2026-05-15upd. 2026-05-18

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.

🤖 AI Analysis
How it works

The API session identifier is created as an MD5 hash, with all input data derived from the current system time and the internal state of PHP's pseudorandom number generator (LCG). Since the effective entropy of the resulting token is very limited, an attacker can narrow down the search space by leveraging server state leaks or the general predictability of LCG. Subsequently, due to the lack of rate-limiting mechanisms in the API, the attacker performs a fast online brute-force attack on a limited pool of candidate MD5 hashes. In this way, they are able to hit an active session identifier and hijack it. The vulnerability violates OWASP ASVS v4 requirements (V3.2.2 — minimum 64 bits of entropy) and NIST SP 800-63B standards.

Impact

An attacker can hijack an active API session (XML-RPC/SOAP) of a privileged user or integration, gaining full access to operations available through this API — including reading and modifying store and customer data.

Mitigation & patch

Magento LTS should be updated to version 20.18.0 or later, where the issue has been fixed by implementing a cryptographically secure random number generator (CSPRNG) for creating API session identifiers. Additionally, it is recommended to implement rate-limiting on XML-RPC/SOAP endpoints to make brute-force attacks more difficult.

Who is affected

Magento Long Term Support (LTS) — versions before 20.18.0 (unofficial, community-driven OpenMage project as an alternative to Magento Community Edition).

Analysis generated by Claude AI (Anthropic) based on NVD data. Always verify with vendor.
CVSS 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
🔵
CHECK WITH VENDOR
No clear patch data available. Check vendor references.
CWE
References