Description
The Wordpress GDPR Compliance plugin <= v1.4.2 allows unauthenticated users to set wordpress administration options by overwriting values within the database.
The vulnerability is present in WordPress's admin-ajax.php, which allows unauthorized users to trigger handlers and make configuration changes because of a failure to do capability checks when executing the 'save_setting' internal action.
WARNING: The module sets Wordpress configuration options without reading their current values and restoring them later.
Module options
To display the available options, load the module within the Metasploit console and run the commands 'show options' or 'show advanced':
msf > use auxiliary/admin/http/wp/gdpr_compliance_privescmsf undefined(gdpr_compliance_privesc) > show actions ...actions...msf undefined(gdpr_compliance_privesc) > set ACTION < action-name >msf undefined(gdpr_compliance_privesc) > show options ...show and set options...msf undefined(gdpr_compliance_privesc) > runPrioritise with Active Threat Intelligence
With curated Threat Intelligence, you can see which vulnerabilities truly put you at risk, prioritize what matters most, and act before attackers do.
Explore Intelligence Hub