CVE-2023-6187
JSON

7.5high

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

Severity
7.5high CVSS:3.1 by Wordfence
Exploit likelihood
54.3% (higher than 99% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
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.

Affected

Product or packageVersionsReported by
strangerstudios Paid Memberships Pro – Content Restriction, User Registration, & Paid Subscriptionsup to 2.12.3CVE List
strangerstudios paid_memberships_proup to 2.12.3NVD

All scores

Wordfence7.5high CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD8.8high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Classification

What each source says

CVE List

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.

NVD (es)

El complemento Paid Memberships Pro para WordPress es vulnerable a cargas de archivos arbitrarias debido a una validación de tipo de archivo insuficiente en la función 'pmpro_paypalexpress_session_vars_for_user_fields' en versiones hasta la 2.12.3 incluida. Esto hace posible que atacantes autenticados con privilegios de suscriptor o superiores carguen archivos arbitrarios en el servidor del sitio afectado, lo que puede hacer posible la ejecución remota de código. Esto se puede aprovechar si se establece 2Checkout (en desuso desde la versión 2.6) o PayPal Express como método de pago y se agrega un campo de usuario personalizado que solo es visible en el perfil y no visible al finalizar la compra según su configuración.

References

Sources

SourceRecordLicence
CVE ListCVE-2023-6187 changed 2026-04-08CVE Terms of Use
NVDCVE-2023-6187 changed 2026-06-17Public domain