Stored XSS in GestioIP ip_mod_dns_key_form.cgi TSIG Key Field
CVE-2024-50861 is a stored cross-site scripting vulnerability in GestioIP v3.5.7. The vulnerable component is the ip_mod_dns_key_form.cgi request handler, where user-supplied input in the "TSIG Key" field is not properly sanitized or encoded before being stored in the database and later rendered in the web interface. As a result, an attacker can persist malicious JavaScript or HTML payloads that execute in the browser of a user who later views the affected data. The issue affects the application's handling of stored administrative or configuration data related to DNS key management.
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 attacker to execute arbitrary script in the context of the GestioIP web application for any user who views the poisoned record. This can enable session theft, credential capture, unauthorized actions via CSRF-style request execution, data exfiltration from the application, interface manipulation, and potentially administrative compromise depending on the privileges of the victim user.
If you can’t patch tonight, do this now.
Until a fix is deployed, restrict access to the GestioIP management interface to trusted administrators over controlled networks, and limit which users can create or modify DNS key records. Monitor and audit existing TSIG Key entries for injected markup or script content and remove suspicious records. Web application firewall rules or reverse-proxy filtering may help block obvious XSS payloads, though they should not be relied on as a complete fix. Enforcing strong session protections and CSRF defenses may reduce secondary impact but will not eliminate the underlying vulnerability.
Patch, then assume compromise.
Upgrade to a vendor-fixed version if one is available. The vulnerable application should implement strict server-side validation and context-appropriate output encoding for the "TSIG Key" field and any other user-controlled values before rendering them in HTML responses. Stored values already present in the database should be identified and sanitized or removed. A review of all CGI handlers that process and display user input is also advisable to identify similar persistent XSS conditions.
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.
2 sources tracked across advisories and community write-ups. News coverage will land here when it surfaces.
No news coverage yet. Advisories and community discussion only.