CVE-2026-3745
SQL Injection in Student Web Portal profile.php Allows Remote Exploit
Publication date: 2026-03-08
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 |
|---|---|---|
| carmelo | student_web_portal | 1.0 |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| 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. |
| 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. |
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?
[{'type': 'paragraph', 'content': "CVE-2026-3745 is a critical SQL injection vulnerability found in version 1.0 of the code-projects Student Web Portal, specifically in the file profile.php. The vulnerability occurs because the 'user' parameter is not properly sanitized or validated before being used in SQL queries. This allows an attacker to inject malicious SQL code remotely without authentication."}, {'type': 'paragraph', 'content': "Exploitation techniques include Boolean-based blind SQL injection, time-based blind SQL injection using MySQL's SLEEP function, and UNION-based SQL injection. Attackers can manipulate the 'user' argument to execute unauthorized SQL commands, potentially gaining unauthorized access to the database."}] [2, 3, 4]
How can this vulnerability impact me? :
This vulnerability can have serious impacts including unauthorized access to sensitive data, data modification, deletion, and exposure of confidential information. Attackers can tamper with the database, potentially gaining full system control or causing service disruption.
Since the vulnerability can be exploited remotely without authentication, it poses a significant risk to system security and data integrity. Exploitation could lead to loss of confidentiality, integrity, and availability of the affected system.
How does this vulnerability affect compliance with common standards and regulations (like GDPR, HIPAA)?:
I don't know
How can this vulnerability be detected on my network or system? Can you suggest some commands?
[{'type': 'paragraph', 'content': "This vulnerability can be detected by testing the 'user' parameter in the profile.php file for SQL injection flaws. One common approach is to use automated tools like sqlmap to confirm the presence of the vulnerability and enumerate the database."}, {'type': 'paragraph', 'content': 'Example commands using sqlmap to test the vulnerability include:'}, {'type': 'list_item', 'content': 'sqlmap -u "http://target/profile.php?user=1" --batch --dbs'}, {'type': 'list_item', 'content': 'sqlmap -u "http://target/profile.php?user=1" --batch --dump'}, {'type': 'paragraph', 'content': "Additionally, manual testing can be performed by injecting SQL payloads into the 'user' parameter, such as boolean-based blind SQL injection payloads (e.g., user=1 AND 2013=2013) or time-based payloads (e.g., user=1 AND (SELECT SLEEP(5)))."}, {'type': 'paragraph', 'content': 'Attackers or testers can also identify potentially vulnerable targets by using Google dorking with queries like "inurl:profile.php" to find instances of the affected application.'}] [3, 4]
What immediate steps should I take to mitigate this vulnerability?
[{'type': 'paragraph', 'content': 'Immediate mitigation steps include:'}, {'type': 'list_item', 'content': 'Implement prepared statements with parameter binding to separate SQL code from user input, preventing injection.'}, {'type': 'list_item', 'content': "Apply strict input validation and filtering on the 'user' parameter to ensure it conforms to expected formats."}, {'type': 'list_item', 'content': "Limit database user permissions to the minimum necessary, avoiding use of high-privilege accounts such as 'root' or 'admin' for routine operations."}, {'type': 'list_item', 'content': 'Consider replacing the affected software with an alternative product if immediate patching is not feasible.'}, {'type': 'paragraph', 'content': 'Taking these corrective actions is critical to protect system security and maintain data integrity.'}] [2, 3, 4]