What is OpenManage Server Administrator (OMSA)
An authenticated file read vulnerability in Dell OpenManage Server Administrator (OMSA) allowed reading arbitrary files via the DownloadServlet, and when combined with an authentication bypass, unauthenticated attackers could read files. A later security filter intended to fix this was bypassed by URL-encoding part of the request path.
rhinosecuritylabs.com
Published on rhinosecuritylabs.com
This blog explores a file read vulnerability in Dell OpenManage Server Administrator (OMSA) we found during an internal network penetration test, tracked as CVE-2020-5377 and a bypass for the fix tracked as CVE-2021-21514.
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 DownloadServlet takes a user-supplied file path and reads it without proper validation, relying only on a user-rights check that can be satisfied via an authentication bypass.
What the attacker needed
OMSA version 9.4.0.0 or [redacted]; Managed System Login enabled (default); Attacker can host a rogue remote node
How it was found
- Host a rogue remote node that replies to OMSA's authentication request and validates the login.
- OMSA issues a JSESSIONID cookie and a VID that grants a privileged session.
- Send a request to the DownloadServlet with the file parameter set to the target file path.
- The servlet reads the file and returns its contents in the response.
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.
OMSA is a web tool for managing servers. A file read bug lets an attacker ask the server to send back files it should not, like system files. Here, the attacker first tricked OMSA into giving them a valid session, then used that session to read any file on the server.
What is Path traversal?
Input that builds a file path escapes the intended folder, reading or writing files the application should never touch.