{
    "document": {
        "category": "csaf_security_advisory",
        "csaf_version": "2.0",
        "tracking": {
            "generator": {
                "date": "2025-03-11T16:22:35.205Z",
                "engine": {
                    "version": "2.5.20",
                    "name": "Secvisogram"
                }
            },
            "id": "VDE-2020-009",
            "version": "2",
            "status": "final",
            "aliases": [
                "VDE-2020-009"
            ],
            "revision_history": [
                {
                    "number": "1",
                    "summary": "initial revision",
                    "date": "2020-03-09T09:18:00.000Z"
                },
                {
                    "number": "2",
                    "summary": "Fix: version space, quotation mark",
                    "date": "2025-05-22T13:03:10.000Z"
                }
            ],
            "current_release_date": "2025-05-22T13:03:10.000Z",
            "initial_release_date": "2020-03-09T09:18:00.000Z"
        },
        "lang": "en-GB",
        "title": "WAGO: e!Cockpit Two Update Package Vulnerabilities",
        "acknowledgments": [
            {
                "summary": "coordination",
                "organization": "CERT@VDE"
            },
            {
                "organization": "Cisco Talos",
                "names": [
                    "Kelly Leuschner"
                ],
                "summary": "reporting"
            }
        ],
        "distribution": {
            "tlp": {
                "label": "WHITE",
                "url": "https://www.first.org/tlp/"
            }
        },
        "notes": [
            {
                "category": "summary",
                "title": "Summary",
                "text": "The firmware update package (WUP) is not signed entirely. The used password offers no additional security, it is just meant to protect from unintentional modifications of the WUP file. Thus only the integrity of the signed firmware part (rauc file) is protected against intended manipulation. An attacker could manipulate the WUP file in a way that additional files with potentially malicious content are added to the WUP file.\nIn case an authorized user that issues a firmware update could be tricked into installing this manipulated WUP file onto the device, the potentially malicious files would also be copied and installed on to the device and executed with elevated privileges."
            },
            {
                "category": "description",
                "title": "Impact",
                "text": "The vulnerabilities allow an attacker who is able to exploit the described vulnerabilities and to trick an authorized user into installing the manipulated WUP file on the controller, to manipulate, to add or to remove any files they choose to from the corresponding device. Potentially malicious files may be executed."
            },
            {
                "category": "description",
                "title": "Mitigation",
                "text": "Execute FW-Update only as user 'admin'."
            },
            {
                "category": "description",
                "title": "Remediation",
                "text": "Validate the integrity of the WUP update package by verifying the hash of the file before starting FW update."
            }
        ],
        "publisher": {
            "category": "vendor",
            "contact_details": "psirt@wago.com",
            "name": "WAGO GmbH & Co. KG",
            "namespace": "https://www.wago.com/psirt"
        },
        "references": [
            {
                "category": "external",
                "summary": "WAGO GmbH & Co. KG",
                "url": "https://www.wago.com/psirt"
            },
            {
                "category": "external",
                "summary": "CERT@VDE Security Advisories",
                "url": "https://certvde.com/en/advisories/vendor/wago/"
            },
            {
                "category": "self",
                "url": "https://certvde.com/en/advisories/VDE-2020-009/",
                "summary": "VDE-2020-009: WAGO: e!Cockpit Two Update Package Vulnerabilities - HTML"
            },
            {
                "summary": "VDE-2020-009: WAGO: e!Cockpit Two Update Package Vulnerabilities - CSAF",
                "url": "https://wago.csaf-tp.certvde.com/.well-known/csaf/white/2020/vde-2020-009.json",
                "category": "self"
            }
        ]
    },
    "product_tree": {
        "branches": [
            {
                "category": "vendor",
                "name": "WAGO GmbH & Co. KG",
                "branches": [
                    {
                        "category": "product_family",
                        "name": "Hardware",
                        "branches": [
                            {
                                "category": "product_name",
                                "name": "750-81xx/xxx-xxx",
                                "product": {
                                    "name": "WAGO 750-81xx/xxx-xxx",
                                    "product_id": "CSAFPID-11001",
                                    "product_identification_helper": {
                                        "model_numbers": [
                                            "750-81xx/xxx-xxx"
                                        ]
                                    }
                                }
                            },
                            {
                                "category": "product_name",
                                "name": "750-82xx/xxx-xxx",
                                "product": {
                                    "name": "WAGO 750-82xx/xxx-xxx",
                                    "product_id": "CSAFPID-11002",
                                    "product_identification_helper": {
                                        "model_numbers": [
                                            "750-82xx/xxx-xxx"
                                        ]
                                    }
                                }
                            },
                            {
                                "category": "product_name",
                                "name": "762-4xxx",
                                "product": {
                                    "name": "WAGO 762-4xxx",
                                    "product_id": "CSAFPID-11003",
                                    "product_identification_helper": {
                                        "model_numbers": [
                                            "762-4xxx"
                                        ]
                                    }
                                }
                            },
                            {
                                "category": "product_name",
                                "name": "762-5xxx",
                                "product": {
                                    "name": "WAGO 762-5xxx",
                                    "product_id": "CSAFPID-11004",
                                    "product_identification_helper": {
                                        "model_numbers": [
                                            "762-5xxx"
                                        ]
                                    }
                                }
                            },
                            {
                                "category": "product_name",
                                "name": "762-6xxx",
                                "product": {
                                    "name": "WAGO 762-6xxx",
                                    "product_id": "CSAFPID-11005",
                                    "product_identification_helper": {
                                        "model_numbers": [
                                            "762-6xxx"
                                        ]
                                    }
                                }
                            }
                        ]
                    },
                    {
                        "category": "product_family",
                        "name": "Firmware",
                        "branches": [
                            {
                                "category": "product_version_range",
                                "name": ">=FW12",
                                "product": {
                                    "name": "Firmware >=FW12",
                                    "product_id": "CSAFPID-21001"
                                }
                            }
                        ]
                    }
                ]
            }
        ],
        "relationships": [
            {
                "category": "installed_on",
                "product_reference": "CSAFPID-21001",
                "relates_to_product_reference": "CSAFPID-11001",
                "full_product_name": {
                    "name": "Firmware >=FW12 installed on WAGO 750-81xx/xxx-xxx",
                    "product_id": "CSAFPID-31001"
                }
            },
            {
                "category": "installed_on",
                "product_reference": "CSAFPID-21001",
                "relates_to_product_reference": "CSAFPID-11002",
                "full_product_name": {
                    "name": "Firmware >=FW12 installed on WAGO 750-82xx/xxx-xxx",
                    "product_id": "CSAFPID-31002"
                }
            },
            {
                "category": "installed_on",
                "product_reference": "CSAFPID-21001",
                "relates_to_product_reference": "CSAFPID-11003",
                "full_product_name": {
                    "name": "Firmware >=FW12 installed on WAGO 762-4xxx",
                    "product_id": "CSAFPID-31003"
                }
            },
            {
                "category": "installed_on",
                "product_reference": "CSAFPID-21001",
                "relates_to_product_reference": "CSAFPID-11004",
                "full_product_name": {
                    "name": "Firmware >=FW12 installed on WAGO 762-5xxx",
                    "product_id": "CSAFPID-31004"
                }
            },
            {
                "category": "installed_on",
                "product_reference": "CSAFPID-21001",
                "relates_to_product_reference": "CSAFPID-11005",
                "full_product_name": {
                    "name": "Firmware >=FW12 installed on WAGO 762-6xxx",
                    "product_id": "CSAFPID-31005"
                }
            }
        ],
        "product_groups": [
            {
                "group_id": "CSAFGID-0001",
                "summary": "Affected Products",
                "product_ids": [
                    "CSAFPID-31001",
                    "CSAFPID-31002",
                    "CSAFPID-31003",
                    "CSAFPID-31004",
                    "CSAFPID-31005"
                ]
            }
        ]
    },
    "vulnerabilities": [
        {
            "cve": "CVE-2019-5158",
            "product_status": {
                "known_affected": [
                    "CSAFPID-31001",
                    "CSAFPID-31002",
                    "CSAFPID-31003",
                    "CSAFPID-31004",
                    "CSAFPID-31005"
                ]
            },
            "scores": [
                {
                    "products": [
                        "CSAFPID-31001",
                        "CSAFPID-31002",
                        "CSAFPID-31003",
                        "CSAFPID-31004",
                        "CSAFPID-31005"
                    ],
                    "cvss_v3": {
                        "version": "3.1",
                        "vectorString": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H",
                        "baseScore": 7.8,
                        "baseSeverity": "HIGH",
                        "temporalScore": 7.8,
                        "temporalSeverity": "HIGH",
                        "environmentalScore": 7.8,
                        "environmentalSeverity": "HIGH",
                        "attackVector": "LOCAL",
                        "attackComplexity": "LOW",
                        "privilegesRequired": "NONE",
                        "userInteraction": "REQUIRED",
                        "scope": "UNCHANGED",
                        "confidentialityImpact": "HIGH",
                        "integrityImpact": "HIGH",
                        "availabilityImpact": "HIGH"
                    }
                }
            ],
            "remediations": [
                {
                    "category": "mitigation",
                    "details": "Execute FW-Update only as user 'admin'.",
                    "group_ids": [
                        "CSAFGID-0001"
                    ]
                },
                {
                    "category": "vendor_fix",
                    "details": "Validate the integrity of the WUP update package by verifying the hash of the file before starting FW update.",
                    "group_ids": [
                        "CSAFGID-0001"
                    ]
                }
            ],
            "notes": [
                {
                    "category": "description",
                    "title": "Vulnerability Description",
                    "text": "An exploitable firmware downgrade vulnerability exists in the firmware update package functionality of the WAGO e!COCKPIT automation software v1.6.1.5. A specially crafted firmware update file can allow an attacker to install an older firmware version while the user thinks a newer firmware version is being installed. An attacker can create a custom firmware update package with invalid metadata in order to trigger this vulnerability."
                }
            ],
            "cwe": {
                "id": "CWE-798",
                "name": "Use of Hard-coded Credentials"
            },
            "title": "CVE-2019-5158"
        },
        {
            "cve": "CVE-2019-5159",
            "product_status": {
                "known_affected": [
                    "CSAFPID-31001",
                    "CSAFPID-31002",
                    "CSAFPID-31003",
                    "CSAFPID-31004",
                    "CSAFPID-31005"
                ]
            },
            "scores": [
                {
                    "products": [
                        "CSAFPID-31001",
                        "CSAFPID-31002",
                        "CSAFPID-31003",
                        "CSAFPID-31004",
                        "CSAFPID-31005"
                    ],
                    "cvss_v3": {
                        "version": "3.1",
                        "vectorString": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H",
                        "baseScore": 7.8,
                        "baseSeverity": "HIGH",
                        "temporalScore": 7.8,
                        "temporalSeverity": "HIGH",
                        "environmentalScore": 7.8,
                        "environmentalSeverity": "HIGH",
                        "attackVector": "LOCAL",
                        "attackComplexity": "LOW",
                        "privilegesRequired": "NONE",
                        "userInteraction": "REQUIRED",
                        "scope": "UNCHANGED",
                        "confidentialityImpact": "HIGH",
                        "integrityImpact": "HIGH",
                        "availabilityImpact": "HIGH"
                    }
                }
            ],
            "remediations": [
                {
                    "category": "mitigation",
                    "details": "Execute FW-Update only as user 'admin'.",
                    "group_ids": [
                        "CSAFGID-0001"
                    ]
                },
                {
                    "category": "vendor_fix",
                    "details": "Validate the integrity of the WUP update package by verifying the hash of the file before starting FW update.",
                    "group_ids": [
                        "CSAFGID-0001"
                    ]
                }
            ],
            "notes": [
                {
                    "category": "description",
                    "title": "Vulnerability Description",
                    "text": "An exploitable improper input validation vulnerability exists in the firmware update functionality of WAGO e!COCKPIT automation software v1.6.0.7. A specially crafted firmware update file can allow an attacker to write arbitrary files to arbitrary locations on WAGO controllers as a part of executing a firmware update, potentially resulting in code execution. An attacker can create a malicious firmware update package file using any zip utility. The user must initiate a firmware update through e!COCKPIT and choose the malicious wup file using the file browser to trigger the vulnerability."
                }
            ],
            "cwe": {
                "id": "CWE-20",
                "name": "Improper Input Validation"
            },
            "title": "CVE-2019-5159"
        }
    ]
}