Skip to content
RCE Write-up Advanced

Three critical 0-days allow RCE and even physical ignition in APC UPS

Three critical vulnerabilities in APC Smart-UPS devices: two TLS flaws (authentication bypass and buffer overflow) due to improper error handling in the Mocana nanoSSL library, and a design flaw where firmware updates are not properly signed. An attacker could remotely take over devices, execute code, and even physically damage the UPS.

armis.com

Published on armis.com

Following the March, 2022 disclosure of TLStorm—a set of critical vulnerabilities in APC Smart-UPS devices that allow an attacker to take control of Smart-UPS devices— Armis researchers have discovered five new vulnerabilities that share a common source. The root cause for these vulnerabilities was a misuse of…

The author, on armis.com

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 write-up has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely improper error handling in the Mocana nanoSSL library: TLS errors are ignored, leaving connections in an insecure state, and firmware updates lack cryptographic signing.

Impact

An attacker could remotely take over UPS devices, execute code, and even physically damage the device, potentially causing power disruptions or using the UPS as a foothold for further attacks.

What the attacker needed

Network access to the device; no user interaction required

The fix

Schneider Electric has released patches; additionally, change default passwords, install publicly-signed SSL certificates, and deploy access control lists.

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 write-up has not been written yet. The Original tab links to the source.

These bugs are in the software that lets APC backup power devices (UPS) talk securely to the cloud. Because of mistakes in how that secure connection is handled, an attacker can pretend to be the cloud server and send malicious commands, or crash the device to run their own code. The firmware update process also lacks proper signing, so attackers can install harmful firmware.

What is RCE?

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.

Similar reports

View all

Same bug class and techniques, clearest first.

Remote code execution

The lesson behind this report.

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.