Newly released exploit code for ABB Cylon FLXeon CVE-2024–48841
The ABB Cylon FLXeon building controller fails to sanitise the new password field on its password-change endpoint before passing it to a shell command that runs usermod, so an authenticated user can inject extra commands. Because the command runs as root, an attacker with valid credentials can execute arbitrary system-level commands and take full control of the device.
medium.com
Published on medium.com
First things first; patch your systems with priority and make sure you protect you systems!
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
The password-change handler passes user-controlled input into a shell command (ChildProcess.exec invoking usermod) without proper escaping, allowing command injection.
Impact
An authenticated attacker with network access could execute arbitrary commands as root, potentially disrupting HVAC operations, altering system behaviour, extracting data, or pivoting further into the network; the text notes the exploit requires authentication.
What the attacker needed
Valid user credentials; network access to the controller
The fix
ABB released firmware version 9.3.5 to address the command injection flaw, and organisations should also isolate devices and avoid exposing them directly to the internet.
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.
A building controller has a web page for changing your password. Instead of treating the new password as plain text, the software pastes it into a command it runs on the underlying Linux system. If you type extra shell instructions into that field, the device runs them too, and because it runs them as the all-powerful root user, an attacker with a login can take over the whole controller.
What is RCE?
Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.