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

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2022-31804— CODESYS Gateway server prone to denial of service attack due to excessive memory allocation

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 存在安全漏洞,该漏洞源于不会验证请求的大小是否在预期限制内。未经身份验证的攻击者利用该漏洞可能会分配任意数量的内存,这可能导致网关因内存不足而崩溃。

CVSS 7.5 · High EPSS 1.14% · P65

Possible ATT&CK Techniques 1 AI

T1190 · Exploit Public-Facing Application
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2022-31804

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
CODESYS Gateway server prone to denial of service attack due to excessive memory allocation
Source: CVE Program / CVE List V5
Vulnerability Description
The CODESYS Gateway Server V2 does not verifiy that the size of a request is within expected limits. An unauthenticated attacker may allocate an arbitrary amount of memory, which may lead to a crash of the Gateway due to an out-of-memory condition.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/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 存在安全漏洞,该漏洞源于不会验证请求的大小是否在预期限制内。未经身份验证的攻击者利用该漏洞可能会分配任意数量的内存,这可能导致网关因内存不足而崩溃。
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 unspecified ~ V2.3.9.38 -

II. Public POCs for CVE-2022-31804

# 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-31804

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

Other References for CVE-2022-31804 (1)

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

CVE-2022-31802 9.8 CRITICAL Partial string comparison in CODESYS gateway server
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-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-31804

No comments yet


Leave a comment