Lucene search

K
openvasCopyright (C) 2014 Greenbone AGOPENVAS:1361412562310804287
HistoryMay 06, 2014 - 12:00 a.m.

ownCloud Multiple Cross-Site Scripting & Directory Traversal Vulnerabilities

2014-05-0600:00:00
Copyright (C) 2014 Greenbone AG
plugins.openvas.org
6

4 Medium

CVSS2

Attack Vector

NETWORK

Attack Complexity

LOW

Authentication

SINGLE

Confidentiality Impact

PARTIAL

Integrity Impact

NONE

Availability Impact

NONE

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

6.3 Medium

AI Score

Confidence

Low

0.001 Low

EPSS

Percentile

49.7%

ownCloud is prone to session fixation vulnerability.

# 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

CPE = "cpe:/a:owncloud:owncloud";

if (description)
{
  script_oid("1.3.6.1.4.1.25623.1.0.804287");
  script_version("2023-12-01T16:11:30+0000");
  script_cve_id("CVE-2013-2040", "CVE-2013-2039", "CVE-2013-2042");
  script_tag(name:"cvss_base", value:"4.0");
  script_tag(name:"cvss_base_vector", value:"AV:N/AC:L/Au:S/C:P/I:N/A:N");
  script_tag(name:"last_modification", value:"2023-12-01 16:11:30 +0000 (Fri, 01 Dec 2023)");
  script_tag(name:"creation_date", value:"2014-05-06 18:50:55 +0530 (Tue, 06 May 2014)");
  script_name("ownCloud Multiple Cross-Site Scripting & Directory Traversal Vulnerabilities");

  script_tag(name:"summary", value:"ownCloud is prone to session fixation vulnerability.");
  script_tag(name:"vuldetect", value:"Checks if a vulnerable version is present on the target host.");
  script_tag(name:"insight", value:"Multiple flaws are due,

  - Insufficient validation of user-supplied input passed via the 'url' parameter
to the apps/bookmarks/ajax/addBookmark.php & apps/bookmarks/ajax/editBookmark.php
scripts.

  - Improper sanitization of user-supplied input passed via unspecified vectors
to lib/files/view.php, media/js/playlist.js, media/js/player.js or
media/js/collection.js script.");
  script_tag(name:"impact", value:"Successful exploitation will allow remote attackers to gain access to
arbitrary files and execute arbitrary script code in a user's browser
within the trust relationship between their browser and the server.");
  script_tag(name:"affected", value:"ownCloud Server 4.x before 4.0.15, 4.5.x before 4.5.11, and 5.0.x before
5.0.6");
  script_tag(name:"solution", value:"Update to version 4.0.15 or 4.5.11 or 5.0.6 or later.");
  script_tag(name:"solution_type", value:"VendorFix");

  script_xref(name:"URL", value:"http://seclists.org/oss-sec/2013/q2/324");
  script_xref(name:"URL", value:"http://www.securityfocus.com/bid/59947");
  script_xref(name:"URL", value:"http://www.securityfocus.com/bid/59950");
  script_xref(name:"URL", value:"http://www.securityfocus.com/bid/59952");
  script_xref(name:"URL", value:"http://owncloud.org/about/security/advisories/oC-SA-2013-021");
  script_xref(name:"URL", value:"http://owncloud.org/about/security/advisories/oC-SA-2013-020");
  script_category(ACT_GATHER_INFO);
  script_tag(name:"qod_type", value:"remote_banner");
  script_copyright("Copyright (C) 2014 Greenbone AG");
  script_family("Web application abuses");
  script_dependencies("gb_owncloud_http_detect.nasl");
  script_mandatory_keys("owncloud/detected");
  exit(0);
}

include("host_details.inc");
include("version_func.inc");

if(!port = get_app_port(cpe:CPE))
  exit(0);

if(!version = get_app_version(cpe:CPE, port:port))
  exit(0);

if(version_in_range(version:version, test_version:"4.0.0", test_version2:"4.0.14")||
   version_in_range(version:version, test_version:"4.5.0", test_version2:"4.5.10")||
   version_in_range(version:version, test_version:"5.0.0", test_version2:"5.0.5")) {
  security_message(port:port);
  exit(0);
}

exit(99);

4 Medium

CVSS2

Attack Vector

NETWORK

Attack Complexity

LOW

Authentication

SINGLE

Confidentiality Impact

PARTIAL

Integrity Impact

NONE

Availability Impact

NONE

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

6.3 Medium

AI Score

Confidence

Low

0.001 Low

EPSS

Percentile

49.7%