CVE-2022-37122 Path traversal in n/a

High 7.5 Published Updated

Unauthenticated attackers can read arbitrary sensitive files via directory traversal in the log download script of Carel pCOWeb HVAC Gateways.

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

CVE-2022-37122 is a high-severity path traversal vulnerability in n/a, published on 31 Aug 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Carel pCOWeb HVAC BACnet Gateway 2.1.0, Firmware: A2.1.0 - B2.1.0, Application Software: 2.15.4A Software v16 13020200 suffers from an unauthenticated arbitrary file disclosure vulnerability. Input passed through the 'file' GET parameter through the 'logdownload.cgi' Bash script is not properly verified before being used to download log files. This can be exploited to disclose the contents of arbitrary and sensitive files via directory traversal attacks.

Weakness: CWE-22

Which versions are affected by CVE-2022-37122?

It affects 3 products.

Products include Carel Applica, Carel Pcoweb Card Firmware, Carel Pcoweb Hvac Bacnet Gateway.

How do I fix CVE-2022-37122?

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

It is not confirmed as exploited in the wild, but public exploit code for CVE-2022-37122 exists.

Public exploit code: 1 Nuclei template and 1 proofs of concept on GitHub.

Sources

Also known as GHSA-wwr2-w2jp-vx63.

Is CVE-2022-37122 in your software?

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

Check your SBOMs for free