Lucene search
+L

Jenkins 'CVE-2017-17383' XSS Vulnerability - Linux

🗓️ 07 Dec 2017 00:00:00Reported by Copyright (C) 2017 Greenbone AGType 
openvas
 openvas
🔗 plugins.openvas.org👁 37 Views

Jenkins 'CVE-2017-17383' XSS Vulnerability - Linu

Related
Refs
Code
ReporterTitlePublishedViews
Family
attackerkb
ATTACKERKB
CVE-2017-17383
6 Dec 201705:29
attackerkb
cnvd
CNVD
Jenkins cross-site scripting vulnerability (CNVD-2018-00230)
6 Dec 201700:00
cnvd
cve
CVE
CVE-2017-17383
6 Dec 201705:00
cve
cvelist
Cvelist
CVE-2017-17383
6 Dec 201705:00
cvelist
euvd
EUVD
EUVD-2022-5704
3 Oct 202520:07
euvd
github
Github Security Blog
Cross-site Scripting in Jenkins Core
14 May 202204:04
github
nessus
Tenable Nessus
Jenkins JDK / Ant Tools Job Configuration Stored XSS Vulnerability (SECURITY-624) (deprecated)
15 Dec 201700:00
nessus
nvd
NVD
CVE-2017-17383
6 Dec 201705:29
nvd
openvas
OpenVAS
Jenkins 'CVE-2017-17383' XSS Vulnerability - Windows
7 Dec 201700:00
openvas
osv
OSV
GHSA-X3RC-CXV7-6XP6 Cross-site Scripting in Jenkins Core
14 May 202204:04
osv
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

if( description )
{
  script_oid("1.3.6.1.4.1.25623.1.0.113063");
  script_version("2023-07-25T05:05:58+0000");
  script_tag(name:"last_modification", value:"2023-07-25 05:05:58 +0000 (Tue, 25 Jul 2023)");
  script_tag(name:"creation_date", value:"2017-12-07 12:28:29 +0100 (Thu, 07 Dec 2017)");
  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:"severity_vector", value:"CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N");
  script_tag(name:"severity_origin", value:"NVD");
  script_tag(name:"severity_date", value:"2017-12-22 17:16:00 +0000 (Fri, 22 Dec 2017)");

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

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

  script_cve_id("CVE-2017-17383");

  script_name("Jenkins 'CVE-2017-17383' XSS Vulnerability - Linux");

  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");

  script_tag(name:"summary", value:"Jenkins is prone to an XSS vulnerability.");

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

  script_tag(name:"insight", value:"An authenticated attacker can use a crafted tool name in a job configuration
  form to conduct XSS attacks.");

  script_tag(name:"impact", value:"Successful exploitation would allow an authenticated attacker to expose other
  users to malicious code.");

  script_tag(name:"affected", value:"Jenkins LTS 2.73.1 and prior, Jenkins 2.93 and prior.");

  script_tag(name:"solution", value:"Please refer to the vendor advisory for a workaround.");

  script_xref(name:"URL", value:"https://jenkins.io/security/advisory/2017-12-05/");

  exit(0);
}

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

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_equal( version:version, test_version:"2.73.1" ) ) {
    vuln = TRUE;
    fix = "See workaround in vendor advisory";
  }
} else {
  if( version_is_less_equal( version:version, test_version:"2.93" ) ) {
    vuln = TRUE;
    fix = "See workaround in vendor advisory";
  }
}

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 );

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