CVE-2025-7517
BaseFortify
Publication date: 2025-07-13
Last updated on: 2026-04-29
Assigner: VulDB
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| anisha | online_appointment_booking_system | 1.0 |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-89 | The product constructs all or part of an SQL command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended SQL command when it is sent to a downstream component. Without sufficient removal or quoting of SQL syntax in user-controllable inputs, the generated SQL query can cause those inputs to be interpreted as SQL instead of ordinary user data. |
| CWE-74 | The product constructs all or part of a command, data structure, or record using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify how it is parsed or interpreted when it is sent to a downstream component. |
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?
CVE-2025-7517 is a critical SQL injection vulnerability in the Online Appointment Booking System version 1.0, specifically in the /getDay.php file. It occurs because the 'cidval' parameter is not properly validated or sanitized before being used in SQL queries. This allows attackers to inject malicious SQL code remotely without authentication, potentially enabling unauthorized access to the database, data leakage, modification, deletion, or even full system compromise. [1, 2, 3]
How can this vulnerability impact me? :
Exploitation of this vulnerability can lead to unauthorized retrieval, modification, or deletion of sensitive data stored in the database, compromising confidentiality, integrity, and availability of the system. Attackers can remotely execute arbitrary SQL commands without authentication, potentially causing data breaches, service disruption, or full system compromise. [1, 2, 3]
How can this vulnerability be detected on my network or system? Can you suggest some commands?
This vulnerability can be detected by testing the /getDay.php endpoint for SQL injection via the 'cidval' parameter. You can use tools like sqlmap to automate detection. Example sqlmap command: sqlmap -u "http://target/getDay.php" --data="date=0002-11-01&cidval=1&didval=1" -p cidval --batch. Additionally, manual testing can be done using payloads such as boolean-based, error-based, or time-based SQL injection strings in the 'cidval' parameter to observe responses or delays. Searching for URLs containing "inurl:getDay.php" via Google dorking can help identify vulnerable targets on your network. [2, 3]
What immediate steps should I take to mitigate this vulnerability?
Immediate mitigation steps include: 1) Implement prepared statements with parameter binding to prevent SQL injection. 2) Enforce strict input validation and filtering on the 'cidval' parameter to ensure it conforms to expected formats. 3) Minimize database user privileges by avoiding use of high-privilege accounts for the application database connection. 4) Replace the affected software with an alternative product if possible. 5) Conduct regular security audits to detect and address vulnerabilities promptly. [1, 2, 3]