Skip to content
File upload Advisory Intermediate CVE-2022-42971

Schneider Electric APC Easy UPS Online UpLoadAction Unrestricted File Upload Remote Code Execution Vulnerability

The UpLoadAction class in Schneider Electric APC Easy UPS Online does not properly validate the filename parameter, allowing an attacker to upload arbitrary files. This can lead to remote code execution with SYSTEM privileges without authentication.

rgod Follow

Originally disclosed on Zero Day Initiative

Critical 9.8 View original

This vulnerability allows remote attackers to execute arbitrary code on affected installations of Schneider Electric APC Easy UPS Online. Authentication is not required to exploit this vulnerability.

rgod, 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

The application fails to validate the filename parameter during file upload, permitting arbitrary file uploads.

Impact

An unauthenticated remote attacker could execute arbitrary code with SYSTEM privileges on affected installations.

What the attacker needed

None

The fix

The vulnerability was fixed by an update issued by Schneider Electric.

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 is a file upload bug. The software lets someone send a file to the server, but it does not check what kind of file it is. Because of that, an attacker can send a harmful file and make the server run it, taking full control of the machine.

What is File upload?

An upload feature accepts a file that the server or other users' browsers then treat as code or as something trusted.

More by rgod

View all

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

Unrestricted file upload

The lesson behind this report.

An upload feature accepts a file that the server or other users' browsers then treat as code or as something trusted.