Access Control Bypass in Automattic Mongoose for Various Applications
CVE-2019-17426

9.1CRITICAL

Key Information:

Vendor

Mongoosejs

Status
Vendor
CVE Published:
10 October 2019

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.

References

CVSS V3.1

Score:
9.1
Severity:
CRITICAL
Confidentiality:
High
Integrity:
High
Availability:
High
Attack Vector:
Network
Attack Complexity:
Low
Privileges Required:
None
User Interaction:
None
Scope:
Unchanged

Timeline

  • Vulnerability published

  • Vulnerability Reserved

.