CVE Vulnerabilities

CVE-2023-36846

Missing Authentication for Critical Function

Published: Aug 17, 2023 | Modified: Jun 27, 2024
CVSS 3.x
N/A
Source:
NVD
CVSS 2.x
RedHat/V2
RedHat/V3
Ubuntu

A Missing Authentication for Critical Function vulnerability in Juniper Networks Junos OS on SRX Series allows an unauthenticated, network-based attacker to cause limited impact to the file system integrity.

With a specific request to user.php that doesnt require authentication an attacker is able to upload arbitrary files via J-Web, leading to a loss of

integrity

for a certainĀ 

part of theĀ file system, which may allow chaining to other vulnerabilities.

This issue affects Juniper Networks Junos OS on SRX Series:

  • All versions prior to 20.4R3-S8;
  • 21.1 versions 21.1R1 and later;
  • 21.2 versions prior to 21.2R3-S6;
  • 21.3 versions

prior to

21.3R3-S5;

  • 21.4 versions

prior to

21.4R3-S5;

  • 22.1 versions

prior to

22.1R3-S3;

  • 22.2 versions

prior to

22.2R3-S2;

  • 22.3 versions

prior to

22.3R2-S2, 22.3R3;

  • 22.4 versions

prior to

22.4R2-S1, 22.4R3.

Weakness

The product does not perform any authentication for functionality that requires a provable user identity or consumes a significant amount of resources.

Affected Software

Name Vendor Start Version End Version
Srx100 Juniper - (including) - (including)
Srx110 Juniper - (including) - (including)
Srx1400 Juniper - (including) - (including)
Srx1500 Juniper - (including) - (including)
Srx210 Juniper - (including) - (including)
Srx220 Juniper - (including) - (including)
Srx240 Juniper - (including) - (including)
Srx240h2 Juniper - (including) - (including)
Srx240m Juniper - (including) - (including)
Srx300 Juniper - (including) - (including)
Srx320 Juniper - (including) - (including)
Srx340 Juniper - (including) - (including)
Srx3400 Juniper - (including) - (including)
Srx345 Juniper - (including) - (including)
Srx3600 Juniper - (including) - (including)
Srx380 Juniper - (including) - (including)
Srx4000 Juniper - (including) - (including)
Srx4100 Juniper - (including) - (including)
Srx4200 Juniper - (including) - (including)
Srx4600 Juniper - (including) - (including)
Srx5000 Juniper - (including) - (including)
Srx5400 Juniper - (including) - (including)
Srx550 Juniper - (including) - (including)
Srx550_hm Juniper - (including) - (including)
Srx550m Juniper - (including) - (including)
Srx5600 Juniper - (including) - (including)
Srx5800 Juniper - (including) - (including)
Srx650 Juniper - (including) - (including)

Extended Description

As data is migrated to the cloud, if access does not require authentication, it can be easier for attackers to access the data from anywhere on the Internet.

Potential Mitigations

  • Divide the software into anonymous, normal, privileged, and administrative areas. Identify which of these areas require a proven user identity, and use a centralized authentication capability.
  • Identify all potential communication channels, or other means of interaction with the software, to ensure that all channels are appropriately protected. Developers sometimes perform authentication at the primary channel, but open up a secondary channel that is assumed to be private. For example, a login mechanism may be listening on one network port, but after successful authentication, it may open up a second port where it waits for the connection, but avoids authentication because it assumes that only the authenticated party will connect to the port.
  • In general, if the software or protocol allows a single session or user state to persist across multiple connections or channels, authentication and appropriate credential management need to be used throughout.
  • Where possible, avoid implementing custom authentication routines and consider using authentication capabilities as provided by the surrounding framework, operating system, or environment. These may make it easier to provide a clear separation between authentication tasks and authorization tasks.
  • In environments such as the World Wide Web, the line between authentication and authorization is sometimes blurred. If custom authentication routines are required instead of those provided by the server, then these routines must be applied to every single page, since these pages could be requested directly.
  • Use a vetted library or framework that does not allow this weakness to occur or provides constructs that make this weakness easier to avoid.
  • For example, consider using libraries with authentication capabilities such as OpenSSL or the ESAPI Authenticator [REF-45].

References