title: Junos OS: SRX Series and EX Series: J-Web - unauthenticated access to temporary files containing sensitive information
description: A Missing Authentication for Critical Function vulnerability combined with a Generation of Error Message Containing Sensitive Information vulnerability in J-Web of Juniper Networks Junos OS on SRX Series and EX Series allows an unauthenticated, network-based attacker to access sensitive system information.
When a user logs in, a temporary file which contains the configuration of the device (as visible to that user) is created in the /cache folder. An unauthenticated attacker can then attempt to access such a file by sending a specific request to the device trying to guess the name of such a file. Successful exploitation will reveal configuration information.
This issue affects Juniper Networks Junos OS on SRX Series and EX Series:
*  All versions earlier than 20.4R3-S9;
*  21.2 versions earlier than 21.2R3-S7;
*  21.3 versions earlier than 21.3R3-S5;
*  21.4 versions earlier than 21.4R3-S6;
*  22.1 versions earlier than 22.1R3-S5;
*  22.2 versions earlier than 22.2R3-S3;
*  22.3 versions earlier than 22.3R3-S2;
*  22.4 versions earlier than 22.4R3;
*  23.2 versions earlier than 23.2R1-S2, 23.2R2.
problem types: CWE-306 Missing Authentication for Critical Function
affected:
{
defaultStatus: unaffected
platforms: [SRX Series, EX Series]
product: Junos OS
vendor: Juniper Networks
versions:
lessThan: 20.4R3-S9, status: affected, version: 0, versionType: semver
lessThan: 21.2R3-S7, status: affected, version: 21.2, versionType: semver
lessThan: 21.3R3-S5, status: affected, version: 21.3, versionType: semver
lessThan: 21.4R3-S6, status: affected, version: 21.4, versionType: semver
lessThan: 22.1R3-S5, status: affected, version: 22.1, versionType: semver
lessThan: 22.2R3-S3, status: affected, version: 22.2, versionType: semver
lessThan: 22.3R3-S2, status: affected, version: 22.3, versionType: semver
lessThan: 22.4R3, status: affected, version: 22.4, versionType: semver
lessThan: 23.2R1-S2, 23.2R2, status: affected, version: 23.2, versionType: semver
}
metrics:
cvssV3_1: [
attackComplexity: HIGH
attackVector: NETWORK
availabilityImpact: NONE
baseScore: 5.3
baseSeverity: MEDIUM
confidentialityImpact: HIGH
integrityImpact: NONE
privilegesRequired: NONE
scope: UNCHANGED
userInteraction: REQUIRED
vectorString: CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N
version: 3.1
]
format: CVSS
scenarios: GENERAL
exploits: Juniper SIRT is not aware of any malicious exploitation of this vulnerability.
solutions: The following software releases have been updated to resolve this specific issue: 20.4R3-S9, 21.2R3-S7*, 21.3R3-S5, 21.4R3-S6*, 22.1R3-S5*, 22.2R3-S3*, 22.3R3-S2*, 22.4R2-S2, 22.4R3*, 23.2R1-S2, 23.2R2*, 23.4R1, and all subsequent releases.
*Pending Publication
workarounds: Disable J-Web, or limit access to only trusted hosts.