Paid Memberships Pro <= 2.12.3 - Authenticated (Subscriber+) Arbitrary File Upload

7.5
Unrestricted Upload of File with Dangerous Type
CVE CVE-2023-6187
CVSS 7.5 (High)
Publicly Published November 16, 2023
Last Updated November 30, 2023
Researcher István Márton - Wordfence

Description

The Paid Memberships Pro plugin for WordPress is vulnerable to arbitrary file uploads due to insufficient file type validation in the 'pmpro_paypalexpress_session_vars_for_user_fields' 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.

References

Share

Vulnerability Details for Paid Memberships Pro – Content Restriction, User Registration, & Paid Subscriptions

Software Type Plugin
Software Slug paid-memberships-pro (view on wordpress.org)
Patched? Yes
Remediation Update to version 2.12.4, or a newer patched version
Affected Version
  • <= 2.12.3
Patched Version
  • 2.12.4

Did you know Wordfence Intelligence provides free personal and commercial API access to our comprehensive WordPress vulnerability database, along with a free webhook integration to stay on top of the latest vulnerabilities added and updated in the database? Get started today!

Learn more

Want to get notified of the latest vulnerabilities that may affect your WordPress site?
Install Wordfence on your site today to get notified immediately if your site is affected by a vulnerability that has been added to our database.

Get Wordfence

The Wordfence Intelligence WordPress vulnerability database is completely free to access and query via API. Please review the documentation on how to access and consume the vulnerability data via API.

Documentation