patchminder
Proof of concept · GitHub CVE-2023-51385

Command injectionin Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP.

Published 18 Dec 2023 · Updated 15 Oct 2026 · Every fact sourced

JSONCite
Is it exploited?
Not confirmed

Proof of concept public (GitHub).

Attack code is public
Severity
Medium 6.5
CVSSA severity score from 0 to 10. 9 and higher is critical. 3.1 · CISAThe US cyber defence agency. Its list names every hole it has seen used in real attacks. assessment · no login needed
Attack likelihood
High
EPSSA daily score from FIRST: the chance a hole is attacked in the next 30 days. 19.8% chance in 30 days · 4 Dec 2026
Fix
Available
Upgrade to V1.1 or later
In plain words

In ssh in OpenSSH before 9.6, OS command injection might occur if a user name or host name has shell metacharacters, and this name is referenced by an expansion token in certain situations. For example, an untrusted Git repository can have a submodule with shell metacharacters in a user name or host name.

What to do now
  • Upgrade SIMATIC S7-1500 TM MFP · GNU/Linux subsystem to V1.1 or later.
Versions

Affected and fixed versions

Product or package
Affected
Fixed in
Source
n/a
Not confirmed
Not confirmed
CVE record
SIMATIC S7-1500 CPU 1518-4 PN/DP MFP
V3.1.5 and later
Not confirmed
CISA
SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP
V3.1.5 and later
Not confirmed
CISA
SIMATIC S7-1500 TM MFP · GNU/Linux subsystem
before V1.1
V1.1
CISA
SIPLUS S7-1500 CPU 1518-4 PN/DP MFP
V3.1.5 and later
Not confirmed
CISA

From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.

Timeline

From first report to first attacks

  1. 28 Sep 2023
    First public proof of concept on GitHub.
  2. 18 Dec 2023
    CVE ID reserved by mitre.
  3. 18 Dec 2023
    Published in the CVE List.
  4. 15 Oct 2026
    CVE record last updated.
Exploit code

Attack code anyone can find

Exploit maturity: Proof of concept (GitHub). CISA assessment (SSVC): exploitation poc.

Metasploit module
None known
Nuclei scan template
None known
Exploit-DB
None known
GitHub proof of concepts
23 repositories
GitHubno warning signs foundvin01/poc-proxycommand-vulnerable50 stars · created 28 Sep 2023Proof of conept to exploit vulnerable proxycommand configurations on ssh clients (CVE-2023-51385)
GitHubno warning signs foundLtmThink/CVE-2023-51385_test7 stars · created 25 Dec 2023一个验证对CVE-2023-51385
GitHubno warning signs foundLe1a/CVE-2023-513855 stars · created 25 Dec 2023OpenSSH ProxyCommand RCE
GitHubno warning signs foundWOOOOONG/CVE-2023-513852 stars · created 2 Jan 2024CVE-2023-51385 PoC Exploit
GitHubno warning signs foundFeatherStark/CVE-2023-513850 stars · created 25 Dec 2023
GitHubno warning signs foundwatarium/poc-cve-2023-513850 stars · created 25 Dec 2023
GitHubno warning signs foundWLaoDuo/CVE-2023-51385_poc-test0 stars · created 26 Dec 2023CVE-2023-51385;OpenSSH ProxyCommand RCE;OpenSSH <9.6 命令注入漏洞poc
GitHubno warning signs foundpower1314520/CVE-2023-51385_test0 stars · created 30 Dec 2023一个验证对CVE-2023-51385
GitHubno warning signs foundjulienbrs/exploit-CVE-2023-513850 stars · created 3 Jan 2024
GitHubno warning signs foundjulienbrs/malicious-exploit-CVE-2023-513850 stars · created 3 Jan 2024

Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.

Related

Other SIMATIC S7-1500 CPU 1518-4 PN/DP MFP vulnerabilities

Same weakness: OS command injection

All CWE-78 vulnerabilities

References
Cite this page

Patchminder. CVE-2023-51385: Command injection in Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP. https://patchminder.com/cve/cve-2023-51385/ (accessed 5 December 2026).