CVE-2023-6187: Paid Memberships Pro <= 2.12.3 - Authenticated (Subscriber+) Arbitrary File Upload
The Paid Memberships Pro plugin for WordPress is vulnerable to arbitrary file uploads due to insufficient file type validation in the 'pmpropaypalexpresssessionvarsforuserfields' function in versions up to, and including, 2.12.3. This makes it possible for authenticated attackers with subscriber privileges or above, to upload arbitrary files on the affected site's server which may make remote code execution possible. This can be exploited if 2Checkout (deprecated since version 2.6) or PayPal Express is set as the payment method and a custom user field is added that is only visible at profile, and not visible at checkout according to its settings.
Affected Software
Remediation
Event History
Frequently Asked Questions
What is CVE-2023-6187?
CVE-2023-6187 is a vulnerability in the Paid Memberships Pro plugin for WordPress that allows authenticated attackers to upload arbitrary files due to insufficient file type validation.
How does CVE-2023-6187 affect the Paid Memberships Pro plugin?
CVE-2023-6187 affects versions up to and including 2.12.3 of the Paid Memberships Pro plugin for WordPress.
What is the severity of CVE-2023-6187?
CVE-2023-6187 has a severity rating of 8.8 (high).
How can authenticated attackers exploit CVE-2023-6187?
Authenticated attackers with subscriber privileges can exploit CVE-2023-6187 by uploading arbitrary files to the 'pmpro_paypalexpress_session_vars_for_user_fields' function.
Is there a fix available for CVE-2023-6187?
Yes, a fix for CVE-2023-6187 is available in Paid Memberships Pro plugin version 2.12.4.