GHSA-wmwf-49vv-p3mr
Sulu Observable Response Discrepancy on Admin Login
Packages
Details
As written in the advisory (Markdown source, shown as plain text).
### Impact
It allows over the Admin Login form to detect which user (username, email) exists and which one do not exist.
Impacted by this issue are Sulu installation >= 2.5.0 and <2.5.10 using the newer Symfony Security System which is default since Symfony 6.0 but can be enabled in Symfony 5.4. Sulu Installation not using the old Symfony 5.4 security System and previous version are not impacted by this Security issue.
### Patches
The problem has been patched in version 2.5.10.
### Workarounds
Create a custom AuthenticationFailureHandler which does not return the `$exception->getMessage();` instead the `$exception->getMessageKey();`
### References
Currently no references.
References
External links from the advisory. They lead to third-party sites.
- https://github.com/sulu/sulu/security/advisories/GHSA-wmwf-49vv-p3mr
- https://nvd.nist.gov/vuln/detail/CVE-2023-39343
- https://github.com/sulu/sulu/commit/5f6c98ba030b2005793e2dc647cc938937ea889b
- https://github.com/FriendsOfPHP/security-advisories/blob/master/sulu/sulu/CVE-2023-39343.yaml
- https://github.com/sulu/sulu
- https://github.com/sulu/sulu/releases/tag/2.5.10