information disclosure

Letting someone read data they should not see, such as another customer's order, internal error details or a secret printed into a log.

Leaked internals give attackers a map of the system and sometimes credentials.

In more detail

Return generic messages for unexpected errors and keep diagnostic detail in server logs, linked by a trace identifier. Responses should contain only named public fields, never whole database rows or internal exception text.

Example

In this course it shows up as broken object level authorization, secrets in logs and error pages, and responses that return whole database rows instead of named public fields.

Related terms

Taught in

References