CVE-2024-12855

AdForest - Classified Ads WordPress Theme <= 5.1.7 - Missing Authorization to Authenticated (Subscriber+) Arbitrary Post/Attachment Deletion

2025-01-07 00:00
Lucio Sá

Strategic Overview

Status
Patched in 5.1.8
Affected Theme
AdForest
Affected Version
<= 5.1.7
CVSS
4.3Medium
Weakness type
CWE-862 · Missing Authorization
CVE
CVE-2024-12855
View all AdForest vulnerabilities

At a glance

CVE-2024-12855 is a medium-severity Missing Authorization vulnerability in the AdForest WordPress theme, affecting versions <= 5.1.7. It carries a CVSS score of 4.3 (reachable over the network; low attack complexity). Exploitation requires an authenticated account at Subscriber level or above. The issue is fixed in version 5.1.8; sites on affected versions should update now. Disclosed January 2025, reported by Lucio Sá.

Vulnerability Overview

The AdForest theme for WordPress is vulnerable to unauthorized modification of data due to a missing capability check on several AJAX actions like 'sb_remove_ad' in all versions up to, and including, 5.1.7. This makes it possible for authenticated attackers, with Subscriber-level access and above, to delete posts, attachments and deactivate a license.

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-862: Missing Authorization

AdForest <= 5.1.7 carries this weakness at sb_remove_ad, and reaching it takes an account at Subscriber level or above. 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. For AdForest the fix is 5.1.8: builds <= 5.1.7 are affected, anything from 5.1.8 onward is not.

Remediation

Update to version 5.1.8, 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: AdForest 5.1.8 closes this, and updating the theme is the step that ends it.

  • Login Security
  • Alerts

External References

Related records

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