CVE-2021-24790

Contact Form Advanced Database <= 1.0.8 - Missing Authorization

2021-11-15 00:00
Quentin VILLAIN (3wsec)

Strategic Overview

Status
Unpatched
Affected Version
<= 1.0.8
CVSS
8.5High
Weakness type
CWE-862 · Missing Authorization
CVE
CVE-2021-24790
View all Contact Form Advanced Database vulnerabilities

At a glance

CVE-2021-24790 is a high-severity Missing Authorization vulnerability in the Contact Form Advanced Database WordPress plugin, affecting versions <= 1.0.8. It carries a CVSS score of 8.5 (reachable over the network; high confidentiality, integrity, availability impact). The root cause is a missing authorization check on a reachable function. No fixed release has been reported yet; treat installations running this software as exposed. Disclosed November 2021, reported by Quentin VILLAIN (3wsec).

Vulnerability Overview

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.

Technical Analysis

The vector marks this flaw as remotely reachable over the network, and no interaction from a victim user. A successful exploit has high impact on confidentiality, integrity, availability — full site compromise territory.

CWE-862: Missing Authorization

Contact Form Advanced Database <= 1.0.8 carries this weakness at maybe_unserialize(), and reaching it takes a caller who can reach the endpoint. A missing authorization check means a function is reachable by anyone who can reach the endpoint, because the code never asks whether the caller is allowed to perform the action.

Any user who can reach the endpoint gets to run an action reserved for higher-privileged roles, from reading protected data to changing settings or content. No fixed build of this plugin is recorded for Contact Form Advanced Database yet, so installs running <= 1.0.8 stay exposed until the vendor ships one.

Remediation

No known patch available. Please review the vulnerability's details in depth and employ mitigations based on your organization's risk tolerance. It may be best to uninstall the affected software and find a replacement.

How does WordSec protect against this?

Because it turns on account access, WordSec's login security is the relevant layer: role-based two-factor, captcha and brute-force limits raise the cost of getting the account this needs. No patched version is recorded yet, which is the case where a filtering layer matters most, because there is nothing to update to.

  • Login Security
  • Alerts

External References

Vulnerability data © Defiant, Inc., provided under the Wordfence Intelligence T&C