Ipswitch WhatsUp Professional LOGIN.ASP SQL Injection Vulnerability
BID:14039
Info
Ipswitch WhatsUp Professional LOGIN.ASP SQL Injection Vulnerability
| Bugtraq ID: | 14039 |
| Class: | Input Validation Error |
| CVE: |
CVE-2005-1250 |
| Remote: | Yes |
| Local: | No |
| Published: | Jun 22 2005 12:00AM |
| Updated: | Jul 12 2009 04:06PM |
| Credit: | Discovery is credited to an anonymous researcher. |
| Vulnerable: |
Ipswitch WhatsUp Professional 2005 SP1 |
| Not Vulnerable: |
Ipswitch WhatsUp Professional 2005 SP1a |
Discussion
Ipswitch WhatsUp Professional LOGIN.ASP SQL Injection Vulnerability
WhatsUp Professional is prone to an SQL injection vulnerability affecting its Web-based front end. This issue is due to a failure in the application to properly sanitize user-supplied input to the 'login.asp' script before using it in an SQL query.
Successful exploitation could result in a compromise of the application, disclosure or modification of data, or may permit an attacker to exploit vulnerabilities in the underlying database implementation. It should be noted that by supplying a 'or' value through the 'password' parameter, an attacker can gain unauthorized access to an affected site.
WhatsUp Professional is prone to an SQL injection vulnerability affecting its Web-based front end. This issue is due to a failure in the application to properly sanitize user-supplied input to the 'login.asp' script before using it in an SQL query.
Successful exploitation could result in a compromise of the application, disclosure or modification of data, or may permit an attacker to exploit vulnerabilities in the underlying database implementation. It should be noted that by supplying a 'or' value through the 'password' parameter, an attacker can gain unauthorized access to an affected site.
Exploit / POC
Ipswitch WhatsUp Professional LOGIN.ASP SQL Injection Vulnerability
An exploit is not required.
The following proof of concept is available:
Reset the Admin user password with a blank password:
- 'UPDATE WebUser SET sPassword=DEFAULT WHERE sUserName='Admin'--
Elevate Guest user privileges to Admin privileges:
- 'UPDATE WebUser SET nUserRightsMask=-1 WHERE sUserName='guest'--
An exploit is not required.
The following proof of concept is available:
Reset the Admin user password with a blank password:
- 'UPDATE WebUser SET sPassword=DEFAULT WHERE sUserName='Admin'--
Elevate Guest user privileges to Admin privileges:
- 'UPDATE WebUser SET nUserRightsMask=-1 WHERE sUserName='guest'--
Solution / Fix
Ipswitch WhatsUp Professional LOGIN.ASP SQL Injection Vulnerability
Solution:
The vendor has released WhatsUp Professional 2005 SP1a to address this issue. Please contact the vendor to obtain fixes.
Solution:
The vendor has released WhatsUp Professional 2005 SP1a to address this issue. Please contact the vendor to obtain fixes.
References
Ipswitch WhatsUp Professional LOGIN.ASP SQL Injection Vulnerability
References:
References:
- Major Fixes Included in SP1a (Ipswitch)
- IpSwitch WhatsUp Professional 2005 (SP1) SQL Injection Vulnerability ("iDEFENSE Labs"
)