SV-274714r1143751_rule
V-274714
SRG-APP-000447
SRG-APP-000447-API-001030
CAT II
10
Follow best practice when accepting user input and verify all input is validated before the API processes the input.
Remediate identified vulnerabilities and obtain documented risk acceptance for those issues that cannot be remediated immediately.
Review the API's source code or backend database interaction layer.
Identify all database queries constructed using user-supplied input.
Verify that parameterized queries (also known as prepared statements) are used instead of dynamically constructed SQL strings with input concatenation.
Confirm that query parameters are bound using the appropriate method for the language or database framework (e.g., ?, named parameters, or bind variables).
If any queries use string concatenation or interpolation of user input without parameterization, this is a finding.
V-274714
False
SRG-APP-000447-API-001030
Review the API's source code or backend database interaction layer.
Identify all database queries constructed using user-supplied input.
Verify that parameterized queries (also known as prepared statements) are used instead of dynamically constructed SQL strings with input concatenation.
Confirm that query parameters are bound using the appropriate method for the language or database framework (e.g., ?, named parameters, or bind variables).
If any queries use string concatenation or interpolation of user input without parameterization, this is a finding.
M
5703