CVE-2022-21132 Path traversal in pfSense-pkg-WireGuard

Medium 6.5 Published Updated

A remote authenticated attacker can exploit a directory traversal flaw in the pfSense WireGuard plugin to view files outside the public folder.

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-21132?

CVE-2022-21132 is a medium-severity path traversal vulnerability in pfSense-pkg-WireGuard, published on 7 Mar 2022. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

Directory traversal vulnerability in pfSense-pkg-WireGuard pfSense-pkg-WireGuard 0.1.5 versions prior to 0.1.5_4 and pfSense-pkg-WireGuard 0.1.6 versions prior to 0.1.6_1 allows a remote authenticated attacker to lead a pfSense user to view a file outside the public folder.

Weakness: CWE-22

Which versions are affected by CVE-2022-21132?

It affects 1 product.

Products include Pfsense Pfsense-Pkg-Wireguard.

How do I fix CVE-2022-21132?

No fix has been published for CVE-2022-21132 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-21132 being exploited?

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

Sources

Also known as GHSA-3c9g-4q34-jp78.

Is CVE-2022-21132 in your software?

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

Check your SBOMs for free