Elevated code execution via unescaped authentication fields
Published Jul 12, 2022 · Updated Apr 21, 2025
Command injection in Siemens SIMATIC and SIPLUS CP firmware allows remote authenticated users to execute arbitrary code with elevated privileges. During authentication, affected firmware passes improperly escaped user-provided fields into commands, enabling custom-command injection. Exploitation requires high privileges, adjacent-network access, and the nondefault SRCS VPN feature; successful attacks execute code on the device.
Summary
What happened
Command injection in Siemens SIMATIC and SIPLUS CP firmware allows remote authenticated users to execute arbitrary code with elevated privileges. During authentication, affected firmware passes improperly escaped user-provided fields into commands, enabling custom-command injection. Exploitation requires high privileges, adjacent-network access, and the nondefault SRCS VPN feature; successful attacks execute code on the device.
The record
- CVE
- CVE-2022-34820
- Published
- Jul 12, 2022
- Updated
- Apr 21, 2025
- Vendor
- Siemens
- Product
- SIPLUS S7-1200 CP 1243-1 RAIL
- Classifications
- CWE-77, CWE-116, T1059
- Attack vector
- adjacent
- Privileges
- admin
Timeline
How it unfolded
- Jul 12, 2022CVE publishedPublication date reported by the CVE source.
- Apr 21, 2025Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=All versions < V3.3.46
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo