Access Control Bypass in Automattic Mongoose for Various Applications
CVE-2019-17426
9.1CRITICAL
What is CVE-2019-17426?
The Automattic Mongoose library, up to version 5.7.4, contains a significant vulnerability that allows attackers to bypass access controls in certain applications. This issue stems from the mishandling of query objects containing a '_bsontype' attribute, which can inadvertently disrupt intended query filters. By injecting a query object with '_bsontype':'a', the query can bypass security measures, exposing sensitive data. This vulnerability highlights the importance of understanding the workings of the bson parser used by Mongoose, particularly in older versions, and enforcing stricter validation measures for query objects.