CVE-2024-4274

Essential Real Estate <= 4.4.2 - Insecure Direct Object Reference to Arbitrary Attachment Deletion

2024-06-03 16:39
Lucio Sá

Strategic Overview

Status
Patched in 4.4.5
Affected Plugin
Essential Real Estate
Affected Version
<= 4.4.4
CVSS
4.3Medium
Weakness type
CWE-639 · Authorization Bypass Through User-Controlled Key
CVE
CVE-2024-4274
View all Essential Real Estate vulnerabilities

At a glance

CVE-2024-4274 is a medium-severity Authorization Bypass Through User-Controlled Key vulnerability in the Essential Real Estate WordPress plugin, affecting versions <= 4.4.4. It carries a CVSS score of 4.3 (reachable over the network; low attack complexity). The issue is fixed in version 4.4.5; sites on affected versions should update now. Disclosed June 2024, reported by Lucio Sá.

Vulnerability Overview

The Essential Real Estate plugin for WordPress is vulnerable to unauthorized loss of data due to insufficient validation on the remove_property_attachment_ajax() function in all versions up to, and including, 4.4.2. This makes it possible for authenticated attackers, with subscriber-level access and above, to delete arbitrary attachments.

Technical Analysis

The vector marks this flaw as remotely reachable over the network, with low attack complexity — no special timing or configuration is needed, and no interaction from a victim user.

CWE-639: Authorization Bypass Through User-Controlled Key

Essential Real Estate <= 4.4.4 carries this weakness at remove_property_attachment_ajax(), and reaching it takes a caller who can reach the endpoint. Authorization bypass through a user-controlled key, often called insecure direct object reference, means the application looks up a record by an identifier from the request without checking that the caller owns it.

Changing a number in the request is enough to read or modify other users' records, which on commerce and membership sites means customer data. For Essential Real Estate the fix is 4.4.5: builds <= 4.4.4 are affected, anything from 4.4.5 onward is not.

Remediation

Update to version 4.4.5, or a newer patched version

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. None of that substitutes for the fix: Essential Real Estate 4.4.5 closes this, and updating the plugin is the step that ends it.

  • Login Security
  • Alerts

External References

Related records

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