CVE-2021-21422

Sep 3, 2024

Published Date: 2021-06-21T19:15Z
Last Modified: 2021-06-29T14:02Z

CVSS Score: 6.1 (MEDIUM)

EPSS Score: 0.08%

Risk Score: 4.27 (MEDIUM)

Risk Score based on CVSS score and EPSS. This score is for reference purposes and is not internationally recognized.

Meter Needle
CVSS: 6.1  |  EPSS: 0.08%

Description: mongo-express is a web-based MongoDB admin interface, written with Node.js and express. 1: As mentioned in this issue: https://github.com/mongo-express/mongo-express/issues/577, when the content of a cell grows larger than supported size, clicking on a row will show full document unescaped, however this needs admin interaction on cell. 2: Data cells identified as media will be rendered as media, without being sanitized. Example of different renders: image, audio, video, etc. As an example of type 1 attack, an unauthorized user who only can send a large amount of data in a field of a document may use a payload with embedded javascript. This could send an export of a collection to the attacker without even an admin knowing. Other types of attacks such as dropping a databasecollection are possible.

Mitre ATT&CK Technical v15.1

T1059.007 – JavaScript
T1053.002 – At

Technical Analysis & Mitigation Measures

Reference Links

Vendor - Produce - Version

mongo-express - mongo-express_project, mongo-express - mongo-express_project, mongo-express - mongo-express_project

Disclaimer

The content on this website is automatically sourced from external websites such as the National Vulnerability Database (NVD), GitHub, and other security-related sources. This content is for reference purposes only, and we are not responsible for the accuracy or integrity of the information linked or displayed from these sources.