Description
** DISPUTED ** wp-admin/setup-config.php in the installation component in WordPress 3.3.1 and earlier does not ensure that the specified MySQL database service is appropriate, which allows remote attackers to configure an arbitrary database via the dbhost and dbname parameters, and subsequently conduct static code injection and cross-site scripting (XSS) attacks via (1) an HTTP request or (2) a MySQL query. NOTE: the vendor disputes the significance of this issue; however, remote code execution makes the issue important in many realistic environments.
Remediation
References
Related Vulnerabilities
PHP Use of Externally-Controlled Format String Vulnerability (CVE-2011-1153)
Apache HTTP Server Insufficient Verification of Data Authenticity Vulnerability (CVE-2022-31813)
Oracle JRE CVE-2017-10285 Vulnerability (CVE-2017-10285)
WordPress Plugin Notices Ticker Cross-Site Scripting (6.1)
Drupal Permissions, Privileges, and Access Controls Vulnerability (CVE-2007-5597)