cve.bz

CVE-2021-40359 siemens: Path traversal

7.7 highEPSS 1.2%

High (7.7) in siemens. EPSS 1.2% estimated probability of exploitation activity in the next 30 days.

On this page
A vulnerability has been identified in OpenPCS 7 V8.2 (All versions), OpenPCS 7 V9.0 (All versions < V9.0 Upd4), OpenPCS 7 V9.1 (All versions), SIMATIC BATCH V8.2 (All versions), SIMATIC BATCH V9.0 (All versions), SIMATIC BATCH V9.1 (All versions), SIMATIC NET PC Software V14 (All versions), SIMATIC NET PC Software V15 (All versions), SIMATIC NET PC Software V16 (All versions < V16 Update 6), SIMATIC NET PC Software V17 (All versions < V17 SP1), SIMATIC PCS 7 V8.2 (All versions), SIMATIC PCS 7 V9.0 (All versions < V9.0 SP3 UC04), SIMATIC PCS 7 V9.1 (All versions < V9.1 SP1), SIMATIC Route Control V8.2 (All versions), SIMATIC Route Control V9.0 (All versions), SIMATIC Route Control V9.1 (All versions), SIMATIC WinCC V15 and earlier (All versions < V15 SP1 Update 7), SIMATIC WinCC V16 (All versions < V16 Update 5), SIMATIC WinCC V17 (All versions < V17 Update 2), SIMATIC WinCC V7.4 (All versions < V7.4 SP1 Update 19), SIMATIC WinCC V7.5 (All versions < V7.5 SP2 Update 5). When downloading files, the affected systems do not properly neutralize special elements within the pathname. An attacker could then cause the pathname to resolve to a location outside of the restricted directory on the server and read unexpected critical files.

Severity

CVSS 3.1

7.7 high
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N
EPSS
1.2% (unchanged from 1.2% a week ago; 1.2% 30 days ago) estimated probability of exploitation activity in the next 30 days; 68th percentile. Scored 2026-11-21. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-22 Improper Limitation of a Pathname to a Restricted Directory (Path traversal)
OWASP Top 10
A01:2025 Broken Access Control
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2021-40359 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2021-40359?via=ask-ai-copy and https://cve.bz/cve/CVE-2021-40359?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2021-40359 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
siemens:simatic_batch8.2
siemens:simatic_batch8.2:upd_9
siemens:simatic_batch9.0
siemens:simatic_batch9.0:sp1
siemens:simatic_batch9.0:sp1_update_1
siemens:simatic_batch9.0:sp1_update_2
siemens:simatic_batch9.0:sp1_update_3
siemens:simatic_batch9.0:sp1_update_4
siemens:simatic_batch9.1
siemens:simatic_net_pc14
siemens:simatic_net_pc15
siemens:simatic_net_pc16
siemens:simatic_net_pc16:update1
siemens:simatic_net_pc17
siemens:simatic_route_control8.2
siemens:simatic_route_control9.0
siemens:simatic_route_control9.1
siemens:simatic_winccthrough 7.4
siemens:simatic_wincc7.5
siemens:simatic_wincc7.5:sp1
siemens:simatic_wincc7.5:sp1_update1
siemens:simatic_wincc7.5:sp1_update2
siemens:simatic_wincc7.5:sp2
siemens:simatic_wincc7.5:sp2_update1
siemens:simatic_wincc7.5:sp2_update2
siemens:simatic_wincc7.5:sp2_update3
siemens:simatic_wincc7.5:sp2_update4
siemens:simatic_wincc15
siemens:simatic_wincc16
siemens:simatic_wincc16:update1
siemens:simatic_wincc16:update2
siemens:simatic_wincc16:update3
siemens:simatic_wincc16:update4
siemens:simatic_wincc17
siemens:simatic_wincc17:update1
siemens:simaticpcs_7through 8.2
siemens:simaticpcs_7from 9.0 before 9.1
siemens:simaticpcs_79.1

ICS advisories (CISA)

AdvisoryTitlePublishedSectorsAffectedFixed
ICSA-21-315-03Siemens SIMATIC WinCC (Update E)2021-11-09MultipleOpenPCS 7 V8.2, OpenPCS 7 V9.0, OpenPCS 7 V9.1 and 18 morenone listed

From CISA's ICS advisories (CSAF), provided under CISA's notification. Only the facts are shown; each advisory is on CISA's page. Credits.

Attack patterns (CAPEC)

  • CAPEC-64 Using Slashes and URL Encoding Combined to Bypass Validation Logic Likelihood: High · Severity: High
  • CAPEC-76 Manipulating Web Input to File System Calls Likelihood: High · Severity: Very High
  • CAPEC-78 Using Escaped Slashes in Alternate Encoding Likelihood: High · Severity: High
  • CAPEC-79 Using Slashes in Alternate Encoding Likelihood: High · Severity: High
  • CAPEC-126 Path Traversal Likelihood: High · Severity: Very High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON