Skip to content
Path traversal Write-up Intermediate

0xsha/SolarwindsOrionLFD.py

SolarWinds Orion contained an authentication bypass in its request handling that allowed unauthenticated attackers to read arbitrary files, including web.config and SWNetPerfMon.db, by appending a crafted suffix to the requested path. The proof-of-concept script demonstrates leaking these files from vulnerable instances.

gist.github.com

Published on gist.github.com

Clone this repository at <script src="https://gist.github.com/0xsha/75616ef6f24067c4fb5b320c5dfa4965.js"></script> - Save 0xsha/75616ef6f24067c4fb5b320c5dfa4965 to your computer and use it in GitHub Desktop.

The author, on gist.github.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

The request-handling module sets the user to a null user and skips authorisation when the path contains 'Skipi18n' or ends with '.css'/'.js', and then rewrites paths ending in '.i18n.ashx' to an internal file handler without proper access control.

Impact

An unauthenticated attacker could read sensitive files such as web.config and SWNetPerfMon.db, potentially exposing credentials and configuration details; the database file leak only works on older versions.

What the attacker needed

Network access to the Orion web interface; no authentication required

The fix

SolarWinds released a mitigation package and advisory to address the authentication bypass.

How it was found

  1. Send a request to a non-existent .js file to obtain a redirect containing a valid version string.
  2. Use the leaked version string to request the web.config file.
  3. If successful, save the web.config contents.
  4. Attempt to download SWNetPerfMon.db using the same version string (works only on older versions).

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.

This is a flaw in a web server component that decides who is allowed to see which files. By adding a special ending to a web address, an attacker could trick the server into skipping its usual login check and handing over sensitive configuration files. Those files can contain passwords or other secrets that help an attacker go further.

What is Path traversal?

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

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.