Skip to content
SSRF Write-up Beginner

CVE-2024–27954 — WordPress Automatic Plugin < 3.92.1 — Arbitrary File Download and SSRF

The WordPress Automatic plugin before version 3.92.1 is vulnerable to unauthenticated arbitrary file download and server-side request forgery. An attacker could make the server request arbitrary locations, including internal services, and download arbitrary files such as /etc/passwd.

infosecwriteups.com

Published on infosecwriteups.com

The WordPress Automatic Plugin plugin for WordPress is vulnerable to Server-Side Request Forgery and Arbitrary File Downloads in all versions up to, and including, 3.92.0. This makes it possible for unauthenticated attackers to make web requests to arbitrary locations originating from the web application and can be…

Ajay Naik, on infosecwriteups.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 plugin's downloader.php accepts a user-supplied link without validating or restricting the scheme and destination, allowing file:// and internal URLs.

Impact

An unauthenticated attacker could read arbitrary files on the server and make requests to internal services, potentially exposing sensitive data and enabling further exploitation.

What the attacker needed

WordPress Automatic plugin < 3.92.1; No authentication required

The fix

The vulnerability was fixed in version 3.92.1; users should update the plugin.

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 WordPress plugin lets a user tell the server to fetch a file from a web address. Because it does not check what address is given, an attacker can ask the server to fetch files from its own disk or from internal systems that are not meant to be reachable from the internet. That can expose sensitive files or let the attacker probe internal services.

What is SSRF?

The server can be made to fetch an address the attacker chooses, reaching internal services, cloud metadata or other customers' data.

Similar reports

View all

Same bug class and techniques, clearest first.

Server-side request forgery (SSRF)

The lesson behind this report.

The server can be made to fetch an address the attacker chooses, reaching internal services, cloud metadata or other customers' data.