Remote Code Execution via Password Reset in cPanel
A vulnerability in cPanel 9.1.0 build 34 and earlier, including 8.x, exists in the 'Allow cPanel users to reset their password via email' feature. The vulnerability allows remote attackers to execute arbitrary code by supplying crafted input to the 'user' parameter in the resetpass functionality.
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
What an attacker gets, and what they’ve been doing with it.
Successful exploitation allows remote attackers to execute arbitrary code on the affected server with the privileges of the web server process, potentially leading to full system compromise.
If you can’t patch tonight, do this now.
As an interim measure, disable the 'Allow cPanel users to reset their password via email' feature until the system can be upgraded. Employ web application firewalls to filter malicious input and monitor for suspicious activity targeting the resetpass functionality.
Patch, then assume compromise.
Upgrade to a version of cPanel later than 9.1.0 build 34 where this vulnerability has been patched. Ensure that all password reset mechanisms properly sanitize and validate user input.
No validated public exploits yet. Hidden: 1 not yet analyzed, such as Exploit-DB entries.
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
No public activity tracked yet. Mallory keeps watching.
No public activity observed for this vulnerability.