FreeSMS Authentication Bypass Vulnerability via Boolean-Based Blind SQL Injection

Vulnerability

A boolean-based blind SQL injection vulnerability has been identified in FreeSMS version 2.1.2. This vulnerability resides in the password parameter of the login endpoint, allowing unauthenticated attackers to bypass authentication. Exploitation involves injecting SQL code that manipulates the application's database queries. Once authenticated, attackers can change the password of any user through the profile update function.

Impact

Exploitation of this vulnerability allows for authentication bypass, enabling attackers to log in as any known user and change their password.

Reproduction

To reproduce this vulnerability, send a POST request to '/pages/crc_handler.php?method=login' with a known username and a crafted SQL injection payload in the password parameter. The payload should be designed to exploit the application's SQL query handling, such as by using a boolean-based injection that manipulates the SQL query logic. If the injection is successful, the response will indicate that authentication has been bypassed. After bypassing authentication, the same session can be used to send a request to update the user's password via the profile update function.

Added: Mar 4, 2026, 7:00 PM
Updated: Mar 4, 2026, 7:00 PM

Vulnerability Rating

Custom Algorithm
spread
0.0
impact
1.3
exploitability
8.3
remediation
0.0
relevance
3.5
threat
6.4
urgency
2.9
incentive
4.2

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.