GHSA-2w46-vq8h-98vh json
Shopware 6's password recovery link does not expire after email change
published 11mo ago modified 2mo ago
- cvss
- 5.0
- version 3.1, GitHub
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- —
- no score, EPSS covers CVEs only
- public exploits
- 0
- none known
Summary
### Summary When a customer changes their email address after requesting a password reset, the old password reset link (tied to the previous email) remains valid. An attacker with access to the old email inbox is potentially able to reset the customer’s password even after the user changes their email address.
### PoC
1. Log in to a Shopware account. 2. Request a password reset for your current email address. 3. Copy the password reset link but do not open it. 4. Log back into your account.n 5. Navigate to Account Settings → Email and change your email address. 6. Use the previously copied reset link (from before the email change). 7. The system allows password change using the old link.
### Impact Reproduced on Stable 6.6.10.7 and trunk.
Patch / fix
- packagist shopware/core 6.6.10.9, 6.7.4.1
Is GHSA-2w46-vq8h-98vh in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerCVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| GitHub | 3.1 | 5.0 | CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:N/I:H/A:L |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| packagist | shopware/core | <6.6.10.9 >=6.7.0.0, <6.7.4.1 |
6.6.10.9 6.7.4.1 |
Classification
- Weakness
-
- CWE-640 Weak Password Recovery Mechanism for Forgotten Password
References
-
github.com
/shopware/shopware/commit/1338dd9a11e361639704bf8f09b6878552eb8c13
web
-
github.com
/shopware/shopware/commit/2fb94855696a90045b81c503d216ba7df8e64e52
web
-
github.com
/shopware/shopware/security/advisories/GHSA-2w46-vq8h-98vh
web
-
github.com
/shopware/shopware
package
-
github.com
/shopware/shopware/releases/tag/v6.6.10.9
web
-
github.com
/shopware/shopware/releases/tag/v6.7.0.0
web
-
github.com
/shopware/shopware/releases/tag/v6.7.4.1
web
Sources
- GitHub Advisory GHSA-2w46-vq8h-98vh
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.