SI-11 requires generating error messages that provide information necessary for corrective actions without revealing information that could be exploited, and revealing error messages only to authorized personnel. Stack traces with SQL and patient identifiers on patient portals are a classic ePHI disclosure.
SI-11
Medium risk
Moderate difficulty
Low cost
Control objective
Ensure applications and services handling ePHI handle errors securely — user-facing messages stay generic while detailed diagnostics go only to authorized operators under protection.
Implementation guidance
Define error-handling standards for ePHI apps (generic user messages, detailed server logs).
Prohibit patient identifiers, tokens, and secrets in end-user error pages.
Protect diagnostic logs as sensitive; restrict access and retain appropriately.
Include error handling in code review/SA-11 tests.
Configure web servers to hide stack traces in production.
Train support staff not to paste full errors with ePHI into tickets unprotected.
Apply to BA-hosted portals via contract.
Monitor for verbose error patterns in production.
Real-world use cases
How this control shows up in healthcare and HIPAA-covered environments.
Portal 500 shows SQL with MRN
SI-11 fix returns generic apology page; detailed error stays in restricted logs without full PHI where possible.
Interface engine dumps HL7 in UI errors
Admin console errors sanitized; full payloads only in access-controlled logs.
Helpdesk ticket with stack trace
Process change redacts ePHI before storing tickets in lower-trust systems.
Best practices
Generic user-facing errors.
Restricted detailed logs.
No secrets/PHI on error pages.
Test error paths pre-prod.
Redact tickets.
BA portal requirements.
Common gaps & violations
Stack traces on public portals.
Verbose IIS/Apache errors in prod.
Logs world-readable with ePHI.
Tickets containing clear PHI dumps.
No error-path testing.
Required documentation
Error handling standard (SI-11)
Application secure-coding requirements
Production web error configurations
Log access controls
Ticket redaction guidance
How to test & validate
Trigger controlled errors on portal/EHR web — inspect user message.
Verify stack traces disabled in prod.
Review log access for diagnostic stores.
Sample tickets for unredacted dumps.
Check BA portal error behavior if accessible.
Audit considerations
Verbose errors are both an information disclosure and HIPAA risk. SI-11 is easy to demonstrate with a few controlled tests on public-facing apps.
HIPAA mapping
How this NIST control supports HIPAA Security Rule expectations.
164.530(c) Safeguards — prevent unintentional disclosure of PHI via system messages.
164.312(a) Access Control — error detail should not bypass access restrictions.
164.308(a)(1) Risk Management — information leakage via errors is a treatable risk.
We use cookies to improve your experience on our site and to show you relevant content.
By continuing to use our site, you agree to our use of cookies.
Learn more about our cookie policy.