{
  "document": {
    "title": "SSA-944498: Buffer Overflow Vulnerability in Web Server of APOGEE and TALON Automation Devices",
    "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-944498",
      "status": "final",
      "version": "1",
      "revision_history": [
        {
          "number": "1",
          "legacy_version": "1.0",
          "date": "2021-09-14T00:00:00Z",
          "summary": "Publication Date"
        }
      ],
      "initial_release_date": "2021-09-14T00: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": "A buffer overflow vulnerability in the integrated web server of multiple APOGEE and TALON automation devices could allow a remote attacker to execute arbitrary code on the devices with root privileges.\n\nAffected devices include the APOGEE MBC/MEC/PXC P2 Ethernet devices with Power Open Processors (PPC), APOGEE PXC BACnet devices, and TALON TC BACnet devices.\n\nSiemens has released updates for several affected products and recommends to update to the latest versions. Siemens recommends countermeasures for products where updates are not, or not yet available."
      },
      {
        "title": "General Recommendations",
        "category": "general",
        "text": "As a general security measure Siemens strongly recommends to protect network access to affected products with appropriate mechanisms. It is advised to follow recommended security practices in order to run the devices in a protected IT environment."
      },
      {
        "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-944498.pdf",
        "summary": "SSA-944498: Buffer Overflow Vulnerability in Web Server of APOGEE and TALON Automation Devices - PDF Version"
      },
      {
        "category": "self",
        "url": "https://cert-portal.siemens.com/productcert/txt/ssa-944498.txt",
        "summary": "SSA-944498: Buffer Overflow Vulnerability in Web Server of APOGEE and TALON Automation Devices - TXT Version"
      },
      {
        "category": "self",
        "url": "https://cert-portal.siemens.com/productcert/csaf/ssa-944498.json",
        "summary": "SSA-944498: Buffer Overflow Vulnerability in Web Server of APOGEE and TALON Automation Devices - CSAF Version"
      }
    ],
    "acknowledgments": [
      {
        "names": [
          "Paul Noalhyt",
          "David Doggett"
        ],
        "organization": "Red Balloon Security",
        "summary": "coordinated disclosure"
      }
    ]
  },
  "product_tree": {
    "branches": [
      {
        "name": "Siemens",
        "category": "vendor",
        "branches": [
          {
            "name": "APOGEE MBC (PPC) (P2 Ethernet)",
            "category": "product_name",
            "branches": [
              {
                "name": ">= V2.6.3",
                "category": "product_version_range",
                "product": {
                  "product_id": "1",
                  "name": "APOGEE MBC (PPC) (P2 Ethernet)"
                }
              }
            ]
          },
          {
            "name": "APOGEE MEC (PPC) (P2 Ethernet)",
            "category": "product_name",
            "branches": [
              {
                "name": ">= V2.6.3",
                "category": "product_version_range",
                "product": {
                  "product_id": "2",
                  "name": "APOGEE MEC (PPC) (P2 Ethernet)"
                }
              }
            ]
          },
          {
            "name": "APOGEE PXC Compact (BACnet)",
            "category": "product_name",
            "branches": [
              {
                "name": "< V3.5.3",
                "category": "product_version_range",
                "product": {
                  "product_id": "3",
                  "name": "APOGEE PXC Compact (BACnet)"
                }
              }
            ]
          },
          {
            "name": "APOGEE PXC Compact (P2 Ethernet)",
            "category": "product_name",
            "branches": [
              {
                "name": ">= V2.8",
                "category": "product_version_range",
                "product": {
                  "product_id": "4",
                  "name": "APOGEE PXC Compact (P2 Ethernet)"
                }
              }
            ]
          },
          {
            "name": "APOGEE PXC Modular (BACnet)",
            "category": "product_name",
            "branches": [
              {
                "name": "< V3.5.3",
                "category": "product_version_range",
                "product": {
                  "product_id": "5",
                  "name": "APOGEE PXC Modular (BACnet)"
                }
              }
            ]
          },
          {
            "name": "APOGEE PXC Modular (P2 Ethernet)",
            "category": "product_name",
            "branches": [
              {
                "name": ">= V2.8",
                "category": "product_version_range",
                "product": {
                  "product_id": "6",
                  "name": "APOGEE PXC Modular (P2 Ethernet)"
                }
              }
            ]
          },
          {
            "name": "TALON TC Compact (BACnet)",
            "category": "product_name",
            "branches": [
              {
                "name": "< V3.5.3",
                "category": "product_version_range",
                "product": {
                  "product_id": "7",
                  "name": "TALON TC Compact (BACnet)"
                }
              }
            ]
          },
          {
            "name": "TALON TC Modular (BACnet)",
            "category": "product_name",
            "branches": [
              {
                "name": "< V3.5.3",
                "category": "product_version_range",
                "product": {
                  "product_id": "8",
                  "name": "TALON TC Modular (BACnet)"
                }
              }
            ]
          }
        ]
      }
    ]
  },
  "vulnerabilities": [
    {
      "title": "CVE-2021-27391",
      "notes": [
        {
          "title": "Summary",
          "category": "summary",
          "text": "The web server of affected devices lacks proper bounds checking when parsing the Host parameter in HTTP requests, which could lead to a buffer overflow.\n\nAn unauthenticated remote attacker could exploit this vulnerability to execute arbitrary code on the device with root privileges."
        }
      ],
      "cve": "CVE-2021-27391",
      "cwe": {
        "id": "CWE-120",
        "name": "Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')"
      },
      "product_status": {
        "known_affected": [
          "1",
          "2",
          "3",
          "4",
          "5",
          "6",
          "7",
          "8"
        ]
      },
      "scores": [
        {
          "cvss_v3": {
            "version": "3.1",
            "baseScore": 9.8,
            "baseSeverity": "CRITICAL",
            "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:P/RL:T/RC:C"
          },
          "products": [
            "1",
            "2",
            "3",
            "4",
            "5",
            "6",
            "7",
            "8"
          ]
        }
      ],
      "remediations": [
        {
          "product_ids": [
            "1",
            "2",
            "4",
            "6"
          ],
          "category": "none_available",
          "details": "Currently no remediation is available"
        },
        {
          "product_ids": [
            "3",
            "5",
            "7",
            "8"
          ],
          "category": "vendor_fix",
          "details": "Update to V3.5.3 or later version"
        },
        {
          "product_ids": [
            "1",
            "2",
            "3",
            "4",
            "5",
            "6",
            "7",
            "8"
          ],
          "category": "mitigation",
          "details": "Please contact your local Siemens office for support"
        },
        {
          "product_ids": [
            "1",
            "2",
            "3",
            "4",
            "5",
            "6",
            "7",
            "8"
          ],
          "category": "mitigation",
          "details": "Restrict access to the device, especially to the web interface (80/tcp and 443/tcp), to trusted IP addresses only"
        },
        {
          "product_ids": [
            "1",
            "2",
            "3",
            "4",
            "5",
            "6",
            "7",
            "8"
          ],
          "category": "mitigation",
          "details": "Disable the integrated web server"
        }
      ],
      "references": [
        {
          "url": "https://cert-portal.siemens.com/productcert/mitre/CVE-2021-27391.json",
          "summary": "CVE-2021-27391 Mitre 5.0 json"
        }
      ]
    }
  ]
}

