CVE-2022-22246 Junos OS: PHP file inclusion vulnerability in J-Web

High 7.5 Published Updated

A low-privileged attacker can exploit a PHP Local File Inclusion vulnerability in Junos OS J-Web to execute arbitrary code and potentially compromise the system.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2022-22246?

CVE-2022-22246 is a high-severity path traversal vulnerability in Juniper Junos, published on 18 Oct 2022. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

A PHP Local File Inclusion (LFI) vulnerability in the J-Web component of Juniper Networks Junos OS may allow a low-privileged authenticated attacker to execute an untrusted PHP file. By chaining this vulnerability with other unspecified vulnerabilities, and by circumventing existing attack requirements, successful exploitation could lead to a complete system compromise. This issue affects Juniper Networks Junos OS: all versions prior to 19.1R3-S9; 19.2 versions prior to 19.2R3-S6; 19.3 versions prior to 19.3R3-S6; 19.4 versions prior to 19.4R2-S7, 19.4R3-S8; 20.1 versions prior to 20.1R3-S5; 20.2 versions prior to 20.2R3-S5; 20.3 versions prior to 20.3R3-S5; 20.4 versions prior to 20.4R3-S4; 21.1 versions prior to 21.1R3-S2; 21.2 versions prior to 21.2R3-S1; 21.3 versions prior to 21.3R2-S2, 21.3R3; 21.4 versions prior to 21.4R1-S2, 21.4R2-S1, 21.4R3; 22.1 versions prior to 22.1R1-S1, 22.1R2.

Weakness: CWE-829

Which versions are affected by CVE-2022-22246?

It affects 1 product.

Products include Juniper Junos.

How do I fix CVE-2022-22246?

No fix has been published for CVE-2022-22246 yet. Limit exposure of the affected software until one is available.

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2022-22246 being exploited?

There is no known exploitation of CVE-2022-22246 in the wild and no public exploit code.

All Juniper Junos vulnerabilities

Sources

Also known as GHSA-8x6h-2g3w-6mg5.

Is CVE-2022-22246 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free