VYPR
Unrated severityNVD Advisory· Published May 25, 2022· Updated Aug 3, 2024

SQL Injection in camptocamp/terraboard

CVE-2022-1883

Description

SQL Injection in GitHub repository camptocamp/terraboard prior to 2.2.0.

AI Insight

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

CVE-2022-1883 is a SQL injection vulnerability in Terraboard prior to 2.2.0 via the /search endpoint.

Vulnerability

CVE-2022-1883 is a SQL injection vulnerability in the Terraboard application, affecting versions prior to 2.2.0. The vulnerability exists in the /search endpoint, where the SearchAttribute function in the database handler directly concatenates user-supplied query parameters (tf_version, lineage_value) into SQL LIKE clauses without proper sanitization or parameterization [1][2]. This allows an attacker to inject arbitrary SQL commands through the affected parameters.

Exploitation

An attacker can exploit this vulnerability by sending a crafted HTTP request to the /search endpoint with malicious input in the tf_version or lineage_value query parameters. No authentication is required, as the endpoint is publicly accessible. The attacker does not need any special privileges or user interaction; the vulnerability can be triggered by simply issuing a GET request with the injected payload [1][2].

Impact

Successful exploitation allows an attacker to execute arbitrary SQL statements on the backend database. This can lead to unauthorized access to sensitive data stored in the database, including Terraform state information, credentials, and other secrets. The impact includes potential information disclosure and compromise of the infrastructure managed by Terraboard [2].

Mitigation

The vulnerability is fixed in Terraboard version 2.2.0. The fix, implemented in commit 2a5dbaac015dc0714b41a59995e24f5767f89ddc, replaces string interpolation with parameterized queries using ? placeholders and appends parameters separately, preventing SQL injection [1][2]. Users should upgrade to version 2.2.0 or later immediately. No workarounds have been provided for earlier versions, and the vulnerability is not listed in CISA's Known Exploited Vulnerabilities (KEV) catalog.

AI Insight generated on May 27, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.

Affected products

2

Patches

0

No patches discovered yet.

Vulnerability mechanics

AI mechanics synthesis has not run for this CVE yet.

References

2

News mentions

0

No linked articles in our index yet.