CVE-2025-6421 Details
Description
A vulnerability was found in code-projects Simple Online Hotel Reservation System 1.0. It has been rated as critical. This issue affects some unknown processing of the file /admin/add_account.php. The manipulation of the argument name/admin_id leads to sql injection. The attack may be initiated remotely. The exploit has been disclosed to the public and may be used.
A critical SQL injection vulnerability has been identified in Code-Projects Simple Online Hotel Reservation System version 1.0. The issue resides in the file '/admin/add_account.php', where insufficient validation of the 'name' and 'admin_id' parameters allows attackers to inject malicious SQL queries. This vulnerability can be exploited remotely, without authentication, potentially leading to unauthorized database access, data manipulation, and disruption of service.
It is recommended to use prepared statements and parameter binding to prevent SQL injection vulnerabilities. Additionally, input validation and filtering should be implemented to ensure that user input conforms to expected formats. Minimizing database user permissions and conducting regular security audits can also help enhance the application's security.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Jun 23, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/zzb1388/cve/issues/7 | CISA-ADP | ExploitThird Party Advisory |
| https://code-projects.org/ | [email protected] | Product |
| https://github.com/zzb1388/cve/issues/7 | [email protected] | ExploitThird Party Advisory |
| https://vuldb.com/?ctiid.313415 | [email protected] | Permissions Required |
| https://vuldb.com/?id.313415 | [email protected] | Third Party AdvisoryVDB Entry |
| https://vuldb.com/?submit.598247 | [email protected] | Third Party AdvisoryVDB Entry |
| https://vuldb.com/?submit.598584 | [email protected] | Not Applicable |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-74 | Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection') | [email protected] |
| CWE-89 | Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| fabian simple online hotel reservation system | 1.0 |
CPE
Remediation
| |
Change History
7 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Apr 29, 2026 | Data Remediation | [email protected] |
| Oct 23, 2025 | CPE Deprecation Remap | [email protected] |
| Jun 25, 2025 | Initial Analysis | [email protected] |
| Jun 23, 2025 | CVE Modified | CISA-ADP |
| Jun 21, 2025 | New CVE Received | [email protected] |