Skip to main content

PHP CVE-2025-6449

| EUVD-2025-18830 MEDIUM
Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection') (CWE-74)
2025-06-22 cna@vuldb.com
5.5
CVSS 4.0 · NVD
Share

Severity by source

NVD PRIMARY
5.5 MEDIUM
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

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
Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
X

Lifecycle Timeline

6
Severity Changed
Apr 29, 2026 - 01:11 NVD
HIGH MEDIUM
CVSS changed
Apr 29, 2026 - 01:11 NVD
7.3 (HIGH) 5.5 (MEDIUM)
EUVD ID Assigned
Mar 15, 2026 - 21:55 euvd
EUVD-2025-18830
Analysis Generated
Mar 15, 2026 - 21:55 vuln.today
PoC Detected
Oct 23, 2025 - 20:06 vuln.today
Public exploit code
CVE Published
Jun 22, 2025 - 01:15 nvd
HIGH 7.3

DescriptionCVE.org

A vulnerability was found in code-projects Simple Online Hotel Reservation System 1.0 and classified as critical. Affected by this issue is some unknown functionality of the file /admin/checkout_query.php. The manipulation of the argument transaction_id leads to sql injection. The attack may be launched remotely. The exploit has been disclosed to the public and may be used.

AnalysisAI

CVE-2025-6449 is a critical SQL injection vulnerability in Simple Online Hotel Reservation System v1.0 affecting the /admin/checkout_query.php endpoint. An unauthenticated remote attacker can manipulate the 'transaction_id' parameter to execute arbitrary SQL queries, potentially leading to unauthorized data access, modification, or system disruption. The vulnerability has been publicly disclosed with exploits available, and the CVSS 7.3 score reflects high impact across confidentiality, integrity, and availability despite moderate attack complexity.

Technical ContextAI

The vulnerability is classified as CWE-74 (Improper Neutralization of Special Elements in Output Used by a Downstream Component / 'Injection'), specifically SQL injection. The affected component is /admin/checkout_query.php in the Simple Online Hotel Reservation System v1.0 (CPE: cpe:2.3:a:code-projects:simple_online_hotel_reservation_system:1.0:*:*:*:*:*:*:*). The root cause is insufficient input validation/sanitization on the 'transaction_id' parameter before it is incorporated into SQL queries. The attacker can insert malicious SQL syntax directly into database queries without proper parameterized prepared statements or escaping mechanisms, allowing them to bypass authentication, extract sensitive data, modify records, or perform denial-of-service attacks through resource-intensive queries.

RemediationAI

Immediate actions: (1) Input Validation & Parameterization: Replace all string concatenation in SQL queries with prepared statements/parameterized queries using bound parameters. Ensure transaction_id is validated as a numeric/UUID value before use. (2) WAF Rules: Deploy Web Application Firewall rules to block SQL injection patterns in the transaction_id parameter (e.g., quotes, SQL keywords, union-based payloads). (3) Principle of Least Privilege: Ensure the database user account running /admin/checkout_query.php has minimal permissions (no DROP, CREATE, or SELECT on sensitive tables). (4) Patch/Upgrade: Contact code-projects for a patched version >1.0 or evaluate alternative hotel reservation systems with active security maintenance. (5) Incident Response: Audit transaction logs and database access logs for signs of exploitation; reset credentials if compromise is suspected. (6) Network Segmentation: Restrict access to /admin/ endpoints to trusted IP ranges if possible.

Share

CVE-2025-6449 vulnerability details – vuln.today

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy