CVE-2024-12776: Authentication Bypass in langgenius/dify
In langgenius/dify v0.10.1, the /forgot-password/resets endpoint does not verify the password reset code, allowing an attacker to reset the password of any user, including administrators. This vulnerability can lead to a complete compromise of the application.
Affected Software
Event History
Frequently Asked Questions
What is the severity of CVE-2024-12776?
The severity of CVE-2024-12776 is critical due to its potential to allow an attacker to reset any user's password.
How do I fix CVE-2024-12776?
To fix CVE-2024-12776, implement proper validation for the password reset code in the `/forgot-password/resets` endpoint.
What types of users are affected by CVE-2024-12776?
All users, including administrators, are affected by CVE-2024-12776 due to the lack of verification in the password reset process.
What consequences can arise from CVE-2024-12776?
CVE-2024-12776 can lead to a complete compromise of the application as it allows unauthorized password resets.
Which version of Dify is affected by CVE-2024-12776?
Dify version 0.10.1 is affected by CVE-2024-12776.