Description (CNA)
CyberPanel versions prior to 2.4.5 contain a stored cross-site scripting vulnerability in the AI Scanner dashboard where the POST /api/ai-scanner/callback endpoint lacks authentication and allows unauthenticated attackers to inject malicious JavaScript by overwriting the findings_json field of ScanHistory records. Attackers can inject JavaScript that executes in an administrator's authenticated session when they visit the AI Scanner dashboard, allowing them to issue same-origin requests to plant cron jobs and achieve remote code execution on the server.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| usmannasir / cyberpanel | affected 0 before 2.4.5; unaffected 8eb29181cb137baa4adb4bba5dce60f601d55a5f |
CWE
CWE-79
References
- https://itsrez.re/post/cyberpanel-rce
- https://github.com/usmannasir/cyberpanel/commit/8eb29181cb137baa4adb4bba5dce60f601d55a5f
- https://www.vulncheck.com/advisories/cyberpanel-stored-xss-via-ai-scanner-dashboard
ADP enrichment
No English description supplied.
No references supplied.