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