Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Primary rating from NVD · only source for this CVE.
CVSS VectorNVD
Lifecycle Timeline
6DescriptionCVE.org
A vulnerability classified as critical has been found in SourceCodester Best Salon Management System 1.0. Affected is an unknown function of the component Login. The manipulation of the argument Username leads to sql injection. It is possible to launch the attack remotely. The exploit has been disclosed to the public and may be used.
AnalysisAI
CVE-2025-6580 is a critical SQL injection vulnerability in SourceCodester Best Salon Management System 1.0 affecting the Login component's Username parameter. An unauthenticated remote attacker can exploit this vulnerability to execute arbitrary SQL queries, potentially leading to unauthorized data access, modification, or deletion. The vulnerability has been publicly disclosed with proof-of-concept code available, increasing exploitation risk.
Technical ContextAI
This is a classic SQL injection vulnerability (CWE-74: Improper Neutralization of Special Elements used in an SQL Command) in the authentication/login mechanism. The vulnerability exists in the Username input parameter of the Login component, which fails to properly sanitize or parameterize user input before incorporating it into SQL queries. SourceCodester Best Salon Management System 1.0 appears to be a PHP-based web application for salon business management. The root cause is insufficient input validation and the likely absence of prepared statements or parameterized queries in the authentication logic. Attackers can inject malicious SQL syntax (e.g., ' OR '1'='1) to bypass authentication, extract sensitive data from the database, or modify records. CWE-74 specifically covers improper neutralization of special elements in SQL commands, which is the direct cause here.
RemediationAI
Immediate actions: (1) Upgrade SourceCodester Best Salon Management System to the latest patched version if available; contact vendor SourceCodester for security updates; (2) If patching is unavailable, implement input validation/WAF rules to block SQL injection attempts in the Login Username parameter (block single quotes, SQL keywords, comment sequences); (3) Implement prepared statements and parameterized queries in all database interactions, particularly authentication code; (4) Apply principle of least privilege to database user accounts; (5) Enable SQL query logging and monitoring; (6) Disable or restrict direct database access from the web application. Temporary mitigation: Deploy Web Application Firewall (WAF) rules to sanitize SQL injection payloads until patching is possible. Code-level fix: Replace string concatenation in SQL queries with prepared statements (parameterized queries) using the application's database library.
More in Best Salon Management System
View allSQL injection in SourceCodester Best Salon Management System 1.0 exposes unauthenticated remote attackers to database ma
SQL injection in Best Salon Management System 1.0 allows remote attackers to manipulate the serv_id parameter in /bookin
SQL injection in SourceCodester Best Salon Management System 1.0 allows unauthenticated remote attackers to manipulate t
SQL injection in SourceCodester Best Salon Management System 1.0 allows remote attackers to compromise the application d
SQL injection in SourceCodester Best Salon Management System 1.0 allows remote attackers with low privileges to manipula
SQL injection in Best Salon Management System 1.0 allows remote authenticated attackers to manipulate database queries v
Limited SQL injection in SourceCodester Best Salon Management System 1.0 allows authenticated remote attackers to manipu
SQL injection in Best Salon Management System 1.0 via the user_id/plan_id parameters of /panel/add_subscribe.php allows
SQL injection in Best Salon Management System 1.0 via the /panel/pro_s
SQL injection in SourceCodester Best Salon Management System 1.0 allows authenticated low-privilege users to execute arb
SQL injection in Best Salon Management System 1.0 allows authenticated remote attackers to inject malicious SQL via the
SQL injection in Best Salon Management System 1.0 allows authenticated remote attackers with low privileges to execute a
Share
External POC / Exploit Code
Leaving vuln.today
EUVD-2025-19075