CVE-2024-4442
Description
The Salon booking system plugin for WordPress is vulnerable to arbitrary file deletion in all versions up to, and including, 9.8. This is due to the plugin not properly validating the path of an uploaded file prior to deleting it. This makes it possible for unauthenticated attackers to delete arbitrary files, including the wp-config.php file, which can make site takeover and remote code execution possible. This was partially patched in 9.9, and sufficiently patched in 10.0. CVE-2024-37231 appears to be a duplicate of this issue.
Affected WordPress components
-
Salon Booking System – Appointment Booking for Salons, Barbershops & Spas Plugin · salon-booking-systemUp to and including 9.9View on WordPress.org
A confirmed match is backed by the plugin or theme slug. A possible match is based on the product name only and should be verified.
Affected products and versions
- wordpresschef Salon Booking System – Free Version — Up to and including 9.9
- salonbookingsystem salon_booking_system — Before 10.0
References
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/browser/salon-booking-system/tags/9.8/src/SLN/Action/Ajax/RemoveUploadedFile.php#L5 Product
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/changeset/3088196/salon-booking-system#file14 Patch
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/changeset/3098413/salon-booking-system/trunk/src/SLN/Action/Ajax/RemoveUploadedFile.php
- www.wordfence.com https://www.wordfence.com/threat-intel/vulnerabilities/id/eaafeadd-f44c-49b1-b900-ef40800c629e?source=cve Third Party Advisory
- nvd.nist.gov Official NVD record