
Technical advisory and analysis of CVE-2025-14598, a critical unauthenticated SQL injection in BET e-Portal enabling database manipulation and potential remote code execution, with mitigation guidance.
A SQL Injection vulnerability was identified in the login functionality of BET e-Portal, a software solution widely deployed across educational institutions for student information and examination result management. The vulnerability allowed unauthenticated attackers to interfere with backend SQL queries, potentially escalating the issue to remote code execution in certain configurations. The issue was reported and coordinated through CERT/CC, resulting in the assignment of CVE-2025-14598.
This write-up provides a technical overview of the vulnerability, its impact, how it manifested across deployments, and general remediation guidance.
Product: BET e-Portal
Vendor: BeeS Software Solutions Pvt Ltd
Deployment Context:
BET e-Portal is commonly used by colleges and universities to handle student login, examination results, internal marks, and related academic workflows. It is deployed independently across 100+ institutions, each maintaining its own instance.
The vulnerability is classified as in the login functionality. Due to insufficient input validation, user-supplied login data was incorporated into SQL queries without proper sanitization. This allowed an unauthenticated attacker to manipulate database queries and, depending on server configuration, potentially achieve remote code execution.
The severity varies by deployment, but in some real-world instances, the impact reached full system compromise.
The vulnerability originates in the application's login form. The username and password fields were passed to the database backend in dynamically constructed SQL statements.
If user input is not strictly validated or parameterized, attackers can craft input that alters the intended SQL logic.
The backend appears to process login attempts using SQL queries similar in structure to:
SELECT * FROM users WHERE username = '<input>' AND password = '<input>';
This pattern is vulnerable if <input> is not properly escaped or parameterized.
Attackers can inject SQL fragments to modify query behavior.
The general exploitation flow:
No special privileges are required. The attack is fully remote and unauthenticated.
Some affected deployments had certain SQL Server features enabled, such as:
xp_cmdshellThese features significantly amplify the impact of SQL Injection:
Although configuration varies by institution, such misconfigurations can turn SQL injection into a remote code execution scenario.
During coordinated disclosure, an initial update was deployed that addressed certain input paths but did not fully resolve the vulnerability. Upon retesting, SQL injection remained possible through alternative code paths.
Following further coordination through CERT/CC, additional corrective steps were implemented and verified. The final patch successfully remediated the issue across reviewed deployments.
Vulnerability Type: SQL Injection
CVSS Score: 9.8 (Critical)
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Potential Impact:
The vulnerability is considered critical in deployments where database configuration allows system-level interactions.
Avoid dynamically concatenating SQL strings with user input. Instead, use parameter binding mechanisms provided by frameworks or database libraries.
Sanitize or whitelist input fields, especially those used in authentication flows.
Ensure database accounts used by web applications have minimal permissions.
Features such as xp_cmdshell should be disabled unless absolutely required.
Monitor authentication flows and SQL error logs for unusual behavior.
Routine penetration testing and code review can identify these issues early in the development lifecycle.
Discovered by:
Mohammed Afnaan Ahmed
https://www.afnaan.me
CVE ID:
CVE-2025-14598
Coordinated Disclosure:
CERT Coordination Center (CERT/CC)