Skip to content
Memory corruption Advisory Advanced CVE-2021-21970CVE-2021-21969

Sealevel Systems, Inc. SeaConnect 370W HandleSeaCloudMessage out-of-bounds write vulnerabilities

Two out-of-bounds write flaws exist in the SeaConnect 370W's handling of MQTT messages from its cloud service. An attacker who can intercept or spoof that traffic could send a crafted message whose JSON name or payload value is longer than the fixed destination buffer, corrupting memory.

Francesco Benvenuto Follow

Originally disclosed on Cisco Talos

Two out-of-bounds write vulnerabilities exists in the HandleSeaCloudMessage functionality of Sealevel Systems, Inc. SeaConnect 370W v1.3.34.

Francesco Benvenuto and Matt Wiseman, 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 JSON string extraction routine copies a value using its length in the message without checking the size of the destination buffer.

Impact

An attacker able to perform a man-in-the-middle attack could corrupt memory on the device; the advisory rates impact as low integrity only, with no confidentiality or availability effect claimed.

What the attacker needed

Man-in-the-middle position on MQTT traffic

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 listens for small text messages from a cloud service and copies parts of them into fixed-size storage slots. The copying routine trusts the length written in the message instead of checking how much room the slot has, so an oversized value spills past the end and overwrites nearby memory. Someone positioned between the device and its cloud service could abuse this.

What is Memory corruption?

Native code reads or writes memory it should not: overflows, use-after-free, type confusion. The core of browser, kernel and parser bugs.

More by Francesco Benvenuto

View all

9 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.

Memory corruption

The lesson behind this report.

Native code reads or writes memory it should not: overflows, use-after-free, type confusion. The core of browser, kernel and parser bugs.