WP OAuth Server <= 4.2.3 - Cross-Site Request Forgery to Arbitrary Post Deletion (wo_ajax_remove_client)

2023-02-21 00:00
István Márton

Strategic Overview

Status
Patched in 4.2.5
Affected Version<= 4.2.3
CVSS6.5Medium
CVECVE-2022-3894
View all WP OAuth Server (OAuth Authentication) vulnerabilities

Vulnerability Overview

The WP OAuth Server plugin for WordPress is vulnerable to Cross-Site Request Forgery in versions up to, and including, 4.2.3. This is due to missing or incorrect nonce validation on the wo_ajax_remove_clientfunction. This makes it possible for unauthenticated attackers to delete arbitrary posts, via a forged request granted they can trick a site administrator into performing an action such as clicking on a link.

Technical Analysis

REMEDIATION: Update to version 4.2.5, or a newer patched version --- IDENTIFIER: CWE-352 (Cross-Site Request Forgery (CSRF)) The web application does not, or cannot, sufficiently verify whether a request was intentionally provided by the user who sent the request, which could have originated from an unauthorized actor.

External References

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