Skip to content
Path traversal Write-up Intermediate

WhatsUp Gold Pre-Auth RCE WriteDataFile Primitive (CVE-2024-4883)

An unauthenticated path traversal in the WriteDataFile method of a WCF service allowed writing arbitrary files, which the author turned into remote code execution by planting a webshell. An attacker could execute commands on the server.

Sina Kheirkhah Follow

Published on summoning.team

Previously I discovered a path traversal and now here is another unauthenticated path traversal against the latest version of progress whatsup gold and I also turned it into a pre-auth RCE, following is how I did it

Sina Kheirkhah (@SinSinology), on summoning.team

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 WriteDataFile method combines a user-supplied directory name and file name into a path without validating that the resulting path stays within the intended data directory, allowing path traversal.

What the attacker needed

Network access to port 9643; No authentication required

How it was found

  1. Connect to the WCF service on port 9643.
  2. Call the WriteDataFile method with a crafted EntityDataFileTransfer object.
  3. Set FileInfo.DirectoryName to traverse to the web-accessible NmConsole folder.
  4. Set FileInfo.Name to a webshell filename (e.g., hax.aspx).
  5. Set FileContents to the webshell content.
  6. Access the webshell via the web server to execute commands.

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 software has a service that lets anyone write files to the server without logging in. Because the file path is not checked, an attacker can write a malicious file (like a webshell) into a web-accessible folder and then run commands 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.

More by Sina Kheirkhah

View all

17 more disclosed reports, best first.

More from Progress (WhatsUp Gold)

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.