WordPress security changelog
MEDIUM CVE-2021-24790 Modified

Contact Form Advanced Database: Code execution

Contact Form Advanced Database is affected by code execution. Exposure depends on how the affected operation is made reachable by the site. Successful exploitation can run attacker-controlled code in the WordPress hosting account.

CVE / CNA score 4.3 CVSS · contact@wpscan.com
NVD score 4.3 CVSS 3.1 · nvd@nist.gov
Component
Contact Form Advanced Database
Plugin slug
contact-form-advanced-database
Affected
See vendor advisory
Safe version
See mitigation notes
Published
Dec 13, 2021
Weakness
CWE-862 — Missing Authorization
CWE-352 — Cross-Site Request Forgery (CSRF)

This CVE was published Dec 13, 2021 and is one of 1 known issue for this plugin.

Update, patch or deactivate.

Update Contact Form Advanced Database to a release outside the affected range, or disable and remove it until a fixed version is available.

No confirmed safe version is listed. Consider a vendor-supported patch or temporarily restricting the affected functionality while you assess the risk.

Deactivate only when warranted by your risk profile, or when advised by your hosting provider in the limited circumstances where the vulnerability cannot otherwise be mitigated. If you’re unsure which action is appropriate, contact Fused or your hosting provider for guidance.

Technical description

The Contact Form Advanced Database WordPress plugin through 1.0.8 does not have any authorisation as well as CSRF checks in its delete_cf7_data and export_cf7_data AJAX actions, available to any authenticated users, which could allow users with a role as low as subscriber to call them. The delete_cf7_data would lead to arbitrary metadata deletion, as well as PHP Object Injection if a suitable gadget chain is present in another plugin, as user data is passed to the maybe_unserialize() function without being first validated.

NVD vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N

Primary and upstream sources