Lucene search
+L

Apache Archiva < 2.2.3 CSRF Vulnerability

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

Apache Archiva CSRF Vulnerability in REST Endpoints. Upgrade to version 2.2.3 or later

Related
Refs
Code
ReporterTitlePublishedViews
Family
cnvd
CNVD
Apache Archiva Cross-Site Request Forgery Vulnerability
23 May 201700:00
cnvd
cve
CVE
CVE-2017-5657
22 May 201718:00
cve
cvelist
Cvelist
CVE-2017-5657
22 May 201718:00
cvelist
euvd
EUVD
EUVD-2022-4130
3 Oct 202520:07
euvd
github
Github Security Blog
Apache Archiva vulnerable to Cross Site Request Forgery
14 May 202201:09
github
nvd
NVD
CVE-2017-5657
22 May 201718:29
nvd
osv
OSV
GHSA-HF4P-MHC8-X2GP Apache Archiva vulnerable to Cross Site Request Forgery
14 May 202201:09
osv
prion
Prion
Cross site request forgery (csrf)
22 May 201718:29
prion
veracode
Veracode
Cross-Site Request Forgery (CSRF)
22 May 201704:46
veracode
# 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:apache:archiva";

if (description)
{
  script_oid("1.3.6.1.4.1.25623.1.0.106825");
  script_version("2024-11-05T05:05:33+0000");
  script_tag(name:"last_modification", value:"2024-11-05 05:05:33 +0000 (Tue, 05 Nov 2024)");
  script_tag(name:"creation_date", value:"2017-05-23 14:41:11 +0700 (Tue, 23 May 2017)");
  script_tag(name:"cvss_base", value:"6.0");
  script_tag(name:"cvss_base_vector", value:"AV:N/AC:M/Au:S/C:P/I:P/A:P");
  script_tag(name:"severity_vector", value:"CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H");
  script_tag(name:"severity_origin", value:"NVD");
  script_tag(name:"severity_date", value:"2019-04-16 18:29:00 +0000 (Tue, 16 Apr 2019)");

  script_cve_id("CVE-2017-5657");

  script_tag(name:"qod_type", value:"remote_banner");

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

  script_name("Apache Archiva < 2.2.3 CSRF Vulnerability");

  script_category(ACT_GATHER_INFO);
  script_copyright("Copyright (C) 2017 Greenbone AG");
  script_family("Web application abuses");
  script_dependencies("gb_apache_archiva_http_detect.nasl");
  script_mandatory_keys("apache/archiva/detected");

  script_tag(name:"summary", value:"Apache Archiva is prone to a cross-site request forgery (CSRF)
  vulnerability in various REST endpoints.");

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

  script_tag(name:"insight", value:"Several REST service endpoints of Apache Archiva are not
  protected against CSRF attacks.");

  script_tag(name:"impact", value:"A malicious site opened in the same browser as the archiva site,
  may send HTML response that performs arbitrary actions on archiva services, with the same rights
  as the active archiva session (e.g. administrator rights).");

  script_tag(name:"affected", value:"Apache Archiva prior to version 2.2.3.");

  script_tag(name:"solution", value:"Update to version 2.2.3 or later.");

  script_xref(name:"URL", value:"https://archiva.apache.org/security.html#CVE-2017-5657");

  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_is_less(version: version, test_version: "2.2.3")) {
  report = report_fixed_ver(installed_version: version, fixed_version: "2.2.3");
  security_message(port: port, data: report);
  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

05 Nov 2024 00:00Current
7.8High risk
Vulners AI Score7.8
CVSS 26
CVSS 38
EPSS0.00869
34