Control Web Panel account takeover via password-reset Host header injection
Control Web Panel
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Control Web Panel Control Web Panel |
| No fix yet |
Original description
Control Web Panel (CWP) before webpanel_version 1.30.6 contains a host header injection vulnerability that allows unauthenticated attackers to manipulate the password-recovery reset URL by injecting the HTTP Host header into the /v1/lostpass/ route's token generation process. Attackers can lure an automated mail-security scanner into visiting the poisoned reset link to exfiltrate the live recovery token, replay it at /login/index.php?acc=newpass to set a new password, and subsequently abuse the File Manager and Crontab modules to achieve command execution as the targeted hosting account.
From the CVE record · VulnCheck