CVE-2014-3773 in TeamPassinfo

Summary

by MITRE

Multiple SQL injection vulnerabilities in TeamPass before 2.1.20 allow remote attackers to execute arbitrary SQL commands via the login parameter in a (1) send_pw_by_email or (2) generate_new_password action in sources/main.queries.php; iDisplayStart parameter to (3) datatable.logs.php or (4) a file in source/datatable/; or iDisplayLength parameter to (5) datatable.logs.php or (6) a file in source/datatable/; or allow remote authenticated users to execute arbitrary SQL commands via a sSortDir_ parameter to (7) datatable.logs.php or (8) a file in source/datatable/.

If you want to get best quality of vulnerability data, you may have to visit VulDB.

Analysis

by VulDB Data Team • 03/26/2022

The vulnerability CVE-2014-3773 represents a critical SQL injection flaw affecting TeamPass versions prior to 2.1.20, exposing multiple attack vectors that could enable remote code execution through malicious SQL commands. This vulnerability resides within the application's handling of user input parameters in several key files including main.queries.php and various datatable implementations. The flaw specifically targets the improper sanitization of input data before incorporating it into SQL queries, creating opportunities for attackers to manipulate database operations through crafted malicious inputs.

The technical implementation of this vulnerability spans across multiple endpoints within the application's backend architecture. Attackers can exploit the vulnerability through the login parameter in send_pw_by_email and generate_new_password actions within sources/main.queries.php, where unvalidated user input directly influences SQL query construction. Additionally, the vulnerability extends to the iDisplayStart and iDisplayLength parameters in datatable.logs.php and related files within the source/datatable/ directory, as well as the sSortDir_ parameter in similar datatable implementations. These parameters are commonly used in datatables for pagination and sorting functionality but become dangerous when they receive unsanitized input that gets embedded into database queries without proper validation or escaping.

The operational impact of CVE-2014-3773 is severe, as it allows both unauthenticated and authenticated attackers to execute arbitrary SQL commands against the affected database. This capability enables attackers to extract sensitive information, modify database contents, and potentially escalate privileges within the application environment. The vulnerability affects the core authentication and logging functionalities of TeamPass, which manages password storage and access control for multiple users. Successful exploitation could result in complete database compromise, leading to unauthorized access to stored passwords, user credentials, and potentially sensitive organizational data. The vulnerability aligns with CWE-89 which categorizes SQL injection flaws as a critical security weakness in software applications.

The attack surface of this vulnerability is particularly concerning due to its presence in multiple files and parameter types, making it difficult to fully mitigate through targeted fixes. The presence of these flaws in the datatable implementations suggests a broader issue with input validation practices throughout the application codebase. Organizations using TeamPass versions before 2.1.20 face significant risk of data breaches and unauthorized access. The vulnerability is particularly dangerous in environments where TeamPass serves as a central password management solution, as it could provide attackers with access to critical authentication credentials. Mitigation efforts should include immediate patching to version 2.1.20 or later, implementing proper input validation and parameterized queries, and conducting comprehensive security assessments of the application's database interaction patterns. This vulnerability also demonstrates the importance of following secure coding practices and adhering to the principle of least privilege in database access controls, as outlined in various cybersecurity frameworks including those referenced in the ATT&CK framework for database-related adversary techniques.

Reservation

05/19/2014

Disclosure

08/07/2014

Moderation

accepted

Entry

VDB-70560

CPE

ready

EPSS

0.00432

KEV

no

Activities

very low

Sources

Do you want to use VulDB in your project?

Use the official API to access entries easily!