Skip to content
Software development
ASD ISMISM-1278

ASD ISM 1278 Minimise database error information in software

What it says

Software is designed or configured to provide as little error information as possible about the structure of databases.

Quoted as published. Everything else on this page is written by Control Stack.

What it means

In plain English

Software should reveal minimal database structure details in error messages.

When software malfunctions or runs into a problem, it often displays error messages. This control means that these messages should not reveal too much about the database structure behind them. This is important because if attackers know the details of your database, they could exploit its weaknesses, put your data at risk, and potentially cause financial or reputational harm.

Why it matters

Detailed database errors can reveal schema/table names and queries, enabling SQL injection and leading to data breach and financial loss.

How to implement

  1. IT team should configure error messages: They should ensure that error messages only contain essential information without revealing database details.

    This can be done by modifying the software settings or code to show user-friendly error messages instead.

  2. Software developers should review code: Developers need to review and update the software code to suppress detailed database error messages.

    This involves checking how the software communicates errors and making adjustments to reduce information leaks.

  3. System owners should liaise with software vendors: They should ask vendors to provide guidance or updates that minimise database error information in their software.

    This could include a patch or setting changes in the software configuration.

  4. IT security staff should conduct tests: They should run tests simulating database errors to ensure that only minimal information is displayed.

    They can do this by deliberately causing errors in a safe environment and observing the output.

  5. Office managers should ensure staff awareness: They should inform staff about where to report error messages that seem too detailed.

    This can help quickly identify and address potential risks if detailed information is being exposed.

Keep it running

Regularly test error handling so DB/schema details are not disclosed to users; send full errors to secure logs for developer triage.

Evidence and audit

  1. Check 1 of 5What an auditor asks for

    Ask for

    Software error message policy document: Request documentation that outlines how the organisation controls and manages error messages.

    Look at

    The sections detailing what information should and should not be included in error messages.

    Good evidence

    Shows clear guidelines limiting sensitive data exposure.

  2. Check 2 of 5What an auditor asks for

    Ask for

    A demonstration of error message handling: Request a practical demonstration of how database errors are handled in the software.

    Look at

    The error messages generated to ensure they do not reveal sensitive database information.

    Good evidence

    Is generic messages that inform without exposing technical details.

  3. Check 3 of 5What an auditor asks for

    Ask for

    Testing records: Request logs or reports from testing where database error message handling was assessed.

    Look at

    Documented evidence of testing processes and outcomes.

    Good evidence

    Includes detailed testing records showing compliance with the control requirements.

  4. Check 4 of 5What an auditor asks for

    Ask for

    About communication with vendors: Request emails or meeting notes discussing minimising error information with software vendors.

    Look at

    Evidence of vendor engagement and advice given.

    Good evidence

    Shows active communication and steps taken based on vendor recommendations.

  5. Check 5 of 5What an auditor asks for

    Ask for

    Staff training records: Request evidence of training sessions for staff on reporting overly detailed error messages.

    Look at

    Training materials and attendance records.

    Good evidence

    Demonstrates that staff are aware of reporting procedures and can recognise inappropriate error messages.

Mappings

Closest match in ISO/IEC 27001: A.8.25, Secure development lifecycle, which this control partially meets.

ISO 27001

ISO/IEC 27001: 2 mappings

  • A.8.25Secure development lifecyclePartially meets

Mappings show how controls relate across frameworks. They do not imply full equivalence or certification.