XSS in Moodle install.php dbname parameter
A cross-site scripting (XSS) vulnerability exists in install.php for Moodle 1.8.3 and possibly other versions before 1.8.4. The vulnerability allows remote attackers to inject arbitrary web script or HTML via the dbname parameter. This issue is present only during the installation phase, before installation is complete.
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.
An attacker can exploit this XSS vulnerability to execute arbitrary JavaScript in the context of the installation session, potentially leading to session hijacking or manipulation of the installation process. However, the impact is limited to the installation phase and does not affect a fully installed Moodle instance.
If you can’t patch tonight, do this now.
Restrict access to the install.php script to trusted users only during installation. Delete or disable install.php after installation is complete to prevent exploitation.
Patch, then assume compromise.
Upgrade to Moodle version 1.8.4 or later, where this vulnerability has been addressed. Ensure that the installation script is removed or access-restricted after installation is complete.
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.