Skip to content
Path traversal Write-up Beginner

CVE-2024-12209: Local File Inclusion Vulnerability in WP Umbrella

The WP Umbrella plugin has a local file inclusion flaw in the umbrella-restore action due to improper sanitisation of the filename parameter. An unauthenticated attacker can include arbitrary files from the server, such as /etc/passwd, and potentially access sensitive configuration files.

Bash Overflow Follow

Published on bashoverflow.com

The WP Umbrella plugin is designed to provide essential website health monitoring and maintenance features for WordPress websites. It offers functionalities such as backups, restoration, updates, and server monitoring to help website administrators maintain optimal performance and security.

Bash Overflow, on bashoverflow.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 the umbrella-restore action fails to sanitise the filename parameter, allowing directory traversal sequences to include arbitrary local files.

Impact

An unauthenticated attacker could read sensitive server files, including configuration files that may contain database credentials and other critical information.

What the attacker needed

WP Umbrella plugin ≤ 2.17.0; No authentication required; Network access to the WordPress site

The fix

The plugin should be updated to version 2.17.1 or later, which presumably fixes the improper sanitisation.

How it was found

  1. Prepare a local lab with Ubuntu 22.04, WordPress 6.0, and WP Umbrella 2.17.0.
  2. Access the lab site via its configured domain or IP address.
  3. Confirm that the vulnerable plugin is installed.
  4. Use Burp Suite to capture a request and send it to Repeater.
  5. Send the original request and observe a normal 200 response.
  6. Modify the request to include the umbrella-restore action and a filename parameter with directory traversal, then send it to retrieve /etc/passwd.

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.

Local file inclusion is a bug where a web page can be tricked into showing files that are stored on the server, like system files or configuration files. Here, the plugin takes a filename from the request without cleaning it properly, so an attacker can ask for files outside the intended folder. Because no login is needed, anyone who can reach the site can try this.

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 Bash Overflow

View all

35 more disclosed reports, best first.

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.