CVE-2026-120518 Eliminación arbitraria de archivos en BuddyPress XProfile Image Field
El plugin BuddyPress XProfile Image Field para WordPress es vulnerable a eliminación arbitraria de archivos en todas las versiones hasta la 3.1.0. bpxp_image_field_update_on_user_activation() llama a unlink() sobre una ruta construida con metadatos de registro proporcionados por el visitante, sin resolución realpath(), sin verificación de contención en el directorio de imágenes de perfil y sin lista de extensiones permitidas. Enviar un archivo de cero bytes con el parámetro 'field_N_hidden' durante el registro…
CVSS 3.1
- Probabilidad de explotación · EPSS del 09/110,8 % · percentil 56
- Explotada activamenteNo confirmada
- Exploit públicoNo conocido
Afectados
kalengi BuddyPress XProfile Custom Image Field
hasta 3.1.0
Qué hacer
- Verificá si usás BuddyPress XProfile Custom Image Field y en qué versión.
- Actualizá a la versión corregida que indique el fabricante en su aviso o aplicá su mitigación.
- Revisá registros y accesos de los sistemas expuestos para descartar un uso previo.
Calculadora CVSS
CVSS 3.1 · 9.1 CRÍTICA
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
- Vector de ataqueRed
- Complejidad del ataqueBaja
- Privilegios requeridosNinguno
- Interacción del usuarioNinguna
- AlcanceSin cambio
- ConfidencialidadNinguna
- IntegridadAlta
- DisponibilidadAlta
Descripción original
The BuddyPress XProfile Image Field plugin for WordPress is vulnerable to arbitrary file deletion in all versions up to, and including, 3.1.0. This is due to bpxp_image_field_update_on_user_activation() calling unlink() on a path built from visitor-supplied signup metadata with no realpath() resolution, no containment check against the profile-image directory and no extension allow-list. Submitting a zero-byte file with the 'field_N_hidden' parameter during registration makes the plugin store the raw value, which is then resolved against the document root when the pending signup is activated. This makes it possible for unauthenticated attackers to delete arbitrary files on the server, which can easily lead to remote code execution when the right file (such as wp-config.php) is deleted. Requires open registration and an image-type profile field on the signup form.
Referencias (7)
- www.wordfence.com/threat-intel/vulnerabilities/id/1a53bcf5-61ed-427c-9efd-29c9309d2426?so…
- plugins.trac.wordpress.org/browser/buddypress-xprofile-image-field/tags/3.1.0/bp-xprofile…
- plugins.trac.wordpress.org/browser/buddypress-xprofile-image-field/tags/3.1.0/bp-xprofile…
- plugins.trac.wordpress.org/browser/buddypress-xprofile-image-field/tags/3.1.0/bp-xprofile…
- plugins.trac.wordpress.org/browser/buddypress-xprofile-image-field/tags/3.1.0/bp-xprofile…
- plugins.trac.wordpress.org/browser/buddypress-xprofile-image-field/tags/3.1.0/bp-xprofile…
- nvd.nist.gov/vuln/detail/CVE-2025-48158
Resumen traducido automáticamente de la descripción original. Fuente: Nureq Monitor. Cómo funciona.