CVE-2022-24892:
Multiple valid tokens for password reset in Shopware
6.4
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.51568%
CWE
Published
4/28/2022
Updated
1/30/2023
KEV Status
No
Technology
PHP
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:N
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
shopware/shopware | composer | >= 5.0.4, < 5.7.9 | 5.7.9 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from two key flaws: 1) The password reset token storage mechanism (sAdmin::sSavePasswordConfirmation
) didn't invalidate existing tokens when creating new ones. 2) The password reset controller action (recoverPasswordAction
) allowed repeated token generation without rate-limiting or token invalidation. Together these allowed multiple concurrent valid tokens. The functions are identified based on Shopware's architecture patterns, CWE-640 characteristics, and the patch requirement to enforce single valid tokens per account.