Lucene search
+L

Nextcloud Multiple XSS Vulnerabilities - Linux

🗓️ 30 May 2017 00:00:00Reported by Copyright (C) 2017 Greenbone AGType 
openvas
 openvas
🔗 plugins.openvas.org👁 28 Views

Nextcloud Multiple XSS Vulnerabilities - Linux. Inadequate escaping of error message. Vulnerable JavaScript library. Impact: allows attacker to write or paste malicious content into server

Related
Refs
Code
ReporterTitlePublishedViews
Family
cnvd
CNVD
Nextcloud Server Cross-Site Scripting Vulnerability (CNVD-2017-06334)
10 May 201700:00
cnvd
cnvd
CNVD
Nextcloud Server Cross-Site Scripting Vulnerability (CNVD-2017-07616)
10 May 201700:00
cnvd
cve
CVE
CVE-2017-0891
8 May 201720:00
cve
cve
CVE
CVE-2017-0893
8 May 201720:00
cve
cvelist
Cvelist
CVE-2017-0891
8 May 201720:00
cvelist
cvelist
Cvelist
CVE-2017-0893
8 May 201720:00
cvelist
euvd
EUVD
EUVD-2017-1244
7 Oct 202500:30
euvd
euvd
EUVD
EUVD-2017-1246
7 Oct 202500:30
euvd
hackerone
Hacker One
Nextcloud: Reflected XSS in error pages (NC-SA-2017-008)
28 Mar 201721:53
hackerone
hackerone
Hacker One
Nextcloud: Stored XSS in Gallery application (NC-SA-2017-010)
21 Apr 201718:06
hackerone
Rows per page
# SPDX-FileCopyrightText: 2017 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:nextcloud:nextcloud_server";

if(description)
{
  script_oid("1.3.6.1.4.1.25623.1.0.811137");
  script_version("2025-02-25T13:24:30+0000");
  script_cve_id("CVE-2017-0893", "CVE-2017-0891");
  script_tag(name:"cvss_base", value:"3.5");
  script_tag(name:"cvss_base_vector", value:"AV:N/AC:M/Au:S/C:N/I:P/A:N");
  script_tag(name:"last_modification", value:"2025-02-25 13:24:30 +0000 (Tue, 25 Feb 2025)");
  script_tag(name:"severity_vector", value:"CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N");
  script_tag(name:"severity_origin", value:"NVD");
  script_tag(name:"severity_date", value:"2019-10-09 23:21:00 +0000 (Wed, 09 Oct 2019)");
  script_tag(name:"creation_date", value:"2017-05-30 16:57:47 +0530 (Tue, 30 May 2017)");
  script_name("Nextcloud Multiple XSS Vulnerabilities - Linux");

  script_tag(name:"summary", value:"Nextcloud is prone to multiple XSS vulnerabilities");

  script_tag(name:"vuldetect", value:"Checks if a vulnerable version is present on the target host.");

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

  - An inadequate escaping of error message in multiple components.

  - Nextcloud Server shipping a vulnerable JavaScript library for sanitizing
    untrusted user-input.");

  script_tag(name:"impact", value:"Successful exploitation will allow an attacker
  to write or paste malicious content into the server.");

  script_tag(name:"affected", value:"Nextcloud Server 9.0.x before 9.0.58, 10.0.x
  before 10.0.5 and 11.0.x before 11.0.3 on Linux.");

  script_tag(name:"solution", value:"Upgrade to Nextcloud Server 9.0.58, or 10.0.5,
  or 11.0.3 or later.");

  script_tag(name:"solution_type", value:"VendorFix");
  script_tag(name:"qod_type", value:"remote_banner_unreliable");
  script_xref(name:"URL", value:"https://nextcloud.com/security/advisory/?id=nc-sa-2017-010");
  script_xref(name:"URL", value:"http://www.securityfocus.com/bid/98423");
  script_xref(name:"URL", value:"http://www.securityfocus.com/bid/98411");
  script_xref(name:"URL", value:"https://nextcloud.com/security/advisory/?id=nc-sa-2017-008");
  script_category(ACT_GATHER_INFO);
  script_copyright("Copyright (C) 2017 Greenbone AG");
  script_family("Web application abuses");
  script_dependencies("gb_nextcloud_server_http_detect.nasl", "os_detection.nasl");
  script_mandatory_keys("nextcloud/server/detected", "Host/runs_unixoide");

  exit(0);
}

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

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

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

if(vers =~ "^11\." && version_is_less(version:vers, test_version:"11.0.3")) {
  fix = "11.0.3";
}

else if(vers =~ "^10\." && version_is_less(version:vers, test_version:"10.0.5")) {
  fix = "10.0.5";
}

else if(vers =~ "^9\." && version_is_less(version:vers, test_version:"9.0.58")) {
  fix = "9.0.58";
}

if(fix) {
  report = report_fixed_ver(installed_version:vers, fixed_version:fix);
  security_message(data:report, port:port);
  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

25 Feb 2025 00:00Current
5.5Medium risk
Vulners AI Score5.5
CVSS 23.5
CVSS 35.4
EPSS0.00643
28