Rule ID
SV-251625r961167_rule
Version
V2R1
CCIs
CCI-001312
Error codes issued by custom code could provide more information than needed for problem resolution and should be vetted to make sure this does not occur.
Check custom database code to verify that error messages do not contain information beyond what is needed for troubleshooting the issue. If database errors contain PII data, sensitive business data, or information useful for identifying the host system or database structure, this is a finding.
Configure custom database code, and associated application code not to divulge sensitive information or information useful for system identification in error messages.