cve.bz

CVE-2021-40358 siemens: Path traversal

9.9 criticalEPSS 1.3%

Critical (9.9) in siemens. EPSS 1.3% estimated probability of exploitation activity in the next 30 days.

On this page
A vulnerability has been identified in 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 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). Legitimate file operations on the web server of 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, write or delete unexpected critical files.

Severity

CVSS 3.1

9.9 critical
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
EPSS
1.3% (unchanged from 1.3% a week ago; 1.3% 30 days ago) estimated probability of exploitation activity in the next 30 days; 71st 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-40358 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2021-40358?via=ask-ai-copy and https://cve.bz/cve/CVE-2021-40358?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-40358 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_pcs_78.2
siemens:simatic_pcs_79.0
siemens:simatic_pcs_79.1
siemens:simatic_wincc7.4
siemens:simatic_wincc7.4:sp1
siemens:simatic_wincc7.4:sp1_update1
siemens:simatic_wincc7.4:sp1_update10
siemens:simatic_wincc7.4:sp1_update11
siemens:simatic_wincc7.4:sp1_update12
siemens:simatic_wincc7.4:sp1_update13
siemens:simatic_wincc7.4:sp1_update14
siemens:simatic_wincc7.4:sp1_update15
siemens:simatic_wincc7.4:sp1_update16
siemens:simatic_wincc7.4:sp1_update17
siemens:simatic_wincc7.4:sp1_update18
siemens:simatic_wincc7.4:sp1_update2
siemens:simatic_wincc7.4:sp1_update3
siemens:simatic_wincc7.4:sp1_update4
siemens:simatic_wincc7.4:sp1_update5
siemens:simatic_wincc7.4:sp1_update6
siemens:simatic_wincc7.4:sp1_update7
siemens:simatic_wincc7.4:sp1_update8
siemens:simatic_wincc7.4:sp1_update9
siemens:simatic_wincc7.4:update_1
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_wincc15.1
siemens:simatic_wincc15.1:update_1
siemens:simatic_wincc15.1:update_2
siemens:simatic_wincc15.1:update_3
siemens:simatic_wincc15.1:update_4
siemens:simatic_wincc15.1:update_5
siemens:simatic_wincc15.1:update_6
siemens:simatic_wincc16:update1
siemens:simatic_wincc16:update2
siemens:simatic_wincc16:update3
siemens:simatic_wincc16:update4
siemens:simatic_wincc17
siemens:simatic_wincc17:update1

ICS advisories (CISA)

AdvisoryTitlePublishedSectorsAffectedFixed
ICSA-21-315-03Siemens SIMATIC WinCC (Update E)2021-11-09MultipleSIMATIC PCS 7 V8.2, SIMATIC PCS 7 V9.0, SIMATIC PCS 7 V9.1 and 5 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