Sending a malformed request to a customer web application returns a page showing a full stack trace with the database server name, table names and the framework version. Which vulnerability does this reveal?
Select an answer to reveal the explanation.
Short Explanation
An error page like that is basically handing attackers your floor plan. They now know your database, your tables and your framework version, so they can go shopping for exploits. Good apps fail quietly to you and log the gory details on the server side.
Full Explanation
Unsafe exception handling occurs when an application does not catch and handle errors properly and instead returns raw error output to the client. Stack traces, database server names, table names and framework versions give attackers valuable reconnaissance, helping them craft injection attacks and identify known vulnerabilities for the exact version in use. The correct pattern is to catch exceptions, return a generic error message to the user and record the details in server-side logs that only administrators can read. A race condition depends on the timing of concurrent operations and would show inconsistent results, not a single malformed request producing a stack trace. Hardcoded secrets are credentials embedded in code; nothing in the error output described includes a password or key, and the weakness here is what the error handler reveals rather than what the code stores. A malicious update involves compromised code delivered through an update channel, which has no connection to how the application displays errors. Exam caveat: verbose errors are often classed as information disclosure, a vulnerability that amplifies other attacks rather than compromising the system by itself. Operational check: configure production error handling to return generic messages, confirm by sending malformed input again, and verify that the full details still reach the server logs.