Skip to content
File upload Advisory Intermediate CVE-2018-4063

Sierra Wireless AirLink ES450 ACEManager upload.cgi Remote Code Execution Vulnerability

The upload.cgi script in ACEManager allows an authenticated user to upload a file with the same name as an existing executable CGI file, inheriting its executable permissions. An attacker could upload a shell script or binary and then access it via the web server, resulting in remote code execution as the root user.

Carl Hurd Follow

Originally disclosed on Cisco Talos

Critical 9.9 View original

An exploitable remote code execution vulnerability exists in the upload.cgi functionality of Sierra Wireless AirLink ES450 FW 4.9.3. A specially crafted HTTP request can upload a file, resulting in executable code being uploaded, and routable, to the webserver.

Carl Hurd, 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 upload functionality does not restrict the filename or location, allowing an attacker to overwrite existing executable files and inherit their permissions.

Impact

An authenticated attacker could execute arbitrary code as root on the device, potentially compromising the gateway and connected systems.

What the attacker needed

Authenticated access to ACEManager

How it was found

  1. Authenticate to the ACEManager web interface to obtain a session token.
  2. Send a POST request to /cgi-bin/upload.cgi with multipart form data containing a filename matching an existing executable CGI file and a file-location pointing to the admin directory.
  3. Access the uploaded file via the web server to execute the code.

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.

The device's web interface lets you upload template files. If you give your uploaded file the same name as a program that is already there, the device treats your file as a program and runs it with full system rights. This means someone who can log in can take complete control of the device.

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 Carl Hurd

View all

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

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.