Lucene search

K
nessusThis script is Copyright (C) 2003-2022 Tenable Network Security, Inc.GEEKLOG_ADMIN_ACCESS.NASL
HistoryMay 29, 2003 - 12:00 a.m.

Geeklog <= 1.3.7sr1 Multiple Vulnerabilities (SQLi, XSS, Priv Esc)

2003-05-2900:00:00
This script is Copyright (C) 2003-2022 Tenable Network Security, Inc.
www.tenable.com
15

The remote server is running a version of Geeklog affected by various vulnerabilities, including SQL injection, arbitrary file upload, privilege escalation, etc.

#%NASL_MIN_LEVEL 70300
#
# (C) Tenable Network Security, Inc.
#
# Date: Thu, 29 May 2003 13:02:55 +0800
# From: pokleyzz <[email protected]>
# To: [email protected], [email protected]
# Subject: [VulnWatch] Geeklog 1.3.7sr1 and below multiple vulnerabilities.

include('deprecated_nasl_level.inc');
include('compat.inc');

if (description)
{
  script_id(11670);
  script_version("1.31");
  script_set_attribute(attribute:"plugin_modification_date", value:"2022/04/11");

  script_cve_id(
    "CVE-2002-0096",
    "CVE-2002-0097",
    "CVE-2002-0962",
    "CVE-2003-1347"
  );
  script_bugtraq_id(
    3783,
    3844,
    4969,
    4974,
    6601,
    6602,
    6603,
    6604,
    7742,
    7744
  );

  script_name(english:"Geeklog <= 1.3.7sr1 Multiple Vulnerabilities (SQLi, XSS, Priv Esc)");

  script_set_attribute(attribute:"synopsis", value:
"The remote web server contains a PHP application that is affected by
multiple vulnerabilities.");
  script_set_attribute(attribute:"description", value:
"The remote server is running a version of Geeklog affected by various
vulnerabilities, including SQL injection, arbitrary file upload,
privilege escalation, etc.");
  script_set_attribute(attribute:"see_also", value:"https://seclists.org/bugtraq/2003/May/316");
  script_set_attribute(attribute:"solution", value:
"Unknown at this time.");
  script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P");
  script_set_cvss_temporal_vector("CVSS2#E:H/RL:W/RC:C");

  script_set_attribute(attribute:"exploitability_ease", value:"No exploit is required");
  script_set_attribute(attribute:"exploit_available", value:"true");
  script_cwe_id(79);

  script_set_attribute(attribute:"vuln_publication_date", value:"2002/01/03");
  script_set_attribute(attribute:"plugin_publication_date", value:"2003/05/29");

  script_set_attribute(attribute:"plugin_type", value:"remote");
  script_set_attribute(attribute:"cpe", value:"cpe:/a:geeklog:geeklog");
  script_set_attribute(attribute:"thorough_tests", value:"true");
  script_end_attributes();

  script_category(ACT_GATHER_INFO);
  script_family(english:"CGI abuses");

  script_copyright(english:"This script is Copyright (C) 2003-2022 Tenable Network Security, Inc.");

  script_dependencies("geeklog_detect.nasl");
  script_require_keys("www/geeklog");
  script_exclude_keys("Settings/disable_cgi_scanning");
  script_require_ports("Services/www", 80);

  exit(0);
}

include("global_settings.inc");
include("misc_func.inc");
include("http.inc");
			 

port = get_http_port(default:80, embedded: 0);
if(!can_host_php(port:port))exit(0);

# Test an install.
install = get_kb_item(string("www/", port, "/geeklog"));
if (isnull(install)) exit(0);
matches = eregmatch(string:install, pattern:"^(.+) under (/.*)$");
if (!isnull(matches))
{
 dir = matches[2];

 init_cookiejar();

 set_http_cookie(name: "geelog", value: "2.1");
 r = http_send_recv3(method: "GET", item:dir + "/users.php", port:port);
 if (isnull(r)) exit(0);

 if (get_http_cookie(name: "gl_session"))
 { 
   security_hole(port);
   exit(0);
 }
} 
VendorProductVersionCPE
geekloggeeklogcpe:/a:geeklog:geeklog
Related for GEEKLOG_ADMIN_ACCESS.NASL