312-50V13 · Question #589
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…
The correct answer is B. Suppress detailed error messages, as they can expose sensitive information. Detailed error messages on a web server should be suppressed because they can inadvertently reveal sensitive internal system information to attackers, aiding in further exploitation.
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
(24 responses)- B92% (22)
- C4% (1)
- D4% (1)
Why each option
Detailed error messages on a web server should be suppressed because they can inadvertently reveal sensitive internal system information to attackers, aiding in further exploitation.
Retaining detailed error messages provides debugging information but creates a significant security vulnerability by exposing internal system details to potential attackers.
Suppressing detailed error messages, such as database query errors or internal server errors, is a crucial security practice because these messages often contain information about the server's technology stack, file paths, database schema, or other internal configurations that an attacker could use to launch more targeted attacks. Displaying generic error messages instead prevents information leakage while still indicating an issue occurred.
Encrypting error messages does not prevent the information leakage itself, as the attacker would still receive and potentially decrypt the message if they could intercept it.
Increasing server backups is important for disaster recovery but does not address the security vulnerability of exposing detailed error messages that aid attackers.
Concept tested: Web server error message security
Source: https://learn.microsoft.com/en-us/aspnet/core/fundamentals/error-handling?view=aspnetcore-8.0
Topics
Community Discussion
No community discussion yet for this question.