WAGO e!COCKPIT Firmware Downgrade Vulnerability
The firmware update package format used by WAGO e!COCKPIT does not properly validate the version metadata inside the package. An attacker could repackage a signed older firmware with metadata claiming a newer version, so the user believes a newer firmware is installed while an older, vulnerable one is actually on the device.
Originally disclosed on Cisco Talos
An exploitable firmware downgrade vulnerability exists in the firmware update package functionality of the WAGO e!COCKPIT automation software. 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.
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the update mechanism trusted the version metadata in the package's control file without verifying it matched the signed firmware actually contained in the archive.
Impact
An attacker could downgrade a controller to an older firmware with known vulnerabilities, potentially gaining access to the device after the update; the attack requires the user to run the crafted package.
What the attacker needed
Local access to place or supply the package; victim runs the firmware update
How it was found
- Obtain a legitimate WAGO update package and extract it using the hard-coded password.
- Copy the signed firmware file from the extracted package.
- Repackage that firmware with a control file that reports a different, newer version number.
- Deliver the crafted package to the user, for example by placing it in the local firmware repository folder.
- The user runs the update believing a newer version is being installed, but the older firmware is written to the device.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
Firmware is the low-level software that runs on a hardware device. This tool lets users update that software from a package file, and the package contains a small text file saying which version it holds. The tool trusted that label without checking it against the actual firmware, so someone could relabel an old package as a new one and trick the user into installing outdated software with known security holes.
What is Misconfiguration?
Settings left unsafe: exposed panels, open storage buckets, debug modes, default credentials.