PT-2021-10600 · Thinkjs · Thinkjs

Published

2021-02-01

·

Updated

2021-11-19

·

CVE-2020-21176

CVSS v3.1

9.8

Critical

VectorAV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions: ThinkJS version 3.2.10
Description: The issue allows remote attackers to execute arbitrary SQL commands via the step parameter in the model.increment and model.decrement functions. This enables attackers to potentially access or modify sensitive data.
Recommendations: For ThinkJS version 3.2.10, consider disabling the model.increment and model.decrement functions until a patch is available to prevent exploitation. Restrict access to these functions to minimize the risk of SQL injection attacks. Avoid using the step parameter in affected API endpoints 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

CVE-2020-21176
GHSA-Q5MQ-6FJG-4MW8

Affected Products

Thinkjs