CVE-2025-9651
Unknown Unknown - Not Provided
BaseFortify

Publication date: 2025-08-29

Last updated on: 2026-04-29

Assigner: VulDB

Description
A vulnerability was found in shafhasan chatbox up to 156a39cde62f78532c3265a70eda12c70907e56f. This impacts an unknown function of the file /chat.php. The manipulation of the argument user_id results in sql injection. The attack may be performed from a remote location. The exploit has been made public and could be used. This product utilizes a rolling release system for continuous delivery, and as such, version information for affected or updated releases is not disclosed.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2025-08-29
Last Modified
2026-04-29
Generated
2026-05-07
AI Q&A
2025-08-29
EPSS Evaluated
2026-05-05
NVD
EUVD
Affected Vendors & Products
Showing 1 associated CPE
Vendor Product Version / Range
shafhasan chatbox 1.0
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
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-9651 is a SQL Injection vulnerability in the Chatbox 1.0 application, specifically in the chat.php script's user_id parameter. The application fails to properly sanitize or parameterize this input, allowing attackers to inject malicious SQL commands. This can be exploited remotely to manipulate the database, access sensitive data, and potentially gain unauthorized access to administrative functions. [1, 2, 3]


How can this vulnerability impact me? :

This vulnerability can lead to unauthorized access to sensitive user and administrative data, data breaches, data manipulation (insertion, deletion, modification), authentication bypass, privilege escalation, denial of service, remote code execution in some cases, data exfiltration for identity theft or fraud, reputational damage, financial losses, operational disruptions, and increased security costs. [1]


How can this vulnerability be detected on my network or system? Can you suggest some commands?

This vulnerability can be detected by testing the 'user_id' parameter in the chat.php script for SQL injection using tools like sqlmap. Example commands include: 1. Detect vulnerability: python2 sqlmap.py -u http://[target]/chat/chat.php?user_id=1268013315 --cookie PHPSESSID=[valid_session_cookie] 2. Enumerate databases: python2 sqlmap.py -u http://[target]/chat/chat.php?user_id=1268013315 --cookie PHPSESSID=[valid_session_cookie] --dbs 3. Dump database contents: python2 sqlmap.py -u http://[target]/chat/chat.php?user_id=1268013315 --cookie PHPSESSID=[valid_session_cookie] --dump Additionally, vulnerable targets can be identified using Google dorking with queries like: inurl:chat.php [1, 2, 3]


What immediate steps should I take to mitigate this vulnerability?

Immediate mitigation steps include: - Implement parameterized queries and prepared statements to prevent SQL injection. - Rigorously validate and sanitize all user inputs, especially the 'user_id' parameter. - Apply the principle of least privilege to database user accounts to limit potential damage. - Deploy a Web Application Firewall (WAF) to detect and block SQL injection attempts. - Conduct regular security audits and code reviews to identify and fix vulnerabilities. - Provide security awareness training for developers and staff. If possible, consider replacing the affected software with a secure alternative. [1, 3]


Ask Our AI Assistant
Need more information? Ask your question to get an AI reply (Powered by our expertise)
0/70
EPSS Chart