Lucene search
K

Juniper Junos OS Vulnerability (JSA88138)

🗓️ 02 Dec 2024 00:00:00Reported by TenableType 
nessus
 nessus
🔗 www.tenable.com👁 4 Views

Junos OS vulnerable to integrity impact via improper check in routing daemon, as per JSA88138 advisory.

Related
Refs
Code
#TRUSTED 3810108ee18a601d9371eb3a94dc11455edd34a444c873161403837571dea39546deb077129441fee2aa178688aeb6e488e2df8556f04ec286113347d6bd6d74717ffd9ffc42a4a33260cfe4925f5024cdb76a95ed6fb3ad01c65cc78b5b406a5712f83ed9268cf8d57ad25fcf9fa4f737ba697488ba270e0959c5842b0fbc08aa3f92a01361d398029991a59d4ee551b3e4017934fbcfb812ee8085b55d4eb4f516fe350ac6b3498d2c5fd2100c1601352ed57ad2663189e69eb0c3371fe2fe2057ba0839d27d86a86e76417dec8e1f5cdf6fde8362fa334f4fd7b4915b2b8d4b5a7dab6b66dafbc2769e8178be5adbb22f7686564772b480e188677126d1811d1cc165b917f5bd7520d55e7596f3e57171ae558315ef52af1420256c45ab66f7764ea7e071fed704f0236b15e6811f2ccdc141ee90c0a9b2acdf27d8574c6e17946b33f64b7c0d64f2caa197c8fd2f3be0961454b4104d21b031f784d61a88348e709b3dc18c3d7f5353651107a9d81e01751c101408fe4f3e54ecac214ae012404f5c9855c5b54c0856442cf622fe9f4dd25a6ade730d4cb12d8fd66346b02a0e71b0b78de3bc6969c111e13cf50ce7a46152de0d9e842a85bac992d2bcc2ed7409416d7a10e64101c57ec349c91f4b5fcb351d645b0e7005eb78c5f3c5740746381099c55066d2af1ec765d2e8decd31077037ad2868f9a600897e24f6cf
#TRUST-RSA-SHA256 a85fda5d6ea5158c3bfaa31210a8d12b5d9cbed4d9105b1d005f867d8bfdd626a34004000dd1633e0ef2c8918ef9bc57bec923a3d098ac17fe25b8675e5a783f245bc5c87eed166fd08e32510e53587c7bb204d0e3836c8e33f869ec2acd36a5180da9d4152c8ec18ba5c933a81104b83131916daa13570eb5be82191c452007a2ff4b439edd7dfaca1660524d4d83c189d697d63ff802682d66c7be2e8b1a2a2b7af77c4ba8b82ee4e5ff2c27292d10e5d15394c853b342637ddeb8a4c913d604868dadc34ff82c9756afdd9dcf042d032ef62cfd7f55af1007178192c1b54dab71ce0c15b629693302898b48b7c3d7b646d33895e5a82c24dff362ce56936c9b6964c3982aae503d51ebb6a2ce7fba31225966f72bee4253938a67c8e404596cab3e892e391b821850237e6402bae73cbcc2044c71f145375b350361c186f0c7b3176f834fb4f4741d848a633482d6a118e4c8c56f11d8b736f1b78cfab762b48df4efc72826dcce2dd98f90b0a0c0c27c0abc1c4bc1672453f0d6a534ad647b5da4a1de1abc3df0696b3965dad5c13a9cc20fd5cfb63d29643b7a32ecfc91f97e91a6f3c2c25314ac1457b7e89d317a75fcca19749c57abd79518f9ed280ee33cd4a1e9122f08ebf0d1ffe27a814e6056548b020b3e4904070d30c59d589f22314063154909de7509ee1920c560eecc01dbc3b43b598fc664495d296cd29e
#%NASL_MIN_LEVEL 80900
##
# (C) Tenable, Inc.
##

include('compat.inc');

if (description)
{
  script_id(211998);
  script_version("1.2");
  script_set_attribute(attribute:"plugin_modification_date", value:"2026/01/29");

  script_cve_id("CVE-2024-47507");
  script_xref(name:"JSA", value:"JSA88138");
  script_xref(name:"IAVA", value:"2024-A-0650");

  script_name(english:"Juniper Junos OS Vulnerability (JSA88138)");

  script_set_attribute(attribute:"synopsis", value:
"The remote device is missing a vendor-supplied security patch.");
  script_set_attribute(attribute:"description", value:
"The version of Junos OS installed on the remote host is affected by a vulnerability as referenced in the JSA88138
advisory.

  - An Improper Check for Unusual or Exceptional Conditions vulnerability in the routing protocol daemon (rpd)
    of Juniper Networks Junos OS and Junos OS Evolved allows an unauthenticated, network-based attacker to
    cause an integrity impact to the downstream devices. (CVE-2024-47507)

Note that Nessus has not tested for these issues but has instead relied only on the application's self-reported version
number.");
  script_set_attribute(attribute:"see_also", value:"https://kb.juniper.net/JSA88138");
  script_set_attribute(attribute:"solution", value:
"Apply the relevant Junos software release referenced in Juniper advisory JSA88138");
  script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:N/C:N/I:P/A:N");
  script_set_cvss_temporal_vector("CVSS2#E:U/RL:OF/RC:C");
  script_set_cvss3_base_vector("CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:L/A:N");
  script_set_cvss3_temporal_vector("CVSS:3.0/E:U/RL:O/RC:C");
  script_set_attribute(attribute:"cvss4_vector", value:"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:L/SA:N");
  script_set_attribute(attribute:"cvss4_supplemental", value:"CVSS:4.0/RE:M");
  script_set_attribute(attribute:"cvss4_threat_vector", value:"CVSS:4.0/E:U");
  script_set_attribute(attribute:"cvss_score_source", value:"CVE-2024-47507");

  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:"2024/10/09");
  script_set_attribute(attribute:"patch_publication_date", value:"2024/10/09");
  script_set_attribute(attribute:"plugin_publication_date", value:"2024/12/02");

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

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

  script_copyright(english:"This script is Copyright (C) 2024-2026 and is owned by Tenable, Inc. or an Affiliate thereof.");

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

  exit(0);
}

include('junos.inc');
include('junos_kb_cmd_func.inc');


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

var vuln_ranges = [
  {'min_ver':'0.0', 'fixed_ver':'21.4R3-S6'},
  {'min_ver':'0.0-EVO', 'fixed_ver':'21.4R3-S7-EVO'},
  {'min_ver':'22.2', 'fixed_ver':'22.2R3-S3'},
  {'min_ver':'22.2-EVO', 'fixed_ver':'22.2R3-S4-EVO'},
  {'min_ver':'22.4', 'fixed_ver':'22.4R3'},
  {'min_ver':'22.4-EVO', 'fixed_ver':'22.4R3-EVO'}
];

var override = TRUE;
var buf = junos_command_kb_item(cmd:'show configuration | display set');
if (buf)
{
  override = FALSE;
  if (!preg(string:buf, pattern:"^set protocols bgp group.*neighbor", multiline:TRUE))
    audit(AUDIT_HOST_NOT, 'using a vulnerable configuration');
}

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);
junos_report(ver:ver, fix:fix, override:override, severity:SECURITY_WARNING);

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

29 Jan 2026 00:00Current
6Medium risk
Vulners AI Score6
CVSS 3.15.8
CVSS 46.9
EPSS0.00275
SSVC
4