Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Default_Unexpected_Exception_Handler may leak sensitive data #334

Open
JeremyGrosser opened this issue Apr 27, 2022 · 0 comments
Open

Default_Unexpected_Exception_Handler may leak sensitive data #334

JeremyGrosser opened this issue Apr 27, 2022 · 0 comments

Comments

@JeremyGrosser
Copy link

If a file named 500.tmplt does not exist, AWS.Server.Default_Unexpected_Exception_Handler will send the traceback from Ada.Exceptions.Exception_Information to clients, leaking information about memory offsets and program information that may be useful to an attacker trying to build an exploit.

See CWE-209 for more information about this class of vulnerability.

I believe this is unsafe default behavior and Default_Unexpected_Exception_Handler should be modified to only send Exception_Information to Log and/or Standard_Error and return a generic 500 Internal Server Error to clients.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant