#TRUSTED 0a7c2f7d0fc3d347c329355c413b1721568b6ef2a7811ef13c62e6be83787d648db85ff0ec45b109fba27d6799f0bfd609e2c86a356e620f378512cb1f74c63b0dbaa9b8bf79511a2fd46187683c70c8c3b39b49c06e61b490b431cfe2ef95a4eee09a4b752d51a8bf89b014e01ddc63bf6f3316300365f96fc5b4613ffb1f5b53355f9380305a8c22fb2bf7a6a0502291bb4017078eafad95c1868caa458e10075123b04f444fef7bdec4d03b8e2eb3d9a2cf1f2f0de19db61524a41ac0573a0719a4095bf1b2c51d6ba5d0bbbcd280a333f6d8328e0f90244dd4e9436684bf32405502715dfb81c0b39971fa3ba6756ee93e7f732798c83af242323486df6c7e1f21b6a0d7478a65e69e6ea03af9e59edad33ae941582837a1a501de1d8b892ca47d770d65799b3cb47f3166058489f4b60719d4f65c75bf79b0ce5fd2218ed9368aa1c5bd859fcdcc11a54d4c7238c13d47df1537cade03a0197e73ef564c4e1db0f9cad2c195b5100e6e02c732d61eddc865127b33d256af9a2e61c98e86434df809cff2e2b29f9ee01acc400cc53708a5fceb3f25b379a9034327b433c6a8acda5e60a6e71ebce0342d31e1a2f2bb1ccb1927522579a2e4f5641e19c7450d13c3226806dc4c1beae80cb0cc8759c066ed40e7fd0994254a8288d782ec5442871eba4a006ad4f9760e288134778d065b98668a22aeea0f154d19370d0da7
#TRUST-RSA-SHA256 0704eacad1d4214f52af18637cce2806009a9b7fc7e8b0e656f203cb865409073e468f6bf54950f30062d763d3452316361c71e86373a733748d485a9b2d541be3b7d1de3f9e564797b706b4c1a9f59a50ebf957c31776103d490372abd1324655fe2a784f21d3544e458c57b4be38318bdb1a5ae3d830a756c36f9608f8cb2a22f9f9a30e4f9ee37064f90a0c90938f0c70424e4298edc23dc225ef91105e0106c0d8bc25c240bb3762e45878c2b5240ab3c8a274b4b6e4b77674639dc595e9ce905d54e95a02a5d6851978d17c8b528241373032198b1877d06bf61d18adb46d45a6f2888107e0ad0ec162087e1ead4f8b5e7aeb7892348f4a031b9d818bd937e341b38487a0e658200ea74b30b9f6cb0f310e03abd50e8ba471b5e6de430e5be3f3031f8b5a6ed657fd58f4b9363939a09830ea134ba262eff7fb800223a6be7739de958a9ceb4b068b921ba3b997a3153a01efde7ed63c49525712f38c58e632997b7b69e189457790e1e20901e8f256328f0cd1c7d25d1220f19db0f53b38af8bf504a050cbd04e95a489a5081be74f05d5ffc73cb97fe60c052c7166d7e4e7e5f84f8eca808c840100c5c4688d4e62f497da4cca09f36ac14e10945fc669f1a23aa56d2df0234bcff44181af1f34a6d8f319abc85e825da054de46d81c9f40ae13ca664df260f35c3f732239fe069dd58129ca2a2c38b8ba5cfe4bf526
#%NASL_MIN_LEVEL 80900
##
# (C) Tenable, Inc.
# This file was created in whole or in part by AI.
##
include('compat.inc');
if (description)
{
script_id(310441);
script_version("1.1");
script_set_attribute(attribute:"plugin_modification_date", value:"2026/04/27");
script_cve_id(
"CVE-2023-0567",
"CVE-2023-0568",
"CVE-2023-0662",
"CVE-2023-3823",
"CVE-2023-3824"
);
script_xref(name:"JSA", value:"JSA88120");
script_name(english:"Juniper Junos OS Multiple Vulnerabilities (JSA88120)");
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 multiple vulnerabilities as referenced in the
JSA88120 advisory.
- In PHP version 8.0.* before 8.0.30, 8.1.* before 8.1.22, and 8.2.* before 8.2.8, when loading phar file,
while reading PHAR directory entries, insufficient length checking may lead to a stack buffer overflow,
leading potentially to memory corruption or RCE. (CVE-2023-3824)
- In PHP 8.0.X before 8.0.28, 8.1.X before 8.1.16 and 8.2.X before 8.2.3, password_verify() function may
accept some invalid Blowfish hashes as valid. If such invalid hash ever ends up in the password database,
it may lead to an application allowing any password for this entry as valid. (CVE-2023-0567)
- In PHP 8.0.X before 8.0.28, 8.1.X before 8.1.16 and 8.2.X before 8.2.3, excessive number of parts in HTTP
form upload can cause high resource consumption and excessive number of log entries. This can cause denial
of service on the affected server by exhausting CPU resources or disk space. (CVE-2023-0662)
- In PHP versions 8.0.* before 8.0.30, 8.1.* before 8.1.22, and 8.2.* before 8.2.8 various XML functions
rely on libxml global state to track configuration variables, like whether external entities are loaded.
This state is assumed to be unchanged unless the user explicitly changes it by calling appropriate
function. However, since the state is process-global, other modules - such as ImageMagick - may also use
this library within the same process, and change that global state for their internal purposes, and leave
it in a state where external entities loading is enabled. This can lead to the situation where external
XML is parsed with external entities loaded, which can lead to disclosure of any local files accessible to
PHP. This vulnerable state may persist in the same process across many requests, until the process is shut
down. (CVE-2023-3823)
- In PHP 8.0.X before 8.0.28, 8.1.X before 8.1.16 and 8.2.X before 8.2.3, core path resolution function
allocate buffer one byte too small. When resolving paths with lengths close to system MAXPATHLEN setting,
this may lead to the byte after the allocated buffer being overwritten with NUL value, which might lead to
unauthorized data access or modification. (CVE-2023-0568)
Note that Nessus has not tested for these issues but has instead relied only on the application's self-reported version
number.");
# https://supportportal.juniper.net/s/article/2024-10-Security-Bulletin-Junos-OS-J-Web-Multiple-vulnerabilities-resolved-in-PHP-software
script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?ef7ccf16");
script_set_attribute(attribute:"solution", value:
"Apply the relevant Junos software release referenced in Juniper advisory JSA88120");
script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:N/C:C/I:C/A:C");
script_set_cvss_temporal_vector("CVSS2#E:POC/RL:OF/RC:C");
script_set_cvss3_base_vector("CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H");
script_set_cvss3_temporal_vector("CVSS:3.0/E:P/RL:O/RC:C");
script_set_attribute(attribute:"cvss_score_source", value:"CVE-2023-3824");
script_set_attribute(attribute:"exploitability_ease", value:"Exploits are available");
script_set_attribute(attribute:"exploit_available", value:"true");
script_set_attribute(attribute:"vuln_publication_date", value:"2023/02/14");
script_set_attribute(attribute:"patch_publication_date", value:"2024/10/09");
script_set_attribute(attribute:"plugin_publication_date", value:"2026/04/27");
script_set_attribute(attribute:"plugin_type", value:"combined");
script_set_attribute(attribute:"cpe", value:"cpe:/o:juniper:junos");
script_set_attribute(attribute:"generated_plugin", value:"current");
script_end_attributes();
script_category(ACT_GATHER_INFO);
script_family(english:"Junos Local Security Checks");
script_copyright(english:"This script is Copyright (C) 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-S8'},
{'min_ver':'22.1', 'fixed_ver':'22.1R3-S6'},
{'min_ver':'22.2', 'fixed_ver':'22.2R3-S4'},
{'min_ver':'22.3', 'fixed_ver':'22.3R3-S3'},
{'min_ver':'22.4', 'fixed_ver':'22.4R3-S2'},
{'min_ver':'23.2', 'fixed_ver':'23.2R2-S2'},
{'min_ver':'23.4', 'fixed_ver':'23.4R1-S2', 'fixed_display':'23.4R1-S2, 23.4R2'}
];
var override = TRUE;
var buf1 = junos_command_kb_item(cmd:'show configuration | display set');
if (buf1)
{
var conf1 = !junos_check_config(buf:buf1, pattern:"^set .*system services web-management");
if (conf1)
audit(AUDIT_OS_CONF_NOT_VULN, 'Junos OS');
override = FALSE;
}
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_HOLE);
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