CVE-2025-9771
BaseFortify
Publication date: 2025-09-01
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 |
|---|---|---|
| neville | eye_clinic_management_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-9771 is a critical SQL injection vulnerability in the SourceCodester Eye Clinic Management System version 1.0, specifically in the file /main/search_index_Diagnosis.php. The vulnerability occurs because the 'search' parameter is not properly validated or sanitized before being used in SQL queries. This allows an attacker to inject malicious SQL code remotely, potentially gaining unauthorized access to the database, modifying or deleting data, and exposing sensitive information. [1, 2]
How can this vulnerability impact me? :
Exploitation of this vulnerability can lead to unauthorized control over the system, data tampering, leakage of confidential data, and potential service disruption. Because the attack can be performed remotely without authentication, it poses a significant threat to system security and business continuity, impacting confidentiality, integrity, and availability of the system. [1, 2]
How can this vulnerability be detected on my network or system? Can you suggest some commands?
This vulnerability can be detected by checking for the presence of the vulnerable file `/main/search_index_Diagnosis.php` on the SourceCodester Eye Clinic Management System version 1.0. Additionally, you can use Google dorking with the query `inurl:main/search_index_Diagnosis.php` to identify potentially vulnerable targets. For direct testing, sending crafted HTTP requests with SQL injection payloads in the `search` parameter to the vulnerable URL may reveal the vulnerability. Example command using curl to test for SQL injection: `curl -G 'http://target/main/search_index_Diagnosis.php' --data-urlencode "search=' OR '1'='1"` and observe if the response indicates SQL injection behavior. [2]
What immediate steps should I take to mitigate this vulnerability?
There are no known countermeasures or mitigations currently available for this vulnerability. The suggested immediate step is to replace the affected product with an alternative that is not vulnerable. Additionally, restricting access to the vulnerable endpoint and monitoring for suspicious activity may help reduce risk until a secure version or patch is available. [2, 1]