The amount of data returned by the API must be restricted.

Overview

Finding IDVersionRule IDIA ControlsSeverity
V-274709SRG-APP-000439-API-001005SV-274709r1143744_ruleCCI-002418high
Description
Restrict exposing excessively large sets of data that could be used to discover vulnerabilities or extract sensitive information. This will protect sensitive information and prevent performance bottlenecks caused by returning large, unnecessary datasets.
STIGDate
Application Programming Interface (API) Security Requirements Guide2025-09-24

Related Frameworks

3 paths across 3 frameworks
NIST 800-531 mapping
SC-8
1.00
  • DISA · V1R1 · disa_xccdf · related
  • DISA · 2025-01-23 · disa_cci_list · equivalent
NIST 800-1711 mapping
3.13.8
1.00
  • DISA · V1R1 · disa_xccdf · related
  • DISA · 2025-01-23 · disa_cci_list · equivalent
  • NIST · Rev 2 (Feb 2020, errata Jan 2021) · nist_800_171_app_d · equivalent
CCI1 mapping
CCI-002418
1.00
  • DISA · V1R1 · disa_xccdf · related

Details

Check Text (C-274709r1143744_chk)

Verify the amount of data returned by the API is restricted. Check API endpoints: Review the various API endpoints and the data they return. Look for endpoints that might expose excessively large datasets or sensitive information (e.g., entire user lists, full transaction histories). If the API exposes unusually large volumes of data in a single response (entire datasets, unrestricted record sets, or bulk exports without proper limits or pagination) this is a finding.

Fix Text (F-78715r1143743_fix)

Ensure API responses are small and contain only the data necessary for the client's request. To ensure that the amount of data returned by an API is appropriately restricted, implement and test measures like pagination, field filtering, query parameters, server-side limits, and proper access control.