PT-2026-69449 · Tencent · Json Api
CVSS v3.1
9.8
Critical
| Vector | AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Name of the Vulnerable Software and Affected Versions
Tencent APIJSON versions prior to 8.1.9
Description
A SQL injection issue exists that allows unauthenticated remote attackers to bypass per-table access control and read arbitrary database tables. The flaw is located in the APIJSONORM library's
AbstractSQLConfig.java file, where the per-role allow-list check is applied only to the String form of the @having operator and not to the Map form. This allows a guest user to inject raw SQL fragments and access tables configured with get:[] (an empty list indicating no role has read permissions).Recommendations
Update Tencent APIJSON to version 8.1.9 or later.
As a temporary mitigation, restrict the use of the
@having operator in Map form.Exploit
Fix
SQL injection
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Json Api