CVE-2025-7165
Unknown Unknown - Not Provided
BaseFortify

Publication date: 2025-07-08

Last updated on: 2026-04-29

Assigner: VulDB

Description
A vulnerability was found in PHPGurukul/Campcodes Cyber Cafe Management System 1.0 and classified as critical. Affected by this issue is some unknown functionality of the file /forgot-password.php. The manipulation of the argument email leads to sql injection. The attack may be launched remotely. The exploit has been disclosed to the public and may be used.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2025-07-08
Last Modified
2026-04-29
Generated
2026-05-07
AI Q&A
2025-07-08
EPSS Evaluated
2026-05-05
NVD
EUVD
Affected Vendors & Products
Showing 1 associated CPE
Vendor Product Version / Range
phpgurukul cyber_cafe_management_system 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-7165 is a critical SQL injection vulnerability in the PHPGurukul/Campcodes Cyber Cafe Management System version 1.0, specifically in the /forgot-password.php file. The vulnerability occurs because the 'email' parameter is not properly sanitized or validated before being used in SQL queries. This allows an attacker to inject malicious SQL code remotely, manipulating the database queries to perform unauthorized actions such as accessing or modifying data. [1, 2, 3]


How can this vulnerability impact me? :

This vulnerability can have severe impacts including unauthorized database access, data leakage, data tampering, full system control, and potential service disruption. Since it can be exploited remotely without authentication, attackers can manipulate the system's data and operations, compromising confidentiality, integrity, and availability of the system. [2, 3]


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

This SQL injection vulnerability in the /forgot-password.php file can be detected by testing the 'email' parameter for SQL injection flaws. One approach is to use automated tools like sqlmap to test the endpoint, for example: sqlmap -u "http://target/forgot-password.php" --data="[email protected]" --risk=3 --level=5. Additionally, time-based blind SQL injection techniques can be used by injecting payloads that cause delays, such as appending 'email=123%40gmail.com' with SQL sleep commands to observe response delays. Attackers may also identify vulnerable targets using Google dorking with queries like 'inurl:forgot-password.php'. [2, 3]


What immediate steps should I take to mitigate this vulnerability?

Immediate mitigation steps include: 1) Implement prepared statements with parameter binding to separate SQL code from user input, preventing injection. 2) Apply strict input validation and filtering on the 'email' parameter to ensure it conforms to expected formats. 3) Limit database user permissions to the minimum necessary, avoiding use of high-privilege accounts such as 'root' or 'admin' for routine operations. Since no known countermeasures or patches are documented, replacing the affected component with an alternative product is recommended. [2, 3]


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