CVE-2020-15245
Description
In Sylius before versions 1.6.9, 1.7.9 and 1.8.3, the user may register in a shop by email [email protected], verify it, change it to the mail [email protected] and stay verified and enabled. This may lead to having accounts addressed to totally different emails, that were verified. Note, that this way one is not able to take over any existing account (guest or normal one). The issue has been patched in Sylius 1.6.9, 1.7.9 and 1.8.3. As a workaround, you may resolve this issue on your own by creating a custom event listener, which will listen to the sylius.customer.pre_update event. You can determine that email has been changed if customer email and user username are different. They are synchronized later on. Pay attention, to email changing behavior for administrators. You may need to skip this logic for them. In order to achieve this, you should either check master request path info, if it does not contain /admin prefix or adjust event triggered during customer update in the shop. You can find more information on how to customize the event here.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
sylius/syliusPackagist | >= 1.7.0, < 1.7.9 | 1.7.9 |
sylius/syliusPackagist | >= 1.8.0, < 1.8.3 | 1.8.3 |
sylius/syliusPackagist | >= 1.0.0, < 1.6.9 | 1.6.9 |
Affected products
3Patches
Vulnerability mechanics
References
5- github.com/Sylius/Sylius/commit/60636d711a4011e8694d10d201b53632c7e8ecafnvdPatchThird Party AdvisoryWEB
- github.com/Sylius/Sylius/security/advisories/GHSA-6gw4-x63h-5499nvdMitigationThird Party AdvisoryWEB
- github.com/advisories/GHSA-6gw4-x63h-5499ghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2020-15245ghsaADVISORY
- github.com/FriendsOfPHP/security-advisories/blob/master/sylius/sylius/CVE-2020-15245.yamlghsaWEB
News mentions
0No linked articles in our index yet.