CVE-2022-47188 Improper Input Validation in Generex CS141

High 7.5 Published Updated

An attacker with default credentials can upload a malicious backup file to read sensitive system files like /etc/shadow on Generex UPS devices.

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

What is CVE-2022-47188?

CVE-2022-47188 is a high-severity path traversal vulnerability in Generex UPS CS141, published on 31 Mar 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

There is an arbitrary file reading vulnerability in Generex UPS CS141 below 2.06 version. An attacker, making use of the default credentials, could upload a backup file containing a symlink to /etc/shadow, allowing him to obtain the content of this path.

Weakness: CWE-59, CWE-20

Which versions are affected by CVE-2022-47188?

It affects 1 product.

Products include Generex Cs141 Firmware.

How do I fix CVE-2022-47188?

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

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

Sources

Also known as GHSA-7j8w-v723-8chg.

Is CVE-2022-47188 in your software?

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

Check your SBOMs for free