CVE-2022-31802 Partial string comparison in CODESYS gateway server

Critical 9.8 Published Updated

An attacker can bypass authentication in CODESYS Gateway Server by exploiting partial string comparison flaws in password verification.

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

CVE-2022-31802 is a critical authentication bypass vulnerability in CODESYS Gateway Server V2, published on 24 Jun 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

In CODESYS Gateway Server V2 for versions prior to V2.3.9.38 only a part of the the specified password is been compared to the real CODESYS Gateway password. An attacker may perform authentication by specifying a small password that matches the corresponding part of the longer real CODESYS Gateway password.

Weakness: CWE-187

Which versions are affected by CVE-2022-31802?

It affects 1 product.

Products include Codesys Gateway.

How do I fix CVE-2022-31802?

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

Upgrade, and rotate credentials and sessions that may have been exposed. More about Authentication bypass.

Is CVE-2022-31802 being exploited?

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

Sources

Also known as GHSA-jp8v-m2cx-q392.

Is CVE-2022-31802 in your software?

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

Check your SBOMs for free