Vulnerability Information
Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.
Vulnerability Title
SQL Injection via Sort Parameter in Cloud Native Coverity (CNC)
Vulnerability Description
Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') in Black Duck Cloud Native Coverity (CNC) allows an authenticated user to read arbitrary data from the application database via the user and group listing sort parameter (the SOAP sortField element on the configuration web service, and the REST sortColumn parameter on /api/v2/users and /api/v2/groups), which is evaluated as a JPQL expression.
CNC uses a managed PostgreSQL database in which the application role is not a superuser and cannot access the host filesystem, so the impact is limited to disclosure of database contents (including credential hashes); remote code execution is not reachable.
The read capability is complete (any database content is reachable), but data is returned through a rate-limited, chunked error-oracle (an integer-cast error that reflects roughly one value per request), so bulk extraction is slow and generates a high volume of database errors that make it readily detectable; targeted reads of a specific value are inexpensive.
In the default configuration the affected operations require an administrative role (Manage users and groups); enabling the legacy SOAP web services (the unsupported.ws.oldversions.enable setting) exposes the same injection to any authenticated user.
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Vulnerability Type
SQL命令中使用的特殊元素转义处理不恰当(SQL注入)