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.
Question
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)- A7% (3)
- B87% (39)
- C2% (1)
- D4% (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.
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.
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.
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.
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
Community Discussion
No community discussion yet for this question.