CVE-2022-24743 Insufficient Session Expiration in Sylius

High 7.1 Published Updated

Attackers can reuse reset password tokens to change passwords and take over accounts due to insufficient session expiration in Sylius.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2022-24743?

CVE-2022-24743 is a high-severity authentication bypass vulnerability in Sylius, published on 14 Mar 2022. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

Sylius is an open source eCommerce platform. Prior to versions 1.10.11 and 1.11.2, the reset password token was not set to null after the password was changed. The same token could be used several times, which could result in leak of the existing token and unauthorized password change. The issue is fixed in versions 1.10.11 and 1.11.2. As a workaround, overwrite the `Sylius\Bundle\ApiBundle\CommandHandler\ResetPasswordHandler` class with code provided by the maintainers and register it in a container. More information about this workaround is available in the GitHub Security Advisory.

Weakness: CWE-613

Which versions are affected by CVE-2022-24743?

4 open source packages ship an affected version, including sylius/sylius. It affects 1 product.

PackageAffectedFixed in
sylius/sylius PackagistFrom 1.10.01.10.11
sylius/sylius PackagistFrom 1.10.01.10.11
sylius/sylius PackagistFrom 1.11.01.11.2
sylius/sylius PackagistFrom 1.11.01.11.2

Products include Sylius Sylius.

How do I fix CVE-2022-24743?

Upgrade sylius/sylius to a fixed version for your release line: 1.10.11 or 1.11.2.

Upgrade, and rotate credentials and sessions that may have been exposed. More about Authentication bypass.

Is CVE-2022-24743 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2022-24743 exists.

Sources

Also known as GHSA-mf3v-f2qq-pf9g.

Is CVE-2022-24743 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free