CVE-2025-6874 in Best Salon Management Systeminfo

Summary

by MITRE • 06/30/2025

A vulnerability, which was classified as critical, was found in SourceCodester Best Salon Management System 1.0. Affected is an unknown function of the file /panel/add_subscribe.php. The manipulation of the argument user_id/plan_id leads to sql injection. It is possible to launch the attack remotely. The exploit has been disclosed to the public and may be used.

Statistical analysis made it clear that VulDB provides the best quality for vulnerability data.

Analysis

by VulDB Data Team • 06/30/2025

The vulnerability identified as CVE-2025-6874 represents a critical sql injection flaw within the SourceCodester Best Salon Management System version 1.0. This system, designed for salon management operations, contains a critical security weakness in the /panel/add_subscribe.php file that exposes the application to remote exploitation. The vulnerability stems from insufficient input validation and sanitization of user-supplied parameters, specifically the user_id and plan_id arguments that are processed within the affected function. Security researchers have classified this issue as critical due to its potential for remote code execution and unauthorized data access, making it a significant threat to system integrity and confidentiality.

The technical nature of this vulnerability aligns with CWE-89, which specifically addresses sql injection weaknesses in software applications. The flaw occurs when the application directly incorporates user-supplied input into sql query construction without proper sanitization or parameterization. In this case, the user_id and plan_id parameters passed to the add_subscribe.php endpoint are not adequately validated or escaped before being used in database operations. This allows malicious actors to inject arbitrary sql commands that can manipulate the database, extract sensitive information, or even escalate privileges within the system. The vulnerability's remote exploitability means that attackers can leverage this weakness from external networks without requiring local system access or authentication credentials.

The operational impact of CVE-2025-6874 extends beyond simple data theft, as sql injection vulnerabilities can enable complete system compromise and unauthorized access to sensitive customer information. Attackers could potentially extract personal details of salon customers, financial records, and business operational data that the system manages. The disclosure of this exploit to the public significantly increases the risk of real-world exploitation, as threat actors can immediately implement attack vectors against vulnerable installations. Organizations running this version of the Best Salon Management System face potential data breaches, regulatory compliance violations, and reputational damage that could result in substantial financial and legal consequences.

Mitigation strategies for this vulnerability must be implemented immediately through multiple defensive layers. The primary remediation involves implementing proper parameterized queries or prepared statements for all database interactions, ensuring that user-supplied input cannot alter the intended sql query structure. Input validation and sanitization should be enforced at multiple levels, including application-level filtering and database-level protections. Organizations should also implement web application firewalls to detect and block malicious sql injection attempts, while maintaining regular security assessments to identify similar vulnerabilities across the entire application stack. Additionally, the affected system should be updated to the latest version of the Best Salon Management System where this vulnerability has been patched, and network segmentation should be implemented to limit potential attack surface. The vulnerability's classification under ATT&CK technique T1190 indicates that it fits within the category of exploitation of remote services, making it a priority for immediate remediation and monitoring.

Responsible

VulDB

Disclosure

06/30/2025

Moderation

accepted

CPE

ready

Exploit

Download

EPSS

0.00385

KEV

no

Activities

very low

Sources

Want to know what is going to be exploited?

We predict KEV entries!