WP Affiliate Disclosure <= 1.2.6 - Cross-Site Request Forgery via check_capability
Strategic Overview
- Status
- Patched in 1.2.7
- Affected Plugin
- WP Affiliate Disclosure
- Affected Version
<= 1.2.6- CVSS
- 4.3Medium
- Weakness type
- CWE-862 · Missing Authorization
- CVE
CVE-2023-47232
At a glance
CVE-2023-47232 is a medium-severity Missing Authorization vulnerability in the WP Affiliate Disclosure WordPress plugin, affecting versions <= 1.2.6. It carries a CVSS score of 4.3 (reachable over the network; low attack complexity). Exploitation requires no authentication. The issue is fixed in version 1.2.7; sites on affected versions should update now. Disclosed November 2023, reported by Abdi Pranata.
Vulnerability Overview
The WP Affiliate Disclosure plugin for WordPress is vulnerable to Cross-Site Request Forgery in all versions up to, and including, 1.2.6. This is due to incorrect nonce validation logic on the check_capability function. This makes it possible for unauthenticated attackers to update plugin options via a forged request granted they can trick a site administrator into performing an action such as clicking on a link.
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 privileges on the target site.
CWE-862: Missing Authorization
Reaching this weakness in WP Affiliate Disclosure <= 1.2.6 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. For WP Affiliate Disclosure the fix is 1.2.7: builds <= 1.2.6 are affected, anything from 1.2.7 onward is not.
Remediation
Update to version 1.2.7, 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: WP Affiliate Disclosure 1.2.7 closes this, and updating the plugin is the step that ends it.
- Login Security
- Alerts
External References
Related records
Same weakness class
Other vulnerabilities in WP Affiliate Disclosure
Vulnerability data © Defiant, Inc., provided under the Wordfence Intelligence T&C