CVE-2025-5881
BaseFortify
Publication date: 2025-06-09
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 |
|---|---|---|
| fabian | chat_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-5881 is a critical SQL injection vulnerability in the code-projects Chat System version 1.0, specifically in the /user/confirm_password.php file. The vulnerability arises because the cid parameter is not properly sanitized or neutralized, allowing attackers to inject malicious SQL code. This can be exploited remotely without authentication, using techniques like time-based SQL injection (e.g., using the SLEEP() function) to manipulate database queries and potentially extract sensitive information. [1, 2]
How can this vulnerability impact me? :
This vulnerability can impact you by compromising the confidentiality, integrity, and availability of your system. An attacker can remotely exploit the flaw to manipulate database queries, potentially extracting sensitive data, altering data, or causing denial of service. Since it requires no authentication and has publicly available proof-of-concept exploits, it poses a significant risk to affected systems. [2]
How can this vulnerability be detected on my network or system? Can you suggest some commands?
This vulnerability can be detected by testing the `cid` parameter in the `/user/confirm_password.php` script for SQL injection. One common method is to use time-based SQL injection techniques, such as injecting payloads that include the `SLEEP()` function to observe delays in the response time. Additionally, vulnerable targets can be identified using Google dorking with queries like `inurl:user/confirm_password.php`. Example command using curl to test for time-based SQL injection: `curl 'http://target/user/confirm_password.php?cid=1'` and then try `curl 'http://target/user/confirm_password.php?cid=1 AND SLEEP(5)'` to see if the response is delayed, indicating vulnerability. [1, 2]
What immediate steps should I take to mitigate this vulnerability?
No known countermeasures or mitigations have been published for this vulnerability. The recommended immediate step is to replace the affected software (code-projects Chat System version 1.0) with an alternative product. Until a patch or fix is available, restricting access to the vulnerable endpoint and monitoring for exploitation attempts may help reduce risk. [2]