Skip to content

Latest commit

 

History

History
30 lines (21 loc) · 1.03 KB

File metadata and controls

30 lines (21 loc) · 1.03 KB
stage Secure
group Dynamic Analysis
info To determine the technical writer assigned to the Stage/Group associated with this page, see https://handbook.gitlab.com/handbook/product/ux/technical-writing/#assignments

Improper neutralization of special elements in data query logic

Description

The application generates a query intended to interact with MongoDB, but it does not neutralize or incorrectly neutralizes special elements that can modify the intended logic of the query.

Remediation

Refactor find or search queries to use standard filtering operators such as $gt or $in instead of broad operators such as $where. If possible, disable the MongoDB JavaScript interface entirely.

Details

ID Aggregated CWE Type Risk
943.1 false 943 Active high

Links