Skip to content
Crypto Advisory Intermediate CVE-2019-5106

WAGO e!Cockpit authentication hard-coded encryption key vulnerability

The authentication protocol uses a hard-coded 32-byte key to XOR the password, and a coding error reduces the four-byte challenge to a single-byte perturbation every four bytes. An attacker who captures an authentication packet can trivially recover the plaintext password.

Carl Hurd Follow

Originally disclosed on Cisco Talos

Medium 6.2 View original

A hard-coded encryption key vulnerability exists in the authentication functionality of WAGO e!Cockpit, version 1.5.1.1. An attacker with access to communications between e!Cockpit and CoDeSyS Gateway can trivially recover the password of any user attempting to log in, in plain text.

Carl Hurd, on Cisco Talos

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 use of a hard-coded encryption key combined with a flawed challenge implementation that reduces the effective randomness to a single byte per four bytes.

Impact

An attacker with access to communications between e!Cockpit and CoDeSyS Gateway could recover any user's password in plain text.

What the attacker needed

Access to communications between e!Cockpit and CoDeSyS…

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.

When you log in, your password is scrambled before being sent. Here, the scrambling uses a fixed key that anyone can read from the software, and a mistake makes the scrambling even weaker. So if someone can listen to the network traffic, they can easily unscramble and read your password.

What is Crypto?

Encryption, signatures, randomness or certificate checks that do not protect what they claim to.

More by Carl Hurd

View all

49 more disclosed reports, best first.

More from Cisco Talos

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Cryptographic weaknesses

The lesson behind this report.

Encryption, signatures, randomness or certificate checks that do not protect what they claim to.