CVE-2021-40358
Siemens SIMATIC Path Traversal Vulnerability
Description
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.
INFO
Published Date :
Nov. 9, 2021, 12:15 p.m.
Last Modified :
Nov. 21, 2024, 6:23 a.m.
Source :
[email protected]
Remotely Exploitable :
Yes !
Impact Score :
6.0
Exploitability Score :
3.1
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2021-40358
.
URL | Resource |
---|---|
https://cert-portal.siemens.com/productcert/pdf/ssa-840188.pdf | Vendor Advisory |
https://cert-portal.siemens.com/productcert/pdf/ssa-840188.pdf | Vendor Advisory |
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2021-40358
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2021-40358
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by af854a3a-2127-422b-91ae-364da2661108
Nov. 21, 2024
Action Type Old Value New Value Added Reference https://cert-portal.siemens.com/productcert/pdf/ssa-840188.pdf -
CVE Modified by [email protected]
May. 14, 2024
Action Type Old Value New Value -
CVE Modified by [email protected]
Apr. 11, 2023
Action Type Old Value New Value Added CVSS V3.1 Siemens AG AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H -
Modified Analysis by [email protected]
Oct. 19, 2022
Action Type Old Value New Value Changed CPE Configuration OR *cpe:2.3:a:siemens:simatic_pcs_7:*:*:*:*:*:*:*:* versions up to (excluding) 9.1 *cpe:2.3:a:siemens:simatic_pcs_7:9.1:*:*:*:*:*:*:* *cpe:2.3:a:siemens:simatic_wincc:*:*:*:*:*:*:*:* versions up to (excluding) 16 *cpe:2.3:a:siemens:simatic_wincc:16:update1:*:*:*:*:*:* *cpe:2.3:a:siemens:simatic_wincc:16:update2:*:*:*:*:*:* *cpe:2.3:a:siemens:simatic_wincc:16:update3:*:*:*:*:*:* *cpe:2.3:a:siemens:simatic_wincc:16:update4:*:*:*:*:*:* *cpe:2.3:a:siemens:simatic_wincc:17:*:*:*:*:*:*:* *cpe:2.3:a:siemens:simatic_wincc:17:update1:*:*:*:*:*:* OR *cpe:2.3:a:siemens:simatic_pcs_7:8.2:*:*:*:*:*:*:* *cpe:2.3:a:siemens:simatic_pcs_7:9.0:-:*:*:*:*:*:* *cpe:2.3:a:siemens:simatic_pcs_7:9.1:-:*:*:*:*:*:* *cpe:2.3:a:siemens:simatic_wincc:7.4:*:*:*:*:*:*:* *cpe:2.3:a:siemens:simatic_wincc:7.4:-:*:*:*:*:*:* *cpe:2.3:a:siemens:simatic_wincc:7.4:sp1:*:*:*:*:*:* *cpe:2.3:a:siemens:simatic_wincc:7.4:sp1_update1:*:*:*:*:*:* *cpe:2.3:a:siemens:simatic_wincc:7.4:sp1_update10:*:*:*:*:*:* *cpe:2.3:a:siemens:simatic_wincc:7.4:sp1_update11:*:*:*:*:*:* *cpe:2.3:a:siemens:simatic_wincc:7.4:sp1_update12:*:*:*:*:*:* *cpe:2.3:a:siemens:simatic_wincc:7.4:sp1_update13:*:*:*:*:*:* *cpe:2.3:a:siemens:simatic_wincc:7.4:sp1_update14:*:*:*:*:*:* *cpe:2.3:a:siemens:simatic_wincc:7.4:sp1_update15:*:*:*:*:*:* *cpe:2.3:a:siemens:simatic_wincc:7.4:sp1_update16:*:*:*:*:*:* *cpe:2.3:a:siemens:simatic_wincc:7.4:sp1_update17:*:*:*:*:*:* *cpe:2.3:a:siemens:simatic_wincc:7.4:sp1_update18:*:*:*:*:*:* *cpe:2.3:a:siemens:simatic_wincc:7.4:sp1_update2:*:*:*:*:*:* *cpe:2.3:a:siemens:simatic_wincc:7.4:sp1_update3:*:*:*:*:*:* *cpe:2.3:a:siemens:simatic_wincc:7.4:sp1_update4:*:*:*:*:*:* *cpe:2.3:a:siemens:simatic_wincc:7.4:sp1_update5:*:*:*:*:*:* *cpe:2.3:a:siemens:simatic_wincc:7.4:sp1_update6:*:*:*:*:*:* *cpe:2.3:a:siemens:simatic_wincc:7.4:sp1_update7:*:*:*:*:*:* *cpe:2.3:a:siemens:simatic_wincc:7.4:sp1_update8:*:*:*:*:*:* *cpe:2.3:a:siemens:simatic_wincc:7.4:sp1_update9:*:*:*:*:*:* *cpe:2.3:a:siemens:simatic_wincc:7.4:update_1:*:*:*:*:*:* *cpe:2.3:a:siemens:simatic_wincc:7.5:-:*:*:*:*:*:* *cpe:2.3:a:siemens:simatic_wincc:7.5:sp1:*:*:*:*:*:* *cpe:2.3:a:siemens:simatic_wincc:7.5:sp1_update1:*:*:*:*:*:* *cpe:2.3:a:siemens:simatic_wincc:7.5:sp1_update2:*:*:*:*:*:* *cpe:2.3:a:siemens:simatic_wincc:7.5:sp2:*:*:*:*:*:* *cpe:2.3:a:siemens:simatic_wincc:7.5:sp2_update1:*:*:*:*:*:* *cpe:2.3:a:siemens:simatic_wincc:7.5:sp2_update2:*:*:*:*:*:* *cpe:2.3:a:siemens:simatic_wincc:7.5:sp2_update3:*:*:*:*:*:* *cpe:2.3:a:siemens:simatic_wincc:7.5:sp2_update4:*:*:*:*:*:* *cpe:2.3:a:siemens:simatic_wincc:15:*:*:*:*:*:*:* *cpe:2.3:a:siemens:simatic_wincc:15.1:-:*:*:*:*:*:* *cpe:2.3:a:siemens:simatic_wincc:15.1:update_1:*:*:*:*:*:* *cpe:2.3:a:siemens:simatic_wincc:15.1:update_2:*:*:*:*:*:* *cpe:2.3:a:siemens:simatic_wincc:15.1:update_3:*:*:*:*:*:* *cpe:2.3:a:siemens:simatic_wincc:15.1:update_4:*:*:*:*:*:* *cpe:2.3:a:siemens:simatic_wincc:15.1:update_5:*:*:*:*:*:* *cpe:2.3:a:siemens:simatic_wincc:15.1:update_6:*:*:*:*:*:* *cpe:2.3:a:siemens:simatic_wincc:16:update1:*:*:*:*:*:* *cpe:2.3:a:siemens:simatic_wincc:16:update2:*:*:*:*:*:* *cpe:2.3:a:siemens:simatic_wincc:16:update3:*:*:*:*:*:* *cpe:2.3:a:siemens:simatic_wincc:16:update4:*:*:*:*:*:* *cpe:2.3:a:siemens:simatic_wincc:17:*:*:*:*:*:*:* *cpe:2.3:a:siemens:simatic_wincc:17:update1:*:*:*:*:*:* -
CVE Modified by [email protected]
May. 20, 2022
Action Type Old Value New Value Changed Description 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), 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. 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. -
Modified Analysis by [email protected]
Apr. 29, 2022
Action Type Old Value New Value Added CWE NIST CWE-22 Changed CPE Configuration OR *cpe:2.3:a:siemens:simatic_pcs_7:*:*:*:*:*:*:*:* versions up to (including) 8.2 *cpe:2.3:a:siemens:simatic_pcs_7:9.0:-:*:*:*:*:*:* *cpe:2.3:a:siemens:simatic_pcs_7:9.1:*:*:*:*:*:*:* *cpe:2.3:a:siemens:simatic_wincc:*:*:*:*:*:*:*:* versions up to (including) 7.4 *cpe:2.3:a:siemens:simatic_wincc:7.5:*:*:*:*:*:*:* *cpe:2.3:a:siemens:simatic_wincc:7.5:-:*:*:*:*:*:* *cpe:2.3:a:siemens:simatic_wincc:7.5:sp1:*:*:*:*:*:* *cpe:2.3:a:siemens:simatic_wincc:7.5:sp1_update1:*:*:*:*:*:* *cpe:2.3:a:siemens:simatic_wincc:7.5:sp1_update2:*:*:*:*:*:* *cpe:2.3:a:siemens:simatic_wincc:7.5:sp2:*:*:*:*:*:* *cpe:2.3:a:siemens:simatic_wincc:7.5:sp2_update1:*:*:*:*:*:* *cpe:2.3:a:siemens:simatic_wincc:7.5:sp2_update2:*:*:*:*:*:* *cpe:2.3:a:siemens:simatic_wincc:7.5:sp2_update3:*:*:*:*:*:* *cpe:2.3:a:siemens:simatic_wincc:7.5:sp2_update4:*:*:*:*:*:* *cpe:2.3:a:siemens:simatic_wincc:15:*:*:*:*:*:*:* *cpe:2.3:a:siemens:simatic_wincc:16:*:*:*:*:*:*:* *cpe:2.3:a:siemens:simatic_wincc:17:*:*:*:*:*:*:* OR *cpe:2.3:a:siemens:simatic_pcs_7:*:*:*:*:*:*:*:* versions up to (excluding) 9.1 *cpe:2.3:a:siemens:simatic_pcs_7:9.1:*:*:*:*:*:*:* *cpe:2.3:a:siemens:simatic_wincc:*:*:*:*:*:*:*:* versions up to (excluding) 16 *cpe:2.3:a:siemens:simatic_wincc:16:update1:*:*:*:*:*:* *cpe:2.3:a:siemens:simatic_wincc:16:update2:*:*:*:*:*:* *cpe:2.3:a:siemens:simatic_wincc:16:update3:*:*:*:*:*:* *cpe:2.3:a:siemens:simatic_wincc:16:update4:*:*:*:*:*:* *cpe:2.3:a:siemens:simatic_wincc:17:*:*:*:*:*:*:* *cpe:2.3:a:siemens:simatic_wincc:17:update1:*:*:*:*:*:* -
CVE Modified by [email protected]
Apr. 12, 2022
Action Type Old Value New Value Changed Description A vulnerability has been identified in SIMATIC PCS 7 V8.2 and earlier (All versions), SIMATIC PCS 7 V9.0 (All versions), SIMATIC PCS 7 V9.1 (All versions < V9.1 SP1), SIMATIC WinCC V15 and earlier (All versions), SIMATIC WinCC V16 (All versions < V16 Update 5), SIMATIC WinCC V17 (All versions < V17 Update 2), SIMATIC WinCC V7.4 and earlier (All versions), 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. 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), 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. -
CVE Modified by [email protected]
Mar. 08, 2022
Action Type Old Value New Value Changed Description A vulnerability has been identified in SIMATIC PCS 7 V8.2 and earlier (All versions), SIMATIC PCS 7 V9.0 (All versions), SIMATIC PCS 7 V9.1 (All versions < V9.1 SP1), SIMATIC WinCC V15 and earlier (All versions), SIMATIC WinCC V16 (All versions < V16 Update 5), SIMATIC WinCC V17 (All versions < V17 Update 2), SIMATIC WinCC V7.4 and earlier (All versions), SIMATIC WinCC V7.5 (All versions < V7.5 SP2 Update 5). Legitimate file operations 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. A vulnerability has been identified in SIMATIC PCS 7 V8.2 and earlier (All versions), SIMATIC PCS 7 V9.0 (All versions), SIMATIC PCS 7 V9.1 (All versions < V9.1 SP1), SIMATIC WinCC V15 and earlier (All versions), SIMATIC WinCC V16 (All versions < V16 Update 5), SIMATIC WinCC V17 (All versions < V17 Update 2), SIMATIC WinCC V7.4 and earlier (All versions), 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. -
CVE Modified by [email protected]
Feb. 09, 2022
Action Type Old Value New Value Changed Description A vulnerability has been identified in SIMATIC PCS 7 V8.2 and earlier (All versions), SIMATIC PCS 7 V9.0 (All versions), SIMATIC PCS 7 V9.1 (All versions), SIMATIC WinCC V15 and earlier (All versions), SIMATIC WinCC V16 (All versions), SIMATIC WinCC V17 (All versions), SIMATIC WinCC V7.4 and earlier (All versions), SIMATIC WinCC V7.5 (All versions < V7.5 SP2 Update 5). Legitimate file operations 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. A vulnerability has been identified in SIMATIC PCS 7 V8.2 and earlier (All versions), SIMATIC PCS 7 V9.0 (All versions), SIMATIC PCS 7 V9.1 (All versions < V9.1 SP1), SIMATIC WinCC V15 and earlier (All versions), SIMATIC WinCC V16 (All versions < V16 Update 5), SIMATIC WinCC V17 (All versions < V17 Update 2), SIMATIC WinCC V7.4 and earlier (All versions), SIMATIC WinCC V7.5 (All versions < V7.5 SP2 Update 5). Legitimate file operations 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. -
Initial Analysis by [email protected]
Nov. 11, 2021
Action Type Old Value New Value Added CVSS V2 NIST (AV:N/AC:L/Au:N/C:P/I:P/A:P) Added CVSS V3.1 NIST AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H Changed Reference Type https://cert-portal.siemens.com/productcert/pdf/ssa-840188.pdf No Types Assigned https://cert-portal.siemens.com/productcert/pdf/ssa-840188.pdf Vendor Advisory Added CPE Configuration OR *cpe:2.3:a:siemens:simatic_pcs_7:*:*:*:*:*:*:*:* versions up to (including) 8.2 *cpe:2.3:a:siemens:simatic_pcs_7:9.0:-:*:*:*:*:*:* *cpe:2.3:a:siemens:simatic_pcs_7:9.1:*:*:*:*:*:*:* *cpe:2.3:a:siemens:simatic_wincc:*:*:*:*:*:*:*:* versions up to (including) 7.4 *cpe:2.3:a:siemens:simatic_wincc:7.5:*:*:*:*:*:*:* *cpe:2.3:a:siemens:simatic_wincc:7.5:-:*:*:*:*:*:* *cpe:2.3:a:siemens:simatic_wincc:7.5:sp1:*:*:*:*:*:* *cpe:2.3:a:siemens:simatic_wincc:7.5:sp1_update1:*:*:*:*:*:* *cpe:2.3:a:siemens:simatic_wincc:7.5:sp1_update2:*:*:*:*:*:* *cpe:2.3:a:siemens:simatic_wincc:7.5:sp2:*:*:*:*:*:* *cpe:2.3:a:siemens:simatic_wincc:7.5:sp2_update1:*:*:*:*:*:* *cpe:2.3:a:siemens:simatic_wincc:7.5:sp2_update2:*:*:*:*:*:* *cpe:2.3:a:siemens:simatic_wincc:7.5:sp2_update3:*:*:*:*:*:* *cpe:2.3:a:siemens:simatic_wincc:7.5:sp2_update4:*:*:*:*:*:* *cpe:2.3:a:siemens:simatic_wincc:15:*:*:*:*:*:*:* *cpe:2.3:a:siemens:simatic_wincc:16:*:*:*:*:*:*:* *cpe:2.3:a:siemens:simatic_wincc:17:*:*:*:*:*:*:*
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2021-40358
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2021-40358
weaknesses.
Exploit Prediction
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.
0.25 }} 0.12%
score
0.63743
percentile