Default_Unexpected_Exception_Handler may leak sensitive data
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 35/100
Direzione di ricerca
Iniziare da AWS.Server.Default_Unexpected_Exception_Handler e verificare come gestisce un file 500.tmplt mancante. Verificare dove viene inviato Ada.Exceptions.Exception_Information, quindi assicurarsi che i dettagli dell’eccezione vadano solo a Log e/o Standard_Error, mentre i client ricevono un 500 Internal Server Error generico.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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.
- Lingua principale
- Ada
- Stelle
- 162
- Fork
- 45
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di AdaCore/aws
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 48/100
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 58/100
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 48/100
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 25/100
Issue simili
-
schema_dict_to_pydantic_model TypeError on JSON Schema type arrays → extract falls back to free-text Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
browser-use/browser-use#5904 ·
-
type: enhancement
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
ynput/ayon-python-api#363 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 86/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
-
bug severity:low
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100