Skip to content
Access control Disclosed report Intermediate CVE-2020-8234

Web Server Predictable Session ID on EdgeSwitch

The web interface of EdgeSwitch uses a predictable session ID cookie for administrators, allowing an attacker to guess it and gain high privileges. This access can then be used to execute a command injection and obtain a root shell.

fr33rh Follow

Originally disclosed on HackerOne

High 8.8 View original
  • Triaged in 32 hours
  • Fixed in 50 days
  • Paid in 21 days
  • Disclosed after 16 months

Summary by the program

In EdgeSwitch legacy web interface the SIDSSL cookie for admin can be guessed, enabling the attacker to obtain high privileges and get a root shell by a Command injection. These vulnerabilities were found on EdgeSwitch 1G switch (ESWH) and EdgeSwitch 10G switch (ESGH) firmware v1.9.0.

The fix for these vulnerabilities were included in the new version of EdgeMax EdgeSwitch firmware v1.9.1 For more details please visit:

https://community.ui.com/releases/EdgeMAX-EdgeSwitch-Firmware-v1-9-1-v1-9-1/8a87dfc5-70f5-4055-8d67-570db1f5695c

https://www.ui.com/download/edgemax

The original report as published on HackerOne, by fr33rh. 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 session ID generation used a predictable pattern, making it guessable.

Impact

An attacker could gain administrator privileges and then execute commands to obtain a root shell on the device.

What the attacker needed

Access to the web interface; predictable session ID

The fix

The vulnerabilities were fixed in firmware version 1.9.1.

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 session ID is a unique code a website gives you after you log in, so it can remember who you are. If that code is easy to guess, someone else can pretend to be you without knowing your password. Here, the code for the administrator account was guessable, so an attacker could take over the admin session and then run harmful commands on the device.

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 fr33rh

View all

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

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.