Lucene search
+L

Juniper Junos Sockets Library Buffer Overflow Privilege Escalation (JSA10792)

🗓️ 23 Aug 2017 00:00:00Reported by TenableType 
nessus
 nessus
🔗 www.tenable.com👁 36 Views

Juniper Junos Sockets Library Buffer Overflow Privilege Escalation (JSA10792) affected by privilege escalation due to a buffer overflow

Related
Refs
Code
ReporterTitlePublishedViews
Family
CNVD
Juniper Junos Local Buffer Overflow Vulnerability
17 Jul 201700:00
cnvd
CVE
CVE-2017-2344
14 Jul 201714:00
cve
Cvelist
CVE-2017-2344 Junos: Buffer overflow in sockets library
14 Jul 201714:00
cvelist
EUVD
EUVD-2017-11527
7 Oct 202500:30
euvd
NVD
CVE-2017-2344
17 Jul 201713:18
nvd
OpenVAS
Juniper Networks Junos OS Sockets Library Buffer Overflow Vulnerability
13 Jul 201700:00
openvas
OSV
CVE-2017-2344
17 Jul 201713:18
osv
Prion
Buffer overflow
17 Jul 201713:18
prion
#
# (C) Tenable Network Security, Inc.
#

include('compat.inc');

if (description)
{
  script_id(102705);
  script_version("1.5");
  script_set_attribute(attribute:"plugin_modification_date", value:"2026/04/22");

  script_cve_id("CVE-2017-2344");
  script_bugtraq_id(99556);
  script_xref(name:"JSA", value:"JSA10792");

  script_name(english:"Juniper Junos Sockets Library Buffer Overflow Privilege Escalation (JSA10792)");

  script_set_attribute(attribute:"synopsis", value:
"The remote device is missing a vendor-supplied security patch.");
  script_set_attribute(attribute:"description", value:
"According to its self-reported version number, the remote Juniper
Junos device is affected by a privilege escalation vulnerability in
the sockets library due to a buffer overflow condition. A local
attacker can exploit this to cause a denial of service (kernel panic)
or the execution of arbitrary code with elevated privileges.");
  script_set_attribute(attribute:"see_also", value:"https://kb.juniper.net/InfoCenter/index?page=content&id=JSA10792");
  script_set_attribute(attribute:"solution", value:
"Upgrade to the relevant Junos software release referenced in Juniper
security advisory JSA10792.");
  script_set_cvss_base_vector("CVSS2#AV:L/AC:L/Au:N/C:C/I:C/A:C");
  script_set_cvss_temporal_vector("CVSS2#E:U/RL:OF/RC:C");
  script_set_cvss3_base_vector("CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H");
  script_set_cvss3_temporal_vector("CVSS:3.0/E:U/RL:O/RC:C");
  script_set_attribute(attribute:"cvss_score_source", value:"CVE-2017-2344");

  script_set_attribute(attribute:"exploitability_ease", value:"No known exploits are available");
  script_set_attribute(attribute:"exploit_available", value:"false");

  script_set_attribute(attribute:"vuln_publication_date", value:"2016/10/12");
  script_set_attribute(attribute:"patch_publication_date", value:"2016/10/12");
  script_set_attribute(attribute:"plugin_publication_date", value:"2017/08/23");

  script_set_attribute(attribute:"plugin_type", value:"combined");
  script_set_attribute(attribute:"cpe", value:"cpe:/o:juniper:junos");
  script_end_attributes();

  script_category(ACT_GATHER_INFO);
  script_family(english:"Junos Local Security Checks");

  script_copyright(english:"This script is Copyright (C) 2017-2026 Tenable Network Security, Inc.");

  script_dependencies("junos_version.nasl");
  script_require_keys("Host/Juniper/JUNOS/Version");

  exit(0);
}

include("junos.inc");

var ver   = get_kb_item_or_exit('Host/Juniper/JUNOS/Version');

var vuln_ranges = [
  {'min_ver':'12.1X46', 'fixed_ver':'12.1X46-D67'},
  {'min_ver':'12.3X48', 'fixed_ver':'12.3X48-D51', 'fixed_display':'12.3X48-D51 or 12.3X48-D55'},
  {'min_ver':'13.3R', 'fixed_ver':'13.3R10-S2'},
  {'min_ver':'14.1R2', 'fixed_ver':'14.1R2-S10'},
  {'min_ver':'14.1R8', 'fixed_ver':'14.1R8-S4'},
  {'min_ver':'14.1R', 'fixed_ver':'14.1R9'},
  {'min_ver':'14.1X53', 'fixed_ver':'14.1X53-D45', 'fixed_display':'14.1X53-D45 or D122, D50'},
  {'min_ver':'14.2R7', 'fixed_ver':'14.2R7-S7'},
  {'min_ver':'14.2R', 'fixed_ver':'14.2R8'},
  {'min_ver':'15.1F2', 'fixed_ver':'15.1F2-S18'},
  {'min_ver':'15.1F6', 'fixed_ver':'15.1F6-S7'},
  {'min_ver':'15.1R4', 'fixed_ver':'15.1R4-S8'},
  {'min_ver':'15.1R5', 'fixed_ver':'15.1R5-S5'},
  {'min_ver':'15.1R6', 'fixed_ver':'15.1R6-S1'},
  {'min_ver':'15.1R', 'fixed_ver':'15.1R7'},
  {'min_ver':'15.1X49', 'fixed_ver':'15.1X49-D100'},
  {'min_ver':'15.1X53', 'fixed_ver':'15.1X53-D47', 'fixed_display':'15.1X53-D47 or D48/D57/D64/D70/D231'},
  {'min_ver':'16.1R3', 'fixed_ver':'16.1R3-S4'},
  {'min_ver':'16.1R4', 'fixed_ver':'16.1R4-S3', 'fixed_display':'16.1R4-S3 or 54'},
  {'min_ver':'16.1R', 'fixed_ver':'16.1R5'},
  {'min_ver':'16.2', 'fixed_ver':'16.2R2'},
  {'min_ver':'17.1R1', 'fixed_ver':'17.1R1-S3'},
  {'min_ver':'17.1R', 'fixed_ver':'17.1R2'},
  {'min_ver':'17.2R1', 'fixed_ver':'17.2R1-S1'},
  {'min_ver':'17.2R', 'fixed_ver':'17.2R2'},
  {'min_ver':'17.3', 'fixed_ver':'17.3R1'}
];

var fix = junos_compare_range(target_version:ver, vuln_ranges:vuln_ranges);
if (empty_or_null(fix))
  audit(AUDIT_INST_VER_NOT_VULN, 'Junos OS', ver);
var report = get_report(ver:ver, fix:fix);
security_report_v4(severity:SECURITY_HOLE, port:0, extra:report);

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