Skip to content
Access control Disclosed report Intermediate CVE-2019-5426

Login as root without password on EdgeSwitchX

EdgeSwitch X allowed unauthenticated users to use SSH local and dynamic port forwarding when SSH was enabled. An attacker without credentials could reach local services or relay traffic through the device.

fr33rh Follow

Originally disclosed on HackerOne

Medium 4.8 View original
  • Triaged in 14 hours
  • Fixed in 8 days
  • Paid in 14 hours
  • Disclosed after 10 days

Summary by the program

In EdgeSwitch X v1.1.0 and prior, an unauthenticated user can use the "local port forwarding" and "dynamic port forwarding" (SOCKS proxy) functionalities. Remote attackers without credentials can exploit this bug to access local services or forward traffic through the device if SSH is enabled in the system settings.

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 SSH server permitted port-forwarding requests before authentication completed, instead of requiring a valid login first.

Impact

An unauthenticated attacker could access local services or forward traffic through the device, but only if SSH was enabled in the system settings.

What the attacker needed

SSH enabled in system settings; network access to the device

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.

SSH is a way to log in to a device remotely. Normally you need a username and password first. Here the device let anyone set up tunnels through it before logging in, so they could reach things inside the network without an account.

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.