Auth bypass in Symfony

CVE-2024-50341

symfony/security-bundle is a module for the Symphony PHP framework which provides a tight integration of the Security component into the Symfony full-stack framework. The custom `user_checker` defined on a firewall is not called when Login Programmaticaly with the `Security::login` method, leading to unwanted login. As of versions 6.4.10, 7.0.10 and 7.1.3 the `Security::login` method now ensure to call the configured `user_checker`. All users are advised to upgrade. There are no known workarounds for this vulnerability.

Vulnerability class: Broken Authentication

EPSS: 0.003 (24.2th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 3.1 (Low). Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N.

Affected products

  • Symfony — versions >= 6.2.0, < 6.4.10, >= 7.0.0, < 7.0.10, >= 7.1.0, < 7.1.3

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2024-50341?
CVE-2024-50341 is a low-severity vulnerability in Symfony, classified under Improper Authentication. CVSS score: 3.1/10. Published 2024-11-06.
How severe is CVE-2024-50341?
Low severity. CVSS v3 base score is 3.1 out of 10.