Skip to content
DoS Advisory Advanced CVE-2019-5148

Moxa AWK-3131A ServiceAgent denial-of-service vulnerability

The ServiceAgent component of the Moxa AWK-3131A wireless access point does not check the total received packet length when computing the size of a remaining-data copy, so a crafted packet causes an integer underflow and an oversized memory copy. An unauthenticated attacker can send such a packet to crash the ServiceAgent process, causing a denial of service.

Carl Hurd Follow

Originally disclosed on Cisco Talos

High 7.5 View original

An exploitable denial-of-service vulnerability exists in ServiceAgent functionality of the Moxa AWK-3131A, firmware version 1.13. A specially crafted packet can cause an integer underflow, triggering a large memcpy that will access unmapped or out-of-bounds memory.

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 code subtracts the parsed bundle length from the remaining packet length without verifying the bundle length fits within the received data, so the subtraction wraps around to a huge value that is then used as a copy length.

Impact

An unauthenticated remote attacker can crash the ServiceAgent binary, causing a denial of service on the affected device.

What the attacker needed

Network access to the device; no authentication needed

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.

This device runs a small program that listens for network messages. When it reads a message it trusts a number inside the message that says how much data follows, and it does not check that number against how much data actually arrived. By sending a message with a misleading number, an attacker makes the program try to copy far more data than exists, which crashes it and takes the service offline.

What is DoS?

A request that exhausts resources or crashes a component. Many programs forbid testing it; reports usually show it from code, not by attacking.

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.

Denial of service

The lesson behind this report.

A request that exhausts resources or crashes a component. Many programs forbid testing it; reports usually show it from code, not by attacking.