Arbitrary file upload in Strangerstudios Paid Memberships Pro

CVE-2023-6187

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.

Vulnerability class: Unrestricted File Upload

EPSS: 0.515 (98.9th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H.

Affected products

Weakness classification (CWE)

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2023-6187?
CVE-2023-6187 is a high-severity vulnerability in Strangerstudios Paid Memberships Pro, classified under Unrestricted Upload of File with Dangerous Type. CVSS score: 7.5/10. Published 2023-11-18.
How severe is CVE-2023-6187?
High severity. CVSS v3 base score is 7.5 out of 10.
Is CVE-2023-6187 known to be exploited?
1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.