{"id":64141,"date":"2025-08-18T09:46:18","date_gmt":"2025-08-18T09:46:18","guid":{"rendered":""},"modified":"2025-10-05T11:53:42","modified_gmt":"2025-10-05T17:53:42","slug":"cve-2024-54678-local-arbitrary-code-execution-vulnerability-in-simatic-and-sirius-products","status":"publish","type":"post","link":"https:\/\/www.ameeba.com\/blog\/cve-2024-54678-local-arbitrary-code-execution-vulnerability-in-simatic-and-sirius-products\/","title":{"rendered":"<strong>CVE-2024-54678: Local Arbitrary Code Execution Vulnerability in SIMATIC and SIRIUS Products<\/strong>"},"content":{"rendered":"<p><strong>Overview<\/strong><\/p>\n<p>The discovery of the CVE-2024-54678 vulnerability has raised concerns among organizations and users running a wide range of SIMATIC and SIRIUS products. This vulnerability, which could potentially allow local authenticated attackers to run arbitrary code within the affected application, poses a high risk due to its impact on system integrity. The issue arises from the improper sanitization of Interprocess Communication (IPC) <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2025-47982-improper-input-validation-vulnerability-in-windows-storage-vsp-driver-leading-to-privilege-escalation\/\"  data-wpil-monitor-id=\"75568\">input received through a Windows<\/a> Named Pipe. As a result, organizations face threats of <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2025-21432-memory-corruption-vulnerability-resulting-in-potential-system-compromise-or-data-leakage\/\"  data-wpil-monitor-id=\"75569\">system compromise and data<\/a> leakage, emphasizing the critical need for immediate mitigation.<\/p>\n<p><strong>Vulnerability Summary<\/strong><\/p>\n<p>CVE ID: CVE-2024-54678<br \/>\nSeverity: High (8.2 CVSS v3)<br \/>\nAttack Vector: Local<br \/>\nPrivileges Required: Low<br \/>\nUser Interaction: Required<br \/>\nImpact: <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2025-50160-heap-based-buffer-overflow-in-windows-rras-posing-system-compromise-risk\/\"  data-wpil-monitor-id=\"78622\">System compromise<\/a>, data leakage<\/p>\n<p><strong>Affected Products<\/strong><\/p><div id=\"ameeb-1484060643\" class=\"ameeb-content-2 ameeb-entity-placement\"><div style=\"border-left: 4px solid #555; padding-left: 20px; margin: 48px 0; font-family: Roboto, sans-serif; color: #ffffff; line-height: 1.6; max-width: 720px;\">\r\n  <h2 style=\"margin-top: 0; font-size: 22px; font-weight: 600; display: flex; align-items: center; letter-spacing: -0.02em;\">\r\n    <a href=\"https:\/\/www.ameeba.com\/chat\" style=\"display: inline-flex; align-items: center; margin-right: 10px;\">\r\n      <img decoding=\"async\" src=\"https:\/\/www.ameeba.com\/blog\/wp-content\/uploads\/2025\/10\/Best-App-icon-Ameeba.png\" alt=\"Ameeba Chat Icon\" style=\"width: 42px; height: 42px;\" \/>\r\n    <\/a>\r\n    Share secrets securely\r\n  <\/h2>\r\n\r\n  <p style=\"margin-bottom: 14px; color: #d1d5db;\">\r\n    Ameeba is private infrastructure for communication and sensitive work built on encrypted identity instead of exposed corporate identity systems.\r\n  <\/p>\r\n\r\n  <p style=\"margin-bottom: 18px; color: #a1a1aa;\">\r\n    Passwords, credentials, confidential files, screenshots, internal discussions, sensitive AI context, and private coordination should not become exposed across ordinary communication platforms.\r\n  <\/p>\r\n\r\n  <ul style=\"list-style: none; padding-left: 0; margin-bottom: 24px; color: #e4e4e7;\">\r\n    <li style=\"margin-bottom: 8px;\">\u2022 Encrypted identity<\/li>\r\n    <li style=\"margin-bottom: 8px;\">\u2022 Private Spaces for organizations and teams<\/li>\r\n    <li style=\"margin-bottom: 8px;\">\u2022 End-to-end encrypted chat, calls, files, and notes<\/li>\r\n    <li style=\"margin-bottom: 8px;\">\u2022 Sensitive AI work and protected collaboration<\/li>\r\n    <li>\u2022 Built for information that cannot leak<\/li>\r\n  <\/ul>\r\n\r\n  <p style=\"font-style: italic; font-weight: 600; margin-bottom: 24px; color: #ffffff;\">\r\n    Our mission is to secure human work alongside AI.\r\n  <\/p>\r\n\r\n  <div style=\"display: flex; flex-wrap: wrap; gap: 12px;\">\r\n    <a href=\"https:\/\/www.ameeba.com\/chat\/download\" style=\"background-color: #ffffff; color: #000000; padding: 10px 20px; text-decoration: none; border-radius: 8px; font-weight: 500;\">\r\n      Download Ameeba\r\n    <\/a>\r\n\r\n    <a href=\"https:\/\/www.ameeba.com\/chat\" style=\"border: 1px solid #ffffff; color: #ffffff; padding: 10px 20px; text-decoration: none; border-radius: 8px; font-weight: 500;\">\r\n      Learn More\r\n    <\/a>\r\n  <\/div>\r\n<\/div><\/div>\n<p>Product | Affected Versions<\/p>\n<p><a href=\"https:\/\/www.ameeba.com\/blog\/cve-2025-40795-critical-buffer-overflow-vulnerability-in-simatic-pcs-neo-and-umc\/\"  data-wpil-monitor-id=\"88977\">SIMATIC PCS neo<\/a> | V4.1 &#8211; V6.0 (All versions)<br \/>\nSIMATIC STEP 7 | V17 &#8211; V20 (All versions < V19 Update 4)\nSIMATIC WinCC | V17 - V20 (All versions < V19 Update 4)\nSIMOCODE ES | V17 - V20 (All versions)\nSINAMICS Startdrive | V17 - V20 (All versions)\nSIRIUS Safety ES (TIA Portal) | V17 - V20 (All versions)\nSIRIUS Soft Starter ES (TIA Portal) | V17 - V20 (All versions)\nTIA Portal Cloud | V17 - V20 (All versions < V5.2.1.1)\nTIA Portal Test Suite | V20 (All versions)\n\n<strong>How the Exploit Works<\/strong><\/p>\n<p>The <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2025-49887-critical-code-injection-vulnerability-in-product-xml-feed-manager-for-woocommerce\/\"  data-wpil-monitor-id=\"80961\">vulnerability arises from the affected products<\/a>&#8216; failure to properly sanitize Interprocess Communication (IPC) input received through a Windows Named Pipe, which is accessible to all local users. This lack of sanitization can lead to type confusion, allowing an authenticated <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2025-47168-use-after-free-vulnerability-in-microsoft-office-word-allowing-unauthorized-code-execution\/\"  data-wpil-monitor-id=\"73088\">local attacker to exploit this vulnerability and execute arbitrary<\/a> code within the context of the affected application.<\/p>\n<p><strong>Conceptual Example Code<\/strong><\/p>\n<p>While the specific exploit details are not disclosed to avoid misuse, a conceptual example of the exploit would look like this:<\/p><div id=\"ameeb-52577737\" class=\"ameeb-content ameeb-entity-placement\"><div class=\"poptin-embedded\" data-id=\"f6b387694f681\"><\/div>\r\n\r\n\r\n\r\n\r\n\r\n<\/div>\n<pre><code class=\"\" data-line=\"\"># Connect to the named pipe\n$ handle = ConnectNamedPipe(&quot;\\\\\\\\.\\\\pipe\\\\vulnerable_pipe&quot;, PIPE_ACCESS_DUPLEX)\n# Send malicious payload\n$ result = WriteFile(handle, &quot;{ &#039;type&#039;: &#039;Any&#039;, &#039;value&#039;: &#039;Malicious payload&#039; }&quot;)\n# Execute the payload\n$ result = ReadFile(handle, buffer, nBytesToRead, &amp;nBytesRead, NULL)<\/code><\/pre>\n<p>This pseudocode demonstrates how an attacker could use the `ConnectNamedPipe` function to <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2025-48000-critical-privilege-escalation-vulnerability-in-windows-connected-devices-platform-service\/\"  data-wpil-monitor-id=\"80271\">connect to a vulnerable<\/a> named pipe, then use the `WriteFile` function to write a malicious payload to the pipe. The payload&#8217;s execution could then be triggered with the `ReadFile` function.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Overview The discovery of the CVE-2024-54678 vulnerability has raised concerns among organizations and users running a wide range of SIMATIC and SIRIUS products. This vulnerability, which could potentially allow local authenticated attackers to run arbitrary code within the affected application, poses a high risk due to its impact on system integrity. The issue arises from [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"footnotes":""},"categories":[1],"tags":[],"vendor":[82],"product":[],"attack_vector":[80],"asset_type":[],"severity":[],"exploit_status":[],"class_list":["post-64141","post","type-post","status-publish","format-standard","hentry","category-uncategorized","vendor-microsoft","attack_vector-rce"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/posts\/64141","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/comments?post=64141"}],"version-history":[{"count":6,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/posts\/64141\/revisions"}],"predecessor-version":[{"id":81796,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/posts\/64141\/revisions\/81796"}],"wp:attachment":[{"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/media?parent=64141"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/categories?post=64141"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/tags?post=64141"},{"taxonomy":"vendor","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/vendor?post=64141"},{"taxonomy":"product","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/product?post=64141"},{"taxonomy":"attack_vector","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/attack_vector?post=64141"},{"taxonomy":"asset_type","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/asset_type?post=64141"},{"taxonomy":"severity","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/severity?post=64141"},{"taxonomy":"exploit_status","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/exploit_status?post=64141"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}