Progress Software Corporation WhatsUp Gold AppProfileImport path traversal vulnerability
An authenticated user can supply a crafted file name to the AppProfileImport endpoint, which is used without sanitisation in a file existence check, allowing path traversal. This lets the attacker determine whether arbitrary files exist on the server, leading to information disclosure.
Originally disclosed on Cisco Talos
A path traversal vulnerability exists in the AppProfileImport functionality of Progress Software Corporation WhatsUp Gold 23.1.0 Build 1697. A specially crafted HTTP request can lead to information disclosure.
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 report has not been written yet. The Original tab links to the source.
How it worked
Root cause
The fileName parameter is directly combined with a base path using Path.Combine without any validation or sanitisation, allowing directory traversal.
Impact
An authenticated attacker could determine the existence of arbitrary files on the server, potentially disclosing sensitive information about the system's configuration and installed software.
What the attacker needed
Authenticated user account
The fix
The vulnerability was fixed in a later release by the vendor.
How it was found
- Authenticate to the WhatsUp Gold web interface.
- Send a POST request to the AppProfileImport endpoint with a fileName parameter containing path traversal sequences and uploadOption set to 0.
- Observe the response: if the file exists, the server returns a JSON message indicating FILE_EXISTS; otherwise, it returns an error.
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.
The application lets you import a file, and it checks if a file with the name you provide already exists. Because it doesn't clean up the name properly, you can use special characters like '..' to refer to files outside the intended folder. By observing whether the server says the file exists or not, you can learn which files are present on the system.
What is Path traversal?
Input that builds a file path escapes the intended folder, reading or writing files the application should never touch.