CVE-2023-30557
CVSS V2 None
CVSS V3 None
Description
Archery is an open source SQL audit platform. The Archery project contains multiple SQL injection vulnerabilities, that may allow an attacker to query the connected databases. Affected versions are subject to SQL injection in the `data_dictionary.py` `table_info`. User input coming from the `db_name` in and the `tb_name` parameter values in the `sql/data_dictionary.py` `table_info` endpoint is passed to the following methods in the given SQL engine implementations, which concatenate user input unsafely into a SQL query and afterwards pass it to the `query` method of each database engine for execution.The methods are `get_table_meta_data ` in `sql/engines/mssql.py` which passes unsafe user input to the `sql/engines/mssql.py` `query` method, `get_table_desc_data` in `sql/engines/mssql.py`which passes unsafe user input to the `sql/engines/mssql.py` `query`, `get_table_index_data` in `sql/engines/mssql.py`which passes unsafe user input to the `sql/engines/mssql.py` `query` method, `get_table_meta_data` in `sql/engines/oracle.py`which concatenates input which is passed to execution on the database in the `sql/engines/oracle.py` `query` method, `get_table_desc_data` in `sql/engines/oracle.py`which concatenates input which is passed to execution on the database in the `sql/engines/oracle.py` `query` method, and `get_table_index_data` in `sql/engines/oracle.py` which concatenates input which is passed to execution on the database in the `sql/engines/oracle.py` `query` method. Each of these issues may be mitigated by escaping user input or by using prepared statements when executing SQL queries. This issue is also indexed as `GHSL-2022-106`.
Overview
- CVE ID
- CVE-2023-30557
- Assigner
- security-advisories@github.com
- Vulnerability Status
- Analyzed
- Published Version
- 2023-04-19T00:15:09
- Last Modified Date
- 2023-05-01T17:22:55
Weakness Enumerations
CPE Configuration (Product)
CPE | Vulnerable | Operator | Version Start | Version End |
---|---|---|---|---|
cpe:2.3:a:archerydms:archery:1.9.0:*:*:*:*:*:*:* | 1 | OR |
Sources
Source Name | Source URL |
---|---|
NIST | https://nvd.nist.gov/vuln/detail/CVE-2023-30557 |
MITRE | https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-30557 |
History
Created | Old Value | New Value | Data Type | Notes |
---|---|---|---|---|
2023-04-19 01:01:13 | Added to TrackCVE | |||
2023-04-19 01:01:15 | Weakness Enumeration | new | ||
2023-04-19 13:01:07 | 2023-04-19T12:39:38 | CVE Modified Date | updated | |
2023-04-19 13:01:07 | Received | Awaiting Analysis | Vulnerability Status | updated |
2023-04-19 14:02:06 | Awaiting Analysis | Undergoing Analysis | Vulnerability Status | updated |
2023-05-01 18:01:09 | 2023-05-01T17:22:55 | CVE Modified Date | updated | |
2023-05-01 18:01:09 | Undergoing Analysis | Analyzed | Vulnerability Status | updated |
2023-05-01 18:01:15 | CPE Information | updated |