nerdexam
EC-Council

312-50V12 · Question #174

During your summer internship at a tech company, you have been asked to review the security settings of their web server. While inspecting, you notice the server reveals detailed error messages to use

The correct answer is B. Suppress detailed error messages, as they can expose sensitive information.. The web server is revealing detailed error messages, which is a significant security vulnerability as it exposes sensitive internal information to users.

Submitted by eva_at· Mar 4, 2026Web Application Hacking

Question

During your summer internship at a tech company, you have been asked to review the security settings of their web server. While inspecting, you notice the server reveals detailed error messages to users, including database query errors and internal server errors. As a cybersecurity beginner, what is your understanding of this setting, and how would you advise the company?

Options

  • ARetain the setting as it aids in troubleshooting user issues.
  • BSuppress detailed error messages, as they can expose sensitive information.
  • CImplement stronger encryption to secure the error messages.
  • DIncrease the frequency of automated server backups.

How the community answered

(45 responses)
  • A
    7% (3)
  • B
    87% (39)
  • C
    2% (1)
  • D
    4% (2)

Why each option

The web server is revealing detailed error messages, which is a significant security vulnerability as it exposes sensitive internal information to users.

ARetain the setting as it aids in troubleshooting user issues.

Retaining detailed error messages for users aids attackers more than troubleshooters, as it provides them with internal system information that can be leveraged for reconnaissance and exploitation.

BSuppress detailed error messages, as they can expose sensitive information.Correct

Suppressing detailed error messages is a crucial security practice because these messages, such as database query errors or internal server details, can provide attackers with valuable insights into the server's architecture, vulnerabilities, or database schema. By showing only generic error messages to users and logging detailed errors server-side, you prevent information disclosure that could be exploited for further attacks.

CImplement stronger encryption to secure the error messages.

Implementing stronger encryption secures the transmission of data but does not address the fundamental issue of sensitive information being present in the error messages themselves.

DIncrease the frequency of automated server backups.

Increasing server backups is a good practice for data recovery and business continuity but has no direct bearing on preventing the security risk of information disclosure via detailed error messages.

Concept tested: Secure error handling and information disclosure prevention

Source: https://cheatsheetseries.owasp.org/cheatsheets/Error_Handling_Cheat_Sheet.html

Topics

#web server security#error handling#information disclosure#vulnerability management

Community Discussion

No community discussion yet for this question.

Full 312-50V12 Practice