CVE-2020-15151:
Observable Timing Discrepancy in OpenMage LTS
8
CVSS ScoreBasic Information
CVE ID
GHSA ID
EPSS Score
-
CWE
Published
8/19/2020
Updated
2/1/2023
KEV Status
No
Technology
PHP
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:N
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
openmage/magento-lts | composer | < 19.4.6 | 19.4.6 |
openmage/magento-lts | composer | >= 20.0.0, < 20.0.2 | 20.0.2 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The commit diff shows a critical change in _validateSecretKey() where a simple string comparison (secretKey != storedKey) was replaced with hash_equals(). Non-constant-time comparisons leak timing information about secret key matches, allowing attackers to brute-force the CSRF token. This directly maps to CWE-203 (Observable Discrepancy) and explains the CSRF vulnerability (CWE-352). The function's role in secret key validation makes it the clear vulnerable component.