Skip to content
CSRF Disclosed report Advanced

Triggering RCE using XSS to bypass CSRF in PowerBeam M5 300

The device's web interface lacked validation on certain pages, allowing an attacker to bypass CSRF protections. An authenticated user visiting a malicious page could have their device configuration modified and stored XSS injected, which then enabled full CSRF bypass and remote code execution.

Max VA Follow

Originally disclosed on HackerOne

High 8.8 View original
  • Triaged in 3 days
  • Fixed in 5 months
  • Paid in 3 days
  • Disclosed after 7 months

Summary by the program

In AirOS 6.1.5 and prior, due to lack of validation is possible to bypass the CSRF in certain web pages. If an authenticated user access an attacker controlled web page, it could trigger the CSRF and the resulting request could modify the device configuration and creating stored-XSS, with the XSS content is possible to bypass the CSRF completely and finally trigger the RCE.

Summary by the researcher

By chaining 4 bugs together, it is possible to cause command injection on a PowerBeam M5 300 using XSS to bypass the implemented form CSRF tokens.

The original report as published on HackerOne, by maxpl0it. Images and videos are our own copies; raw HTML is shown as text. View it on HackerOne.

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

Impact

An authenticated user visiting an attacker-controlled page could have their device configuration modified, stored XSS injected, CSRF fully bypassed, and remote code execution triggered.

What the attacker needed

Authenticated user; victim visits attacker page

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 report describes a chain of four security weaknesses in a wireless device's web interface. An attacker could trick a logged-in user into visiting a malicious page, which then changed the device's settings and planted malicious script. That script let the attacker take full control and run commands on the device.

What is CSRF?

Another site makes a signed-in user's browser perform an action they did not intend.

More by Max VA

View all

4 more disclosed reports, best first.

More from Ubiquiti Inc.

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Cross-site request forgery (CSRF)

The lesson behind this report.

Another site makes a signed-in user's browser perform an action they did not intend.