Skip to content
Path traversal Write-up Advanced

Multiple Vulnerabilities In Extreme Networks ExtremeXOS

The EXOS web application had an unauthenticated path traversal in the /terminal endpoint allowing arbitrary file read, and a localhost bypass in the /auth/token endpoint that, combined with SSRF via the telnet console tool, let a read-only user obtain an admin JWT. Other flaws included CSRF to RCE and arbitrary root file write via Redis.

David Yesland Follow

Published on rhinosecuritylabs.com

During an external network pentest, we came across a switch administration interface running ExtremeNetworks’ Extreme Operating System (EXOS). This is a network operating system designed to manage ExtremeNetworks’ wide range of Ethernet switches.

David Yesland, on rhinosecuritylabs.com

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely multiple coding mistakes: unsanitised file path concatenation, a localhost trust bypass in token issuance, missing CSRF protections, and an unauthenticated Redis service.

Impact

An unauthenticated attacker could read sensitive files including password hashes, and a read-only user could escalate to admin and execute commands; CSRF could lead to RCE if an admin visits a malicious page, and Redis abuse allowed arbitrary root file write.

What the attacker needed

Network access to the device; for privilege escalation: read-only credentials; for CSRF: victim admin visits malicious page

The fix

The vulnerabilities were fixed in the listed patched versions.

How it was found

  1. Download and import the EXOS VM, then mount its virtual disk to access the file system.
  2. Decompile the Python application files and search for exposed CherryPy routes.
  3. Identify the unauthenticated /terminal endpoint and its static file loading method.
  4. Exploit the path traversal by supplying a filename parameter to read arbitrary files, such as the XML configuration with password hashes.
  5. Use the read-only user's telnet console tool to send an HTTP request to localhost /auth/token and obtain an admin JWT.
  6. Use the admin JWT to call privileged APIs and execute commands on 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 write-up has not been written yet. The Original tab links to the source.

The web interface of a network switch had several security holes. One let anyone read files on the device without logging in, another let a low-privilege user trick the system into giving them admin rights, and another let an attacker write files as the root user. These could lead to full control of the switch.

What is Path traversal?

Input that builds a file path escapes the intended folder, reading or writing files the application should never touch.

More by David Yesland

View all

3 more disclosed reports, best first.

More from Extreme Networks

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Path traversal and file inclusion

The lesson behind this report.

Input that builds a file path escapes the intended folder, reading or writing files the application should never touch.