CVE-2020-15245: Email verification bypass in Sylius

Published Oct 19, 2020
·
Updated

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.preupdate 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

Other sources

CVE-2020-15245: Ability to switch customer email address on account detail page and stay verified

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.preupdate 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.

Affected Software

7 affected componentsFixes available
composer/sylius/sylius>=1.0.0, <1.1.0, >=1.1.0, <1.2.0, >=1.2.0, <1.3.0, >=1.3.0, <1.4.0, >=1.4.0, <1.5.0, >=1.5.0, <1.6.0, >=1.6.0, <1.6.9, >=1.7.0, <1.7.9, >=1.8.0, <1.8.3
composer/sylius/sylius>=1.0.0<1.6.9
1.6.9
composer/sylius/sylius>=1.8.0<1.8.3
1.8.3
composer/sylius/sylius>=1.7.0<1.7.9
1.7.9
Sylius Sylius<1.6.9
Sylius Sylius>=1.7.0<1.7.9
Sylius Sylius>=1.8.0<1.8.3

Event History

Oct 19, 2020
Advisory Published
01:55 PM
CVE Published
via MITRE·08:50 PM
Data Sourced
via MITRE·08:50 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

What is CVE-2020-15245?

CVE-2020-15245 is a vulnerability that allows the user to switch the customer's email address on the account detail page and stay verified.

2

What is the severity of CVE-2020-15245?

CVE-2020-15245 has a severity value of 4.3, which is classified as medium.

3

Which versions of Sylius are affected by CVE-2020-15245?

The versions of Sylius affected by CVE-2020-15245 are 1.0.0 up to 1.6.9, 1.7.0 up to 1.7.9, and 1.8.0 up to 1.8.3.

4

How can I fix CVE-2020-15245?

To fix CVE-2020-15245, it is recommended to update Sylius to version 1.6.9, 1.7.9, or 1.8.3, depending on the affected version.

5

Is there any additional information about CVE-2020-15245?

Yes, you can find more information about CVE-2020-15245 in the references: [GitHub Advisory](https://github.com/Sylius/Sylius/security/advisories/GHSA-6gw4-x63h-5499) and [GitHub Commit](https://github.com/Sylius/Sylius/commit/60636d711a4011e8694d10d201b53632c7e8ecaf).

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203