Lucene search

K
openvasCopyright (C) 2017 Greenbone AGOPENVAS:1361412562310112077
HistoryOct 10, 2017 - 12:00 a.m.

Apache Wicket CSRF Detection Vulnerability

2017-10-1000:00:00
Copyright (C) 2017 Greenbone AG
plugins.openvas.org
17

6.8 Medium

CVSS2

Attack Vector

NETWORK

Attack Complexity

MEDIUM

Authentication

NONE

Confidentiality Impact

PARTIAL

Integrity Impact

PARTIAL

Availability Impact

PARTIAL

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

8.8 High

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

REQUIRED

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

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

8.9 High

AI Score

Confidence

High

0.001 Low

EPSS

Percentile

31.8%

Apache Wicket is prone to a vulnerability affecting the cross-site request forgery (CSRF) detection.

# 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:wicket";

if(description)
{
  script_oid("1.3.6.1.4.1.25623.1.0.112077");
  script_version("2024-03-04T14:37:58+0000");

  script_cve_id("CVE-2016-6806");
  script_tag(name:"cvss_base", value:"6.8");
  script_tag(name:"cvss_base_vector", value:"AV:N/AC:M/Au:N/C:P/I:P/A:P");

  script_tag(name:"last_modification", value:"2024-03-04 14:37:58 +0000 (Mon, 04 Mar 2024)");
  script_tag(name:"severity_vector", value:"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H");
  script_tag(name:"severity_origin", value:"NVD");
  script_tag(name:"severity_date", value:"2017-10-23 12:27:00 +0000 (Mon, 23 Oct 2017)");
  script_tag(name:"creation_date", value:"2017-10-10 15:26:12 +0200 (Tue, 10 Oct 2017)");

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

  script_name("Apache Wicket CSRF Detection Vulnerability");

  script_tag(name:"summary", value:"Apache Wicket is prone to a vulnerability affecting the cross-site request forgery (CSRF) detection.");

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

  script_tag(name:"insight", value:"Affected versions of Apache Wicket provide a CSRF prevention
  measure that fails to discover some cross origin requests");

  script_tag(name:"affected", value:"Apache Wicket 6.20.0, 6.21.0, 6.22.0, 6.23.0, 6.24.0, 7.0.0,
  7.1.0, 7.2.0, 7.3.0, 7.4.0 and 8.0.0-M1");

  script_tag(name:"solution", value:"6.x users should upgrade to 6.25.0, 7.x users should upgrade to
  7.5.0 and 8.0.0-M1 users should upgrade to 8.0.0-M2.");

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

  script_xref(name:"URL", value:"https://lists.apache.org/thread.html/074b72585f4b7c6adda1af52aecbfe1be23c6d6f5bb9382270f059cd@%3Cannounce.apache.org%3E");

  script_copyright("Copyright (C) 2017 Greenbone AG");

  script_category(ACT_GATHER_INFO);

  script_family("Web application abuses");
  script_dependencies("gb_apache_wicket_detect.nasl");
  script_mandatory_keys("Apache/Wicket/Installed");

  exit(0);
}

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

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

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

if(ver =~ "^6\.") {
  if(version_is_less(version:ver, test_version:"6.25.0")) {
    fix = "6.25.0";
  }
}

else if(ver =~ "^7\.") {
  if(version_is_less(version:ver, test_version:"7.5.0")) {
    fix = "7.5.0";
  }
}

else if(ver =~ "^8\.") {
  if(version_is_equal(version:ver, test_version:"8.0.0-M1")) {
    fix = "8.0.0-M2";
  }
}

if(fix) {
  report = report_fixed_ver(installed_version:ver, fixed_version:fix);
  security_message(data:report, port:port);
  exit(0);
}

exit(99);

6.8 Medium

CVSS2

Attack Vector

NETWORK

Attack Complexity

MEDIUM

Authentication

NONE

Confidentiality Impact

PARTIAL

Integrity Impact

PARTIAL

Availability Impact

PARTIAL

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

8.8 High

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

REQUIRED

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

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

8.9 High

AI Score

Confidence

High

0.001 Low

EPSS

Percentile

31.8%

Related for OPENVAS:1361412562310112077