PT-2023-22803 · Archery · Archery
Sylwia-Budzynska
·
Published
2023-04-18
·
Updated
2023-04-29
·
CVE-2023-30605
CVSS v3.1
6.5
Medium
| Vector | AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
Name of the Vulnerable Software and Affected Versions
Archery (affected versions not specified)
Description
The Archery project contains multiple SQL injection vulnerabilities that may allow an attacker to query connected databases. User input from the
variable name and variable value parameters in the "sql/instance.py" "param edit" endpoint is passed to methods in SQL engine implementations, which concatenate user input unsafely into a SQL query and execute it on the database. The affected methods include set variable and get variables in "sql/engines/goinception.py" and "sql/engines/mysql.py". These issues can be mitigated by escaping user input or using prepared statements when executing SQL queries.Recommendations
As a temporary workaround, consider escaping user input from the
variable name and variable value parameters in the "param edit" endpoint until a patch is available.
Restrict access to the vulnerable methods set variable and get variables in "sql/engines/goinception.py" and "sql/engines/mysql.py" to minimize the risk of exploitation.
Avoid using the variable name and variable value parameters in the "param edit" endpoint until the issue is resolved.
At the moment, there is no information about a newer version that contains a fix for this vulnerability.Exploit
SQL injection
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Archery