Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

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

Quick assessment

Affected
CODESYS CODESYS Gateway Server V2
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

CODESYS Gateway Server是CODESYS 公司的一个扩展的 CODESYS 网关,将 CODESYS 自动化服务器连接到本地网络中的 CODESYS PLC。 CODESYS Gateway Server V2 V2.3.9.38 之前版本存在安全漏洞,该漏洞源于仅将指定密码的一部分与真正的 CODESYS Gateway 密码进行比较。攻击者利用该漏洞可以通过指定一个与较长的真实 CODESYS 网关密码的相应部分匹配的小密码来执行身份验证。

CVSS 9.8 · Critical EPSS 1.30% · P69

Possible ATT&CK Techniques 1 AI

T1110.001 · Password Guessing
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2022-31802

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Partial string comparison in CODESYS gateway server
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Source: CVE Program / CVE List V5
Vulnerability Type
部分比较
Source: CVE Program / CVE List V5
Vulnerability Title
CODESYS Gateway Server 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
CODESYS Gateway Server是CODESYS 公司的一个扩展的 CODESYS 网关,将 CODESYS 自动化服务器连接到本地网络中的 CODESYS PLC。 CODESYS Gateway Server V2 V2.3.9.38 之前版本存在安全漏洞,该漏洞源于仅将指定密码的一部分与真正的 CODESYS Gateway 密码进行比较。攻击者利用该漏洞可以通过指定一个与较长的真实 CODESYS 网关密码的相应部分匹配的小密码来执行身份验证。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
CODESYS CODESYS Gateway Server V2 V2 ~ V2.3.9.38 -

II. Public POCs for CVE-2022-31802

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2022-31802

请登录查看更多情报信息。

Other References for CVE-2022-31802 (1)

Same Patch Batch · CODESYS · 2022-06-24 · 14 CVEs total

CVE-2022-31806 9.8 CRITICAL Insecure default settings in CODESYS Runtime Toolkit 32 bit full and CODESYS PLCWinNT
CVE-2022-32137 8.8 HIGH CODESYS Runtime System prone to heap based buffer overflow
CVE-2022-32138 8.8 HIGH CODESYS runtime system prone to denial of service due to Unexpected Sign Extension
CVE-2022-32143 8.8 HIGH CODESYS runtime system prone to directory acces
CVE-2022-1965 8.1 HIGH CODESYS runtime system prone to file deletion due to improper error handling
CVE-2022-32142 8.1 HIGH CODESYS runtime system prone to denial of service due to use of out of range pointer
CVE-2022-31804 7.5 HIGH CODESYS Gateway server prone to denial of service attack due to excessive memory allocatio
CVE-2022-31805 7.5 HIGH Insecure transmission of credentials
CVE-2022-32136 6.5 MEDIUM Codesys runtime systems: Access of uninitialised pointer lead to denial of service.
CVE-2022-32139 6.5 MEDIUM CODESYS runtime system prone to denial of service due to out of bounds read
CVE-2022-32140 6.5 MEDIUM CODESYS runtime system prone to denial of service due to buffer copy
CVE-2022-32141 6.5 MEDIUM CODESYS runtime system prone to denial of service due to buffer over read
CVE-2022-31803 5.3 MEDIUM CODESYS Gateway Server V2 prone to Denial of Service Attack

IV. Related Vulnerabilities

V. Comments for CVE-2022-31802

No comments yet


Leave a comment