CSACyber Security AuditWebbandflow
Information disclosure Low

Verbose Error Messages

Showing users detailed internal error output that reveals how the system works.

What it is

Verbose error messages expose internal details, such as stack traces, database queries, or file paths, when something goes wrong. While useful to developers, these details hand attackers a map of the system's inner workings. Production systems should show users only a generic message while logging details privately.

Why it matters

Detailed errors can reveal the technology, structure, and even data of a system, accelerating an attacker's efforts.

How to fix it

Show users generic error messages, log full details only server-side, and disable debug modes in production.

Related terms

References

← Back to the glossary