CVE-2024-47765
CVE-2024-47765 is a cross-site scripting (XSS) vulnerability in the Minecraft MOTD Parser PHP library. Specifically, the HtmlGenerator class is vulnerable to XSS attacks when parsing a malformed Minecraft server MOTD, allowing an attacker to inject malicious HTML into a web page. This occurs because the color
and text
properties of MotdItem
objects are not properly filtered or escaped, enabling injection of arbitrary HTML code. Although the CVSS score is 6.1, the SVRS of 30 indicates a lower, but still existing, risk, suggesting that while the vulnerability exists, active exploitation in the wild is somewhat limited at this time. Successful exploitation of this vulnerability could allow attackers to execute arbitrary JavaScript code in a user's browser. Users of the Minecraft MOTD Parser library should upgrade to version 1.0.6 to mitigate this risk. The library is used to display server MOTD (message of the day) information, and because of the reported XSS vulnerability, web pages displaying MOTD information using older versions of the library could be compromised.
Description
CVE-2024-47765 is a cross-site scripting (XSS) vulnerability in Minecraft MOTD Parser, a PHP library used to parse Minecraft server messages of the day (MOTDs). An attacker can exploit this vulnerability by sending a malicious MOTD to a Minecraft server that is queried and passed to the HtmlGenerator. This allows the attacker to inject malicious HTML into a web page during web page generation.
Key Insights
- The vulnerability is rated as low severity (CVSS: 0) by CVSS, but SOCRadar's SVRS assigns it a score of 30, indicating a moderate risk.
- The vulnerability is exploitable through a web-based attack vector.
- The vulnerability is not currently being exploited in the wild.
Mitigation Strategies
- Update to Minecraft MOTD Parser version 1.0.6 or later.
- Implement input validation and filtering to prevent malicious HTML from being injected into web pages.
- Use a web application firewall (WAF) to block malicious requests.
Additional Information
- This vulnerability is not associated with any known threat actors or APT groups.
- CISA has not issued a warning for this vulnerability.
- If you have any further questions about this incident, you can use the 'Ask to Analyst' feature, contact SOCRadar directly, or open a support ticket for more information.
Indicators of Compromise
Exploits
News
Social Media
Affected Software
References
CWE Details
CVE Radar
Real-time CVE Intelligence & Vulnerability Management Platform
CVE Radar provides comprehensive vulnerability intelligence by monitoring CVE databases, security advisories, and threat feeds. Get instant updates on new vulnerabilities, exploit details, and mitigation strategies specific to your assets.