{
  "document": {
    "title": "SSA-434535: Memory Protection Bypass Vulnerability in SINAMICS PERFECT HARMONY GH180 Drives",
    "category": "Siemens Security Advisory",
    "csaf_version": "2.0",
    "publisher": {
      "name": "Siemens ProductCERT",
      "contact_details": "productcert@siemens.com",
      "category": "vendor",
      "namespace": "https://www.siemens.com"
    },
    "distribution": {
      "text": "Disclosure is not limited.",
      "tlp": {
        "label": "WHITE"
      }
    },
    "tracking": {
      "id": "SSA-434535",
      "status": "final",
      "version": "2",
      "revision_history": [
        {
          "number": "1",
          "legacy_version": "1.0",
          "date": "2021-07-13T00:00:00Z",
          "summary": "Publication Date"
        },
        {
          "number": "2",
          "legacy_version": "1.1",
          "date": "2021-09-14T00:00:00Z",
          "summary": "Added solution for affected SINAMICS PERFECT HARMONY GH180 Drives"
        }
      ],
      "initial_release_date": "2021-07-13T00:00:00Z",
      "current_release_date": "2021-09-14T00:00:00Z",
      "generator": {
        "engine": {
          "name": "Siemens ProductCERT CSAF Generator",
          "version": "1"
        }
      }
    },
    "notes": [
      {
        "title": "Summary",
        "category": "summary",
        "text": "Several models of SINAMICS PERFECT HARMONY GH180 Drives are affected by a memory protection bypass vulnerability in the integrated S7-1500 or S7-1200 CPU that could allow an attacker to write arbitrary data and code to protected memory areas or read sensitive data to launch further attacks on the CPU.\n\nSiemens provides new drives with the fix included and recommends specific countermeasures for older drives. The list of affected drive models can be found in the section \"Additional Information\"."
      },
      {
        "title": "General Recommendations",
        "category": "general",
        "text": "As a general security measure, Siemens strongly recommends to protect network access to devices with appropriate mechanisms. In order to operate the devices in a protected IT environment, Siemens recommends to configure the environment according to Siemens' operational guidelines for Industrial Security (Download: https://www.siemens.com/cert/operational-guidelines-industrial-security), and to follow the recommendations in the product manuals.\n\nAdditional information on Industrial Security by Siemens can be found at: https://www.siemens.com/industrialsecurity"
      },
      {
        "title": "Additional Resources",
        "category": "general",
        "text": "For further inquiries on security vulnerabilities in Siemens products and solutions, please contact the Siemens ProductCERT: https://www.siemens.com/cert/advisories"
      },
      {
        "title": "Terms of Use",
        "category": "legal_disclaimer",
        "text": "Siemens Security Advisories are subject to the terms and conditions contained in Siemens' underlying license terms or other applicable agreements previously agreed to with Siemens (hereinafter \"License Terms\"). To the extent applicable to information, software or documentation made available in or through a Siemens Security Advisory, the Terms of Use of Siemens' Global Website (https://www.siemens.com/terms_of_use, hereinafter \"Terms of Use\"), in particular Sections 8-10 of the Terms of Use, shall apply additionally. In case of conflicts, the License Terms shall prevail over the Terms of Use."
      }
    ],
    "references": [
      {
        "category": "self",
        "url": "https://cert-portal.siemens.com/productcert/pdf/ssa-434535.pdf",
        "summary": "SSA-434535: Memory Protection Bypass Vulnerability in SINAMICS PERFECT HARMONY GH180 Drives - PDF Version"
      },
      {
        "category": "self",
        "url": "https://cert-portal.siemens.com/productcert/txt/ssa-434535.txt",
        "summary": "SSA-434535: Memory Protection Bypass Vulnerability in SINAMICS PERFECT HARMONY GH180 Drives - TXT Version"
      },
      {
        "category": "self",
        "url": "https://cert-portal.siemens.com/productcert/csaf/ssa-434535.json",
        "summary": "SSA-434535: Memory Protection Bypass Vulnerability in SINAMICS PERFECT HARMONY GH180 Drives - CSAF Version"
      }
    ]
  },
  "product_tree": {
    "branches": [
      {
        "name": "Siemens",
        "category": "vendor",
        "branches": [
          {
            "name": "SINAMICS PERFECT HARMONY GH180 Drives",
            "category": "product_name",
            "branches": [
              {
                "name": "Drives manufactured before 2021-08-13",
                "category": "product_version_range",
                "product": {
                  "product_id": "1",
                  "name": "SINAMICS PERFECT HARMONY GH180 Drives"
                }
              }
            ]
          }
        ]
      }
    ]
  },
  "vulnerabilities": [
    {
      "title": "CVE-2020-15782",
      "notes": [
        {
          "title": "Summary",
          "category": "summary",
          "text": "Affected devices are vulnerable to a memory protection bypass through a specific operation.\n\nA remote unauthenticated attacker with network access to port 102/tcp could potentially write arbitrary data and code to protected memory areas or read sensitive data to launch further attacks."
        }
      ],
      "cve": "CVE-2020-15782",
      "cwe": {
        "id": "CWE-119",
        "name": "Improper Restriction of Operations within the Bounds of a Memory Buffer"
      },
      "product_status": {
        "known_affected": [
          "1"
        ]
      },
      "scores": [
        {
          "cvss_v3": {
            "version": "3.1",
            "baseScore": 8.1,
            "baseSeverity": "HIGH",
            "vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H/E:P/RL:O/RC:C"
          },
          "products": [
            "1"
          ]
        }
      ],
      "remediations": [
        {
          "product_ids": [
            "1"
          ],
          "category": "vendor_fix",
          "details": "Drives manufactured on 2021-08-13 or later are not affected, as they contain a corrected version of the S7-1500 or S7-1200 CPU."
        },
        {
          "product_ids": [
            "1"
          ],
          "category": "mitigation",
          "details": "For drives manufactured before 2021-08-13, see the recommendations from section Workarounds and Mitigations."
        },
        {
          "product_ids": [
            "1"
          ],
          "category": "mitigation",
          "details": "Avoid compromise of the individually configured access protection password to the S7-1500 or S7-1200 CPU"
        },
        {
          "product_ids": [
            "1"
          ],
          "category": "mitigation",
          "details": "Ensure that the drive internal network is not externally connected (which is the default configuration in all drives as described in the operational manual)"
        }
      ],
      "references": [
        {
          "url": "https://cert-portal.siemens.com/productcert/mitre/CVE-2020-15782.json",
          "summary": "CVE-2020-15782 Mitre 5.0 json"
        }
      ]
    }
  ]
}

