# CVE-2023-28972: Junos OS: NFX Series: 'set system ports console insecure' allows root password recovery

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 6.8
- **CVSS:** 6.8 (v3.1, CNA) `CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Physical; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.51% (percentile 37, 2026-11-26)
- **CWE:** CWE-59
- **Published:** 2023-04-17T00:00:00.000Z
- **Modified:** 2026-06-17T05:49:06.207Z

## Who should check

- Anyone running Juniper Networks Junos OS \>= 19.2, \< 19.2R3-S7; \>= 19.3, \< 19.3R3-S8; \>= 19.4, \< 19.4R3-S12; \>= 20.2, \< 20.2R3-S8; \>= 20.4, \< 20.4R3-S7; \>= 21.1, \< 21.1R3-S5; \>= 21.2, \< 21.2R3-S4; \>= 21.3, \< 21.3R3-S3; \>= 21.4, \< 21.4R3-S2; \>= 22.1, \< 22.1R3-S1; …

## Description

An Improper Link Resolution Before File Access vulnerability in console port access of Juniper Networks Junos OS on NFX Series allows an attacker to bypass console access controls. When "set system ports console insecure" is enabled, root login is disallowed for Junos OS as expected. However, the root password can be changed using "set system root-authentication plain-text-password" on NFX Series systems, leading to a possible administrative bypass with physical access to the console. Password recovery, changing the root password from a console, should not have been allowed from an insecure console. This is similar to the vulnerability described in CVE-2019-0035 but affects different platforms and in turn requires a different fix. This issue affects Juniper Networks Junos OS on NFX Series: 19.2 versions prior to 19.2R3-S7; 19.3 versions prior to 19.3R3-S8; 19.4 versions prior to 19.4R3-S12; 20.2 versions prior to 20.2R3-S8; 20.4 versions prior to 20.4R3-S7; 21.1 versions prior to 21.1R3-S5; 21.2 versions prior to 21.2R3-S4; 21.3 versions prior to 21.3R3-S3; 21.4 versions prior to 21.4R3-S2; 22.1 versions prior to 22.1R3-S1; 22.2 versions prior to 22.2R2-S1, 22.2R3; 22.3 versions prior to 22.3R1-S2, 22.3R2.

## Affected and fixed versions

- Juniper Networks Junos OS: \>= 19.2, \< 19.2R3-S7; \>= 19.3, \< 19.3R3-S8; \>= 19.4, \< 19.4R3-S12; \>= 20.2, \< 20.2R3-S8; \>= 20.4, \< 20.4R3-S7; \>= 21.1, \< 21.1R3-S5; \>= 21.2, \< 21.2R3-S4; \>= 21.3, \< 21.3R3-S3; \>= 21.4, \< 21.4R3-S2; \>= 22.1, \< 22.1R3-S1; … (cvelist)

## Mitigation

- Vendor workaround: Limit console access to the device to only trusted administrators.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2023-28972. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2023-28972.md
Affected: Juniper Networks Junos OS >= 19.2, < 19.2R3-S7; >= 19.3, < 19.3R3-S8; >= 19.4, < 19.4R3-S12; >= 20.2, < 20.2R3-S8; >= 20.4, < 20.4R3-S7; >= 21.1, < 21.1R3-S5; >= 21.2, < 21.2R3-S4; >= 21.3, < 21.3R3-S3; >= 21.4, < 21.4R3-S2; >= 22.1, < 22.1R3-S1; …
Fixed in: Juniper Networks Junos OS 19.2R3-S7, Juniper Networks Junos OS 19.3R3-S8, Juniper Networks Junos OS 19.4R3-S12, Juniper Networks Junos OS 20.2R3-S8, Juniper Networks Junos OS 20.4R3-S7, Juniper Networks Junos OS 21.1R3-S5, Juniper Networks Junos OS 21.2R3-S4, Juniper Networks Junos OS 21.3R3-S3, Ju…

Steps:
1. Search this machine and project for Juniper Networks Junos OS: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2023-28972 being exploited?

There is no confirmed exploitation: CVE-2023-28972 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.51% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2023-28972?

Medium: CVSS 6.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2023-28972?

Juniper Networks Junos OS \>= 19.2, \< 19.2R3-S7; \>= 19.3, \< 19.3R3-S8; \>= 19.4, \< 19.4R3-S12; \>= 20.2, \< 20.2R3-S8; \>= 20.4, \< 20.4R3-S7; \>= 21.1, \< 21.1R3-S5; \>= 21.2, \< 21.2R3-S4; \>= 21.3, \< 21.3R3-S3; \>= 21.4, \< 21.4R3-S2; \>= 22.1, \< 22.1R3-S1; ….

### Is there a fix for CVE-2023-28972?

Yes. Fixed in Juniper Networks Junos OS 19.2R3-S7, Juniper Networks Junos OS 19.3R3-S8, Juniper Networks Junos OS 19.4R3-S12, Juniper Networks Junos OS 20.2R3-S8, Juniper Networks Junos OS 20.4R3-S7, Juniper Networks Junos OS 21.1R3-S5, Juniper Networks Junos OS 21.2R3-S4, Juniper Networks Junos OS 21.3R3-S3, Juniper Networks Junos OS 21.4R3-S2, Juniper Networks Junos OS 22.1R3-S1. Vendor workaround: Limit console access to the device to only trusted administrators.

### How do I check if I'm affected by CVE-2023-28972?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://supportportal.juniper.net/JSA70596>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2023-28972>

HTML: <https://flawdb.com/CVE-2023-28972> · JSON: <https://flawdb.com/api/v1/entries/CVE-2023-28972>
