CVE-2022-45147 Deserialization in SIMATIC PCS neo V4.0
An attacker can execute arbitrary code by exploiting unsafe .NET BinaryFormatter deserialization in Siemens SIMATIC applications.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Local or same network only
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2022-45147?
CVE-2022-45147 is a high-severity unsafe deserialization vulnerability in Siemens SIMATIC PCS neo V4.0, published on 9 Jul 2024. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.
Official description
A vulnerability has been identified in SIMATIC PCS neo V4.0 (All versions), SIMATIC STEP 7 V16 (All versions), SIMATIC STEP 7 V17 (All versions), SIMATIC STEP 7 V18 (All versions < V18 Update 2). Affected applications do not properly restrict the .NET BinaryFormatter when deserializing user-controllable input. This could allow an attacker to cause a type confusion and execute arbitrary code within the affected application. This is the same issue that exists for .NET BinaryFormatter https://docs.microsoft.com/en-us/visualstudio/code-quality/ca2300.
Weakness: CWE-502
Which versions are affected by CVE-2022-45147?
How do I fix CVE-2022-45147?
No fix has been published for CVE-2022-45147 yet. Limit exposure of the affected software until one is available.
Upgrade, and only deserialise data from trusted sources or with an allow-list of types. More about Unsafe deserialization.
Is CVE-2022-45147 being exploited?
There is no known exploitation of CVE-2022-45147 in the wild and no public exploit code.
Sources
Also known as GHSA-mrhc-f9rh-fm9r.