Skip to content
RCE Advisory Intermediate CVE-2021-22795

Schneider Electric Struxureware Data Center Expert Command Injection Remote Code Execution Vulnerability

The testRepository method in Schneider Electric Struxureware Data Center Expert passed a user-supplied string to a system call without proper validation. An authenticated remote attacker could use this to run arbitrary code as root on the affected installation.

David Yesland Follow

Originally disclosed on Zero Day Initiative

High 8.8 View original

This vulnerability allows remote attackers to execute arbitrary code on affected installations of Schneider Electric Struxureware Data Center Expert. Authentication is required to exploit this vulnerability.

David Yesland, on the Zero Day Initiative

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 testRepository method built a system call from unvalidated user input, allowing command injection.

Impact

An authenticated remote attacker could execute arbitrary code with root privileges on affected installations.

What the attacker needed

Authentication required; network access to the product

The fix

The vendor issued an update to correct the vulnerability.

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 software has a feature that runs operating system commands behind the scenes. It took a piece of text supplied by a logged-in user and put it into that command without checking it, so a user could sneak in extra commands of their own. Because the software runs those commands with the highest level of permission (root), the attacker could take full control of the machine.

What is RCE?

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

More by David Yesland

View all

3 more disclosed reports, best first.

More from Zero Day Initiative

View all

The newest disclosed reports for this program.

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.