Stored XSS in CentOS Web Panel 0.9.8.789 Name Server Fields
CentOS Web Panel (CWP) version 0.9.8.789 contains a stored cross-site scripting (XSS) vulnerability in the "Name Server 1" and "Name Server 2" fields accessible via the "DNS Functions" -> "Edit Nameservers IPs" action. User-supplied input in these fields is not properly sanitized, allowing an attacker to inject arbitrary JavaScript code that will be executed in the context of users viewing the affected page.
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 an authenticated attacker to inject persistent JavaScript code, which will execute in the browser of any user who views the affected DNS configuration page. This can lead to session hijacking, credential theft, or further attacks against users with administrative privileges.
If you can’t patch tonight, do this now.
Restrict access to the web panel to trusted users only. Employ web application firewalls (WAFs) to detect and block XSS payloads. Regularly audit and sanitize user input in all web forms.
Patch, then assume compromise.
Upgrade to a version of CentOS Web Panel where input validation and output encoding are properly implemented for the affected fields. Ensure that all user-supplied input is sanitized and that output is properly escaped to prevent XSS.
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.