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