Skip to content
Access control Advisory Intermediate CVE-2023-47166

Milesight UR32L luci2-io file-import firmware update vulnerability

The Milesight UR32L router does not validate uploaded firmware during the upgrade process. An attacker with authenticated access can upload arbitrary firmware, potentially taking full control of the device.

Francesco Benvenuto Follow

Originally disclosed on Cisco Talos

High 8.8 View original

A firmware update vulnerability exists in the luci2-io file-import functionality of Milesight UR32L v32.3.0.7-r2. A specially crafted network request can lead to arbitrary firmware update.

Francesco Benvenuto, 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

Likely the firmware import functionality lacks proper authorization and validation checks on the uploaded firmware file.

Impact

An attacker could install arbitrary firmware, gaining full control of the router (high confidentiality, integrity, and availability impact).

What the attacker needed

Authenticated access to the router

The fix

The vulnerability was fixed in a new firmware version provided by the vendor, though public release was pending at the time of the report.

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 router lets you update its software (firmware) by uploading a file. The problem is that it accepts any file without checking if it is a genuine, safe update. So someone who can log in could upload malicious software and control the router.

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 by Francesco Benvenuto

View all

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

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.