PT-2020-9141 · Taffydb · Taffydb

Feng Xiao

+1

·

Published

2020-02-17

·

Updated

2023-03-17

·

CVE-2019-10790

CVSS v3.1

7.5

High

VectorAV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Name of the Vulnerable Software and Affected Versions taffydb versions up to and including 2.7.3
Description The issue allows attackers to forge adding additional properties into user-input processed by taffy, which can allow access to any data items in the DB. Taffy sets an internal index for each data item in its DB. However, it is found that the internal index can be forged by adding additional properties into user-input. If an index is found in the query, taffyDB will ignore other query conditions and directly return the indexed data item. Moreover, the internal index is in an easily-guessable format, such as T000002R000001. As such, attackers can use this vulnerability to access any data items in the DB.
Recommendations For versions up to and including 2.7.3, consider disabling the use of internal indexes until a patch is available or an alternative solution is implemented. Restrict access to sensitive data items to minimize the risk of exploitation. Avoid using the taffydb module until a maintained successor or a fixed version is available. At the moment, there is no information about a newer version that contains a fix for this vulnerability.

Exploit

Exposure of Resource to Wrong Sphere

RCE

Weakness Enumeration

Related Identifiers

CVE-2019-10790
GHSA-MXHP-79QH-MCX6
RHSA-2026:2711
SNYK-JS-TAFFY-546521

Affected Products

Taffydb