CVE-2025-40943: CWE-95: Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection') in Siemens SIMATIC Drive Controller CPU 1504D TF
Affected devices do not properly sanitize contents of trace files. This could allow an attacker to inject code through social engineering an authorized user, who has the function right "Read diagnostics", to import a specially crafted trace file. The malicious trace file is insufficiently sanitized and malicious code could be executed in the clients browser session and trigger PLC operations via the webserver that the legitimate user is authorized to perform.
AI Analysis
Technical Summary
This vulnerability involves improper sanitization of trace file contents in Siemens SIMATIC Drive Controller CPU 1504D TF. An attacker can leverage social engineering to convince an authorized user to import a malicious trace file. The malicious code embedded in the trace file is executed in the client's browser session, allowing unauthorized PLC operations to be triggered through the webserver under the legitimate user's permissions. The issue is categorized as CWE-95 (Eval Injection) and has a CVSS v3.1 base score of 9.6, indicating critical severity.
Potential Impact
Successful exploitation allows remote code execution in the context of the authorized user's browser session, leading to potentially complete compromise of PLC operations accessible to that user. This includes confidentiality, integrity, and availability impacts rated as high. The attacker can cause unauthorized control actions on the industrial controller via the webserver interface.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, restrict the 'Read diagnostics' function right to trusted users only and avoid importing trace files from untrusted sources. Monitor Siemens advisories for updates on official patches or mitigations.
CVE-2025-40943: CWE-95: Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection') in Siemens SIMATIC Drive Controller CPU 1504D TF
Description
Affected devices do not properly sanitize contents of trace files. This could allow an attacker to inject code through social engineering an authorized user, who has the function right "Read diagnostics", to import a specially crafted trace file. The malicious trace file is insufficiently sanitized and malicious code could be executed in the clients browser session and trigger PLC operations via the webserver that the legitimate user is authorized to perform.
CVSS v3.1
Score 9.6critical
Affected software
Siemens
SIMATIC Drive Controller CPU 1504D TF
Siemens
SIMATIC Drive Controller CPU 1507D TF
Siemens
SIMATIC ET 200SP CPU 1510SP F-1 PN
Siemens
SIMATIC ET 200SP CPU 1510SP F-1 PN
Siemens
SIMATIC ET 200SP CPU 1510SP-1 PN
Siemens
SIMATIC ET 200SP CPU 1510SP-1 PN
Siemens
SIMATIC ET 200SP CPU 1512SP F-1 PN
Siemens
SIMATIC ET 200SP CPU 1512SP F-1 PN
Siemens
SIMATIC ET 200SP CPU 1512SP-1 PN
Siemens
SIMATIC ET 200SP CPU 1512SP-1 PN
Siemens
SIMATIC ET 200SP CPU 1514SP F-2 PN
Siemens
SIMATIC ET 200SP CPU 1514SP-2 PN
Siemens
SIMATIC ET 200SP CPU 1514SPT F-2 PN
Siemens
SIMATIC ET 200SP CPU 1514SPT-2 PN
Siemens
SIMATIC ET 200SP Open Controller CPU 1515SP PC (incl. SIPLUS variants)
Siemens
SIMATIC ET 200SP Open Controller CPU 1515SP PC2 (incl. SIPLUS variants) V2 CPUs - Windows OS
Siemens
SIMATIC ET 200SP Open Controller CPU 1515SP PC2 (incl. SIPLUS variants) V3 CPUs - Industrial OS
Siemens
SIMATIC ET 200SP Open Controller CPU 1515SP PC2 (incl. SIPLUS variants) V3 CPUs - Windows OS
Siemens
SIMATIC ET 200SP Open Controller CPU 1515SP PC3 V4 CPUs
Siemens
SIMATIC S7-1500 CPU 1511-1 PN
Siemens
SIMATIC S7-1500 CPU 1511-1 PN
Siemens
SIMATIC S7-1500 CPU 1511-1 PN
Siemens
SIMATIC S7-1500 CPU 1511C-1 PN
Siemens
SIMATIC S7-1500 CPU 1511C-1 PN
Siemens
SIMATIC S7-1500 CPU 1511F-1 PN
Siemens
SIMATIC S7-1500 CPU 1511F-1 PN
Siemens
SIMATIC S7-1500 CPU 1511T-1 PN
Siemens
SIMATIC S7-1500 CPU 1511T-1 PN
Siemens
SIMATIC S7-1500 CPU 1511TF-1 PN
Siemens
SIMATIC S7-1500 CPU 1511TF-1 PN
Siemens
SIMATIC S7-1500 CPU 1512C-1 PN
Siemens
SIMATIC S7-1500 CPU 1512C-1 PN
Siemens
SIMATIC S7-1500 CPU 1513-1 PN
Siemens
SIMATIC S7-1500 CPU 1513-1 PN
Siemens
SIMATIC S7-1500 CPU 1513F-1 PN
Siemens
SIMATIC S7-1500 CPU 1513F-1 PN
Siemens
SIMATIC S7-1500 CPU 1513pro F-2 PN
Siemens
SIMATIC S7-1500 CPU 1513pro-2 PN
Siemens
SIMATIC S7-1500 CPU 1515-2 PN
Siemens
SIMATIC S7-1500 CPU 1515-2 PN
Siemens
SIMATIC S7-1500 CPU 1515F-2 PN
Siemens
SIMATIC S7-1500 CPU 1515F-2 PN
Siemens
SIMATIC S7-1500 CPU 1515T-2 PN
Siemens
SIMATIC S7-1500 CPU 1515T-2 PN
Siemens
SIMATIC S7-1500 CPU 1515TF-2 PN
Siemens
SIMATIC S7-1500 CPU 1515TF-2 PN
Siemens
SIMATIC S7-1500 CPU 1516-3 PN/DP
Siemens
SIMATIC S7-1500 CPU 1516-3 PN/DP
Siemens
SIMATIC S7-1500 CPU 1516F-3 PN/DP
Siemens
SIMATIC S7-1500 CPU 1516F-3 PN/DP
Siemens
SIMATIC S7-1500 CPU 1516pro F-2 PN
Siemens
SIMATIC S7-1500 CPU 1516pro-2 PN
Siemens
SIMATIC S7-1500 CPU 1516T-3 PN
Siemens
SIMATIC S7-1500 CPU 1516T-3 PN/DP
Siemens
SIMATIC S7-1500 CPU 1516TF-3 PN
Siemens
SIMATIC S7-1500 CPU 1516TF-3 PN/DP
Siemens
SIMATIC S7-1500 CPU 1517-3 PN
Siemens
SIMATIC S7-1500 CPU 1517-3 PN/DP
Siemens
SIMATIC S7-1500 CPU 1517F-3 PN
Siemens
SIMATIC S7-1500 CPU 1517F-3 PN/DP
Siemens
SIMATIC S7-1500 CPU 1517T-3 PN
Siemens
SIMATIC S7-1500 CPU 1517T-3 PN/DP
Siemens
SIMATIC S7-1500 CPU 1517TF-3 PN
Siemens
SIMATIC S7-1500 CPU 1517TF-3 PN/DP
Siemens
SIMATIC S7-1500 CPU 1518-3 PN
Siemens
SIMATIC S7-1500 CPU 1518-4 PN/DP
Siemens
SIMATIC S7-1500 CPU 1518-4 PN/DP MFP
Siemens
SIMATIC S7-1500 CPU 1518F-3 PN
Siemens
SIMATIC S7-1500 CPU 1518F-4 PN/DP
Siemens
SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP
Siemens
SIMATIC S7-1500 CPU 1518T-3 PN
Siemens
SIMATIC S7-1500 CPU 1518T-4 PN/DP
Siemens
SIMATIC S7-1500 CPU 1518TF-3 PN
Siemens
SIMATIC S7-1500 CPU 1518TF-4 PN/DP
Siemens
SIMATIC S7-1500 CPU S7-1518-4 PN/DP ODK
Siemens
SIMATIC S7-1500 CPU S7-1518F-4 PN/DP ODK
Siemens
SIMATIC S7-1500 ET 200pro: CPU 1513PRO F-2 PN
Siemens
SIMATIC S7-1500 ET 200pro: CPU 1513PRO-2 PN
Siemens
SIMATIC S7-1500 ET 200pro: CPU 1516PRO F-2 PN
Siemens
SIMATIC S7-1500 ET 200pro: CPU 1516PRO-2 PN
Siemens
SIMATIC S7-1500 Software Controller CPU 1507S F V2
Siemens
SIMATIC S7-1500 Software Controller CPU 1507S F V3
Siemens
SIMATIC S7-1500 Software Controller CPU 1507S F V4
Siemens
SIMATIC S7-1500 Software Controller CPU 1507S V2
Siemens
SIMATIC S7-1500 Software Controller CPU 1507S V3
Siemens
SIMATIC S7-1500 Software Controller CPU 1507S V4
Siemens
SIMATIC S7-1500 Software Controller CPU 1508S F V2
Siemens
SIMATIC S7-1500 Software Controller CPU 1508S F V3
Siemens
SIMATIC S7-1500 Software Controller CPU 1508S F V4
Siemens
SIMATIC S7-1500 Software Controller CPU 1508S T V3
Siemens
SIMATIC S7-1500 Software Controller CPU 1508S TF V3
Siemens
SIMATIC S7-1500 Software Controller CPU 1508S V2
Siemens
SIMATIC S7-1500 Software Controller CPU 1508S V3
Siemens
SIMATIC S7-1500 Software Controller CPU 1508S V4
Siemens
SIMATIC S7-1500 Software Controller Linux V2
Siemens
SIMATIC S7-1500 Software Controller Linux V3
Siemens
SIMATIC S7-PLCSIM Advanced
Siemens
SIPLUS ET 200SP CPU 1510SP F-1 PN
Siemens
SIPLUS ET 200SP CPU 1510SP F-1 PN RAIL
Siemens
SIPLUS ET 200SP CPU 1510SP-1 PN
Siemens
SIPLUS ET 200SP CPU 1510SP-1 PN RAIL
Siemens
SIPLUS ET 200SP CPU 1512SP F-1 PN
Siemens
SIPLUS ET 200SP CPU 1512SP F-1 PN RAIL
Siemens
SIPLUS ET 200SP CPU 1512SP-1 PN
Siemens
SIPLUS ET 200SP CPU 1512SP-1 PN RAIL
Siemens
SIPLUS S7-1500 CPU 1511-1 PN
Siemens
SIPLUS S7-1500 CPU 1511-1 PN T1 RAIL
Siemens
SIPLUS S7-1500 CPU 1511-1 PN TX RAIL
Siemens
SIPLUS S7-1500 CPU 1511F-1 PN
Siemens
SIPLUS S7-1500 CPU 1513-1 PN
Siemens
SIPLUS S7-1500 CPU 1513F-1 PN
Siemens
SIPLUS S7-1500 CPU 1515F-2 PN
Siemens
SIPLUS S7-1500 CPU 1515F-2 PN RAIL
Siemens
SIPLUS S7-1500 CPU 1515F-2 PN T2 RAIL
Siemens
SIPLUS S7-1500 CPU 1516-3 PN/DP
Siemens
SIPLUS S7-1500 CPU 1516-3 PN/DP RAIL
Siemens
SIPLUS S7-1500 CPU 1516-3 PN/DP TX RAIL
Siemens
SIPLUS S7-1500 CPU 1516F-3 PN/DP
Siemens
SIPLUS S7-1500 CPU 1516F-3 PN/DP RAIL
Siemens
SIPLUS S7-1500 CPU 1518-4 PN/DP
Siemens
SIPLUS S7-1500 CPU 1518-4 PN/DP MFP
Siemens
SIPLUS S7-1500 CPU 1518F-4 PN/DP
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
This vulnerability involves improper sanitization of trace file contents in Siemens SIMATIC Drive Controller CPU 1504D TF. An attacker can leverage social engineering to convince an authorized user to import a malicious trace file. The malicious code embedded in the trace file is executed in the client's browser session, allowing unauthorized PLC operations to be triggered through the webserver under the legitimate user's permissions. The issue is categorized as CWE-95 (Eval Injection) and has a CVSS v3.1 base score of 9.6, indicating critical severity.
Potential Impact
Successful exploitation allows remote code execution in the context of the authorized user's browser session, leading to potentially complete compromise of PLC operations accessible to that user. This includes confidentiality, integrity, and availability impacts rated as high. The attacker can cause unauthorized control actions on the industrial controller via the webserver interface.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, restrict the 'Read diagnostics' function right to trusted users only and avoid importing trace files from untrusted sources. Monitor Siemens advisories for updates on official patches or mitigations.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- siemens
- Date Reserved
- 2025-04-16T09:06:15.879Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 69b04b8cea502d3aa873baa0
Added to database: 03/10/2026, 16:49:16 UTC
Last enriched: 05/13/2026, 02:45:34 UTC
Last updated: 09/11/2026, 07:31:50 UTC
Views: 251
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.