Skip to content
Access control Advisory Intermediate CVE-2020-6090

WAGO PFC 200 Web-Based Management (WBM) Code Execution Vulnerability

The WAGO PFC 200 web-based management allows an authenticated admin to upload and activate software packages that run installation scripts with root privileges, enabling privilege escalation from web admin to root. An attacker with admin access could execute arbitrary code as root and overwrite system services.

Discovered Follow

Originally disclosed on Cisco Talos

Critical 9.1 View original

An exploitable code execution vulnerability exists in the Web-Based Management (WBM) functionality of WAGO PFC 200 03.03.10(15). A specially crafted series of HTTP requests can cause code execution resulting in remote code execution.

Discovered through discussions between WAGO and Cisco Talos, 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 web management uploads and activates software packages without integrity checks and runs the package manager with root privileges, so scripts in the package execute as root.

Impact

An authenticated web admin could gain root privileges on the device and overwrite system services with attacker-controlled code.

What the attacker needed

Authenticated access as web admin

How it was found

  1. Log in to the web-based management as an admin user.
  2. Upload a crafted software package in the opkg format.
  3. Activate the uploaded package, optionally forcing overwrite.
  4. The package's installation scripts run with root privileges, leading to code execution.

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 web interface for configuring this industrial controller lets an administrator upload software packages. Those packages can include scripts that run with the highest level of permission on the device, called root. So an attacker who can log in as the web admin can take full control of the underlying system.

What is Access control?

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.

More from Cisco Talos

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Broken access control

The lesson behind this report.

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.