Skip to content
Crypto Advisory Intermediate CVE-2019-5137

Moxa AWK-3131A ServiceAgent Use of Hard-coded Cryptographic Key

The ServiceAgent binary in the Moxa AWK-3131A firmware uses a hard-coded AES key to encrypt and decrypt certain traffic on TCP port 5801 and UDP port 5800. An attacker who captures that traffic could decrypt it because the key is fixed and embedded in the binary.

Carl Hurd Follow

Originally disclosed on Cisco Talos

High 7.5 View original

The usage of hard-coded cryptographic keys within the ServiceAgent binary allows for the decryption of captured traffic across the network from or to the Moxa AWK-3131A firmware version 1.13.

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

The firmware embeds a single fixed AES key in the ServiceAgent binary and reuses it for all qualifying traffic instead of using per-device or negotiated keys.

Impact

An attacker able to capture traffic on the affected ports could decrypt it, exposing the contents of that communication.

What the attacker needed

Ability to capture network traffic; traffic on TCP 5801 or UDP 5800

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.

Some devices protect network traffic with encryption, which scrambles the data so only someone with the right secret key can read it. Here the device ships with the same secret key built into its software for every unit, so anyone who gets the software can find the key and unscramble captured traffic. Capturing traffic means recording data as it travels across the network.

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.