Skip to content
CSRF Disclosed report Intermediate CVE-2017-0933

CSRF: Replacing the router configuration backup having an 'operator' user and bypassing the "Referer:' whitelist protection

The router's CSRF protection relied on a Referer whitelist that could be bypassed, and an operator-level user could replace the configuration backup to gain admin privileges. An attacker with an operator account could lure an admin to a malicious page and escalate to admin.

hacknroll Follow

Originally disclosed on HackerOne

Critical 9.0 View original
  • Triaged in 12 hours
  • Fixed in 5 months
  • Paid in 8 days
  • Disclosed after 5 months

Summary by the program

EdgeOS version 1.9.1 and prior, the researcher was able to bypass the CSRF protection. An attacker with access to an operator (read-only) account, can lure an admin (root) user to access the attacker controlled page, doing so will allow the attacker to gain admin privileges in the system.

The original report as published on HackerOne, by hacknroll. 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

Root cause

Likely the CSRF defence relied on a Referer whitelist that could be bypassed, and the backup restore function did not properly validate the uploaded configuration.

Impact

An attacker with an operator account could escalate to admin privileges by luring an admin to a malicious page.

What the attacker needed

Operator (read-only) account; admin user 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.

A router's web interface has CSRF protection. Here it could be bypassed, and a low-privilege user could gain admin privileges. The attacker needed a limited account and an admin to visit a malicious page.

What is CSRF?

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

More by hacknroll

View all

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