Vulnerabilities > CVE-2015-4624 - Improper Access Control vulnerability in Hak5 Wi-Fi Pineapple Firmware
Attack vector
ADJACENT_NETWORK Attack complexity
HIGH Privileges required
NONE Confidentiality impact
HIGH Integrity impact
HIGH Availability impact
HIGH Summary
Hak5 WiFi Pineapple 2.0 through 2.3 uses predictable CSRF tokens.
Vulnerable Configurations
Part | Description | Count |
---|---|---|
OS | 4 | |
Hardware | 1 |
Common Weakness Enumeration (CWE)
Common Attack Pattern Enumeration and Classification (CAPEC)
- Embedding Scripts within Scripts An attack of this type exploits a programs' vulnerabilities that are brought on by allowing remote hosts to execute scripts. The attacker leverages this capability to execute scripts to execute his/her own script by embedding it within other scripts that the target software is likely to execute. The attacker must have the ability to inject script into script that is likely to be executed. If this is done, then the attacker can potentially launch a variety of probes and attacks against the web server's local environment, in many cases the so-called DMZ, back end resources the web server can communicate with, and other hosts. With the proliferation of intermediaries, such as Web App Firewalls, network devices, and even printers having JVMs and Web servers, there are many locales where an attacker can inject malicious scripts. Since this attack pattern defines scripts within scripts, there are likely privileges to execute said attack on the host. Of course, these attacks are not solely limited to the server side, client side scripts like Ajax and client side JavaScript can contain malicious scripts as well. In general all that is required is for there to be sufficient privileges to execute a script, but not protected against writing.
- Signature Spoofing by Key Theft An attacker obtains an authoritative or reputable signer's private signature key by theft and then uses this key to forge signatures from the original signer to mislead a victim into performing actions that benefit the attacker.
Exploit-Db
description | Hak5 WiFi Pineapple - Preconfiguration Command Injection (Metasploit). CVE-2015-4624. Remote exploit for Linux platform. Tags: Metasploit Framework |
file | exploits/linux/remote/40609.rb |
id | EDB-ID:40609 |
last seen | 2016-10-21 |
modified | 2016-10-20 |
platform | linux |
port | 1471 |
published | 2016-10-20 |
reporter | Metasploit |
source | https://www.exploit-db.com/download/40609/ |
title | Hak5 WiFi Pineapple - Preconfiguration Command Injection (Metasploit) |
type | remote |
Metasploit
description This module exploits a login/csrf check bypass vulnerability on WiFi Pineapples version 2.0 <= pineapple < 2.4. These devices may typically be identified by their SSID beacons of 'Pineapple5_....'; Provided as part of the TospoVirus workshop at DEFCON23. id MSF:EXPLOIT/LINUX/HTTP/PINEAPPLE_BYPASS_CMDINJECT last seen 2020-06-06 modified 2018-07-12 published 2016-09-07 references https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2015-4624 reporter Rapid7 source https://github.com/rapid7/metasploit-framework/blob/master//modules/exploits/linux/http/pineapple_bypass_cmdinject.rb title Hak5 WiFi Pineapple Preconfiguration Command Injection description This module exploits a command injection vulnerability on WiFi Pineapples version 2.0 <= pineapple < 2.4. We use a combination of default credentials with a weakness in the anti-csrf generation to achieve command injection on fresh pineapple devices prior to configuration. Additionally if default credentials fail, you can enable a brute force solver for the proof-of-ownership challenge. This will reset the password to a known password if successful and may interrupt the user experience. These devices may typically be identified by their SSID beacons of 'Pineapple5_....'; details derived from the TospoVirus, a WiFi Pineapple infecting worm. id MSF:EXPLOIT/LINUX/HTTP/PINEAPPLE_PRECONFIG_CMDINJECT last seen 2020-06-01 modified 2017-07-24 published 2016-09-07 references https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2015-4624 reporter Rapid7 source https://github.com/rapid7/metasploit-framework/blob/master//modules/exploits/linux/http/pineapple_preconfig_cmdinject.rb title Hak5 WiFi Pineapple Preconfiguration Command Injection
Packetstorm
data source https://packetstormsecurity.com/files/download/139212/pineapple_preconfig_cmdinject.rb.txt id PACKETSTORM:139212 last seen 2016-12-05 published 2016-10-19 reporter catatonicprime source https://packetstormsecurity.com/files/139212/Hak5-WiFi-Pineapple-Preconfiguration-Command-Injection-2.html title Hak5 WiFi Pineapple Preconfiguration Command Injection 2 data source https://packetstormsecurity.com/files/download/133052/wifipineapple-badtoken.txt id PACKETSTORM:133052 last seen 2016-12-05 published 2015-08-12 reporter catatonicprime source https://packetstormsecurity.com/files/133052/WiFi-Pineapple-Predictable-CSRF-Token.html title WiFi Pineapple Predictable CSRF Token