Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2018-20802— Post-auth queries on compound index may crash mongod

Quick assessment

Affected
MongoDB Inc. MongoDB Server
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Mongodb Server是美国Mongodb公司的一套开源的NoSQL数据库。该数据库提供面向集合的存储、动态查询、数据复制及自动故障转移等功能。 MongoDB Server 存在安全漏洞,该漏洞源于被授权执行数据库查询的用户可能会发出特殊的、带有影响QueryPlanner的复合索引的查询,从而触发服务拒绝。以下产品及版本受到影响:MongoDB Server v3.6版本至3.6.9版本, v4.0版本至4.0.3版本.

CVSS 6.5 · Medium EPSS 1.48% · P73

Possible ATT&CK Techniques 1 AI

T1499 · Endpoint Denial of Service
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2018-20802

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Post-auth queries on compound index may crash mongod
Source: CVE Program / CVE List V5
Vulnerability Description
A user authorized to perform database queries may trigger denial of service by issuing specially crafted queries with compound indexes affecting QueryPlanner. This issue affects MongoDB Server v3.6 versions prior to 3.6.9 and MongoDB Server v4.0 versions prior to 4.0.3.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Source: CVE Program / CVE List V5
Vulnerability Type
未预期的状态编码或返回值
Source: CVE Program / CVE List V5
Vulnerability Title
Mongodb Server 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Mongodb Server是美国Mongodb公司的一套开源的NoSQL数据库。该数据库提供面向集合的存储、动态查询、数据复制及自动故障转移等功能。 MongoDB Server 存在安全漏洞,该漏洞源于被授权执行数据库查询的用户可能会发出特殊的、带有影响QueryPlanner的复合索引的查询,从而触发服务拒绝。以下产品及版本受到影响:MongoDB Server v3.6版本至3.6.9版本, v4.0版本至4.0.3版本.
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
MongoDB Inc. MongoDB Server 3.6 ~ 3.6.9 -

II. Public POCs for CVE-2018-20802

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2018-20802

请登录查看更多情报信息。

Other References for CVE-2018-20802 (1)

Same Patch Batch · MongoDB Inc. · 2020-11-23 · 12 CVEs total

CVE-2020-7927 8.1 HIGH Potential privilege escalation in Ops Manager API
CVE-2020-7925 7.5 HIGH Denial of Service when processing malformed Role names
CVE-2018-20803 6.5 MEDIUM Infinite loop in aggregation expression
CVE-2018-20804 6.5 MEDIUM Invariant failure in applyOps
CVE-2018-20805 6.5 MEDIUM Invariant with $elemMatch
CVE-2019-20923 6.5 MEDIUM Crash while handling internal Javascript exception types
CVE-2019-20924 6.5 MEDIUM Invariant in IndexBoundsBuilder
CVE-2019-2392 6.5 MEDIUM $mod can result in undefined behavior
CVE-2019-2393 6.5 MEDIUM Crash while joining collections with $lookup
CVE-2020-7926 6.5 MEDIUM Specific query can cause a DoS against MongoDB Server
CVE-2020-7928 6.5 MEDIUM Improper neutralization of null byte leads to read overrun

IV. Related Vulnerabilities

V. Comments for CVE-2018-20802

No comments yet


Leave a comment