Require authorization to run $documents and other aggregation stages

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Done
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Aggregation Framework
    • None
    • Query Optimization
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      As part of the effort to reduce the pre-auth surface area of the MongoDB Server, we should change auth::getPrivilegesForAggregate() to require AuthorizationSession::isAuthenticated() == true when auth is enabled. This will help ensure future memory errors and other vulnerabilities in aggregation stages and expressions cannot be as readily exploited.

            Assignee:
            Unassigned
            Reporter:
            Max Hirschhorn
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: