Weak Password Recovery Mechanism for Forgotten Password in strapi - CVE-2019-18818
Published: November 15, 2019 / Updated: November 21, 2024
Vulnerability details
The vulnerability allows a remote attacker to reset an admin's password.
The vulnerability exists due to the affected software mishandles password resets within "packages/strapi-admin/controllers/Auth.js" and "packages/strapi-plugin-users-permissions/controllers/Auth.js". A remote attacker can use the password reset routes to reset an admin's password without providing a valid password reset token.
Affected software
How to mitigate CVE-2019-18818
Links to Public Exploits and PoC-codes
- Exploit #10876 - Strapi CMS Unauthenticated Password Reset (November 21, 2024)
- Exploit #10179 - Strapi-RCE (Exploit script showcasing a mixture of CVE-2019-18818 and CVE-2019-19609 for unauthenticated remote code execution in Strapi CMS.) (July 5, 2024)
- Exploit #7816 - Strapi CMS 3.0.0-beta.17.4 - Set Password (Unauthenticated) (Metasploit) (May 13, 2022)
- Exploit #7065 - Strapi CMS 3.0.0-beta.17.4 - Remote Code Execution (RCE) (Unauthenticated) (November 25, 2021)
- Exploit #7067 - Strapi 3.0.0-beta - Set Password (Unauthenticated) (November 25, 2021)