Lucene search

K
openvasCopyright (C) 2017 Greenbone AGOPENVAS:1361412562310107156
HistoryApr 28, 2017 - 12:00 a.m.

Jenkins Multiple Vulnerabilities (Apr 2017) - Linux

2017-04-2800:00:00
Copyright (C) 2017 Greenbone AG
plugins.openvas.org
38

9.8 High

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

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

8 High

AI Score

Confidence

High

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.971 High

EPSS

Percentile

99.8%

Multiple Cross-Site Request Forgery vulnerabilities in Jenkins allow malicious users to
perform several administrative actions by tricking a victim into opening a web 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:jenkins:jenkins";

if(description)
{
  script_oid("1.3.6.1.4.1.25623.1.0.107156");
  script_version("2023-07-14T16:09:27+0000");
  script_tag(name:"last_modification", value:"2023-07-14 16:09:27 +0000 (Fri, 14 Jul 2023)");
  script_tag(name:"creation_date", value:"2017-04-28 12:09:09 +0200 (Fri, 28 Apr 2017)");
  script_cve_id("CVE-2017-1000353", "CVE-2017-1000354", "CVE-2017-1000355", "CVE-2017-1000356");

  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_tag(name:"severity_vector", value:"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H");
  script_tag(name:"severity_origin", value:"NVD");
  script_tag(name:"severity_date", value:"2022-06-13 19:09:00 +0000 (Mon, 13 Jun 2022)");

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

  script_name("Jenkins Multiple Vulnerabilities (Apr 2017) - Linux");

  script_tag(name:"summary", value:"Multiple Cross-Site Request Forgery vulnerabilities in Jenkins allow malicious users to
  perform several administrative actions by tricking a victim into opening a web page.");

  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 to:

  - multiple Cross-Site Request Forgery vulnerabilities.

  - the storage of the encrypted user name in a cache file which is used to authenticate further commands.

  - XStream library which allow anyone able to provide XML to Jenkins for processing using XStream to crash the Java process.");

  script_tag(name:"impact", value:"Successfully exploiting this issue allows attackers to:

  - perform several administrative actions by tricking a victim into opening a web page.execute arbitrary code in the context
  of the affected application.

  - to transfer a serialized Java SignedObject object to the remoting-based Jenkins CLI, that would be deserialized using a new
  ObjectInputStream, bypassing the existing blacklist-based protection mechanism.

  - impersonate any other Jenkins user on the same instance.

  - crash the Java process.");

  script_tag(name:"affected", value:"Jenkins main line 2.56 and prior, Jenkins LTS 2.46.1 and prior.");

  script_tag(name:"solution", value:"Jenkins main line users should update to 2.57,
  Jenkins LTS users should update to 2.46.2.");

  script_xref(name:"URL", value:"http://www.securityfocus.com/bid/98056");
  script_xref(name:"URL", value:"https://jenkins.io/security/advisory/2017-04-26/");

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

  script_category(ACT_GATHER_INFO);
  script_copyright("Copyright (C) 2017 Greenbone AG");
  script_family("Web application abuses");
  script_dependencies("gb_jenkins_consolidation.nasl", "os_detection.nasl");
  script_mandatory_keys("jenkins/detected", "Host/runs_unixoide");

  exit(0);
}

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

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

if( ! infos = get_app_full( cpe:CPE, port:port, exit_no_version:TRUE ) )
  exit( 0 );

version = infos["version"];
location = infos["location"];
proto = infos["proto"];

if( get_kb_item( "jenkins/" + port + "/is_lts" ) ) {
  if( version_is_less( version:version, test_version:"2.46.2" ) ) {
    vuln = TRUE;
    fix = "2.46.2";
  }
} else {
  if( version_is_less( version:version, test_version:"2.57" ) ) {
    vuln = TRUE;
    fix = "2.57";
  }
}

if( vuln ) {
  report = report_fixed_ver( installed_version:version, fixed_version:fix, install_path:location );
  security_message( port:port, data:report, proto:proto );
  exit( 0 );
}

exit( 99 );

9.8 High

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

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

8 High

AI Score

Confidence

High

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.971 High

EPSS

Percentile

99.8%