CVE-2020-15245
mediumpriority · track · 17OT risk · elevatedEPSS 0.006 · 50 %ileEUUSEPSS · scored 2026-10-27
In Sylius before versions 1.6.9, 1.7.9 and 1.8.3, the user may register in a shop by email mail@example.com, verify it, change it to the mail another@domain.com 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.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (7)
Products and version ranges known to be affected.
advisories (1)
Vendor and ecosystem advisories describing this.
- GHSA-6gw4-x63h-5499Ability to switch customer email address on account detail page and stay verified2020-10-19ghsa · osvUS
### Impact The user may register in a shop by email mail@example.com, verify it, change it to the mail another@domain.com 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). ### Patches Patch has been provided for Sylius 1.6.x and newer - 1.6.9, 1.7.9, 1.8.3. Versions older than 1.6 are not covered by our security support anymore. ### Workarounds If for whatever reason you are not able to upgrade your application version, 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. ### Acknowledgements This security issue has been reported by Mircea Silviu (@decemvre), thanks a lot! ### For more information If you have any questions or comments about this advisory: * Email us at [security@sylius.com](mailto:security@sylius.com)
also known as (3)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (7)
External citations — patches, advisories, analysis.
- https://github.com/Sylius/Sylius/commit/60636d711a4011e8694d10d201b53632c7e8ecafcnnvd
- https://github.com/Sylius/Sylius/security/advisories/GHSA-6gw4-x63h-5499cnnvd
- https://nvd.nist.gov/vuln/detail/CVE-2020-15245cnnvd
- https://github.com/Sylius/Sylius/commit/60636d711a4011e8694d10d201b53632c7e8ecafenisa_euvd
- https://github.com/Sylius/Sylius/security/advisories/GHSA-6gw4-x63h-5499enisa_euvd
- https://github.com/Sylius/Sylius/commit/60636d711a4011e8694d10d201b53632c7e8ecafPatchThird Party Advisorynvd
- https://github.com/Sylius/Sylius/security/advisories/GHSA-6gw4-x63h-5499MitigationThird Party Advisorynvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan