CVE-2011-4899
Executive Summary
wp-admin/setup-config.php in WordPress 3.3.1 and earlier fails to validate the MySQL host and database name, enabling attackers to configure arbitrary databases. This flaw permits remote code execution through static code injection and cross‑site scripting via HTTP requests or MySQL queries, posing a severe risk in production environments. The vendor disputes its significance, but the vulnerability remains critical for realistic deployments.
Authoritative CVE Metadata
- CVSS Base Score: 7.5 (HIGH)
- Last Modified: 03-11-26
Original Description
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