phpinfo() WP <= 4.0 - Cross-Site Request Forgery

2023-02-24 00:00
Kévin Mosbahi (Mika)

Vulnerability Overview

The phpinfo() WP plugin for WordPress is vulnerable to Cross-Site Request Forgery in versions up to, and including, 4.0. This is due to missing nonce validation on the new_request() function. This makes it possible for unauthenticated attackers to trigger an .htaccess backup along with restoring and editing an .htaccess file, granted they can trick a site administrator into performing an action such as clicking on a link.

Technical Analysis

REMEDIATION: Update to version 5.0, 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