VYPR
Moderate severityNVD Advisory· Published Mar 10, 2022· Updated Aug 3, 2024

CVE-2022-25506

CVE-2022-25506

Description

FreeTAKServer-UI v1.9.8 was discovered to contain a SQL injection vulnerability via the API endpoint /AuthenticateUser.

AI Insight

LLM-synthesized narrative grounded in this CVE's description and references.

Affected packages

Versions sourced from the GitHub Security Advisory.

PackageAffected versionsPatched versions
FreeTAKServer-UIPyPI
<= 1.9.8

Affected products

2

Patches

Vulnerability mechanics

Root cause

"Missing input sanitization on the username parameter in the /AuthenticateUser endpoint allows SQL injection into the SQLite3 authentication database."

Attack vector

An attacker must first obtain a valid API key, which can be leaked through an XSS vulnerability on an End User Device or obtained as part of a UAV Operator's broadcast capabilities [ref_id=1]. With a valid Bearer token, the attacker sends a crafted HTTP GET request to `/AuthenticateUser` with a malicious `username` parameter containing a SQL injection payload (e.g., a UNION SELECT statement). The injected query extracts the `name` and `password` columns from the `SystemUser` table, returning all usernames and their cleartext passwords in the HTTP response [CWE-89][ref_id=1].

Affected code

The vulnerability exists in the API endpoint `/AuthenticateUser` of FreeTAKServer-UI v1.9.8. The endpoint constructs SQL queries against an SQLite3 database without neutralizing user-supplied input from the `username` parameter, allowing an attacker to inject arbitrary SQL commands [ref_id=1].

What the fix does

The advisory does not include a patch or remediation guidance beyond the disclosure of the vulnerability [ref_id=1]. No fix commit or updated version is referenced in the available bundle. To close the vulnerability, the application should parameterize SQL queries or properly escape/sanitize the `username` input before it is used in database operations, preventing injected SQL from being interpreted as commands [CWE-89].

Preconditions

  • authAttacker must possess a valid API key (Bearer token) for the FreeTAKServer-UI instance
  • networkThe /AuthenticateUser endpoint must be reachable over the network
  • inputThe username parameter is accepted without sanitization

Reproduction

1. Obtain a valid API key for the target FreeTAKServer-UI instance (e.g., via XSS or UAV Operator broadcast). 2. Send a crafted GET request to `http://

Generated on May 27, 2026. Inputs: CWE entries + fix-commit diffs from this CVE's patches. Citations validated against bundle.

References

3

News mentions

0

No linked articles in our index yet.