Don't crash when force-browsing about:httpsonlyerror and clicking "continue to site"
Categories
(Core :: DOM: Security, defect, P3)
Tracking
()
People
(Reporter: freddy, Unassigned)
References
(Blocks 1 open bug)
Details
(Whiteboard: [domsecurity-backlog1])
STR:
- Navigate to
about:httpsonlyerror?e=netTimeout&u=https%3A//example.com/browser/dom/security/test/https-only/file_iframe_test.sjs%3Ftest2.1&c=UTF-8&d=The%20server%20at%20example.com%20is%20taking%20too%20long%20to%20respond.
- There's an error page
- Click "Continue to site"
Actual result:
The child process crashes, but address sanitizer does not write a crash report. Console output is
AddressSanitizer can not provide additional info.
SUMMARY: AddressSanitizer: SEGV /builds/worker/checkouts/gecko/toolkit/xre/nsEmbedFunctions.cpp:364:7 in XRE_InitChildProcess(int, char**, XREChildData const*)
==21937==ABORTING
IPDL protocol error: Handler returned error code!
###!!! [Parent][DispatchAsyncMessage] Error: PWindowGlobal::Msg_ReloadWithHttpsOnlyException Processing error: message was deserialized, but the handler returned false (indicating failure)
###!!! [Parent][MessageChannel] Error: (msgtype=0x230081,name=PBrowser::Msg_StopIMEStateManagement) Channel error: cannot send/recv
###!!! [Parent][MessageChannel] Error: (msgtype=0x2300A2,name=PBrowser::Msg_Destroy) Channel error: cannot send/recv
Expected result:
The browser goes to example.com or Nothing happens.
Reporter | ||
Comment 1•3 years ago
|
||
I used a non-asan nightly and managed to get this crash report submitted though:
https://crash-stats.mozilla.org/report/index/5b9422b5-637c-4860-b4df-2a3850211220
(NB: Address sanitizer did not manage to create a crash report, so maybe this is interesting for decoder?)
Comment 2•3 years ago
|
||
(In reply to Frederik Braun [:freddy] from comment #1)
I used a non-asan nightly and managed to get this crash report submitted though:
https://crash-stats.mozilla.org/report/index/5b9422b5-637c-4860-b4df-2a3850211220(NB: Address sanitizer did not manage to create a crash report, so maybe this is interesting for decoder?)
This is not a crash. The report has DUMP_REQUESTED
in it, so this is probably some type of requested dump for diagnostic purposes?
Reporter | ||
Comment 3•3 years ago
|
||
Right this is one of the MOZ_CRASH
es from IPCError
.
Comment 4•3 years ago
|
||
What's different about your URL and what happens when I hit an non-HTTP site in Httpsonly mode? I've never seen this crash when I "continue" in normal browsing, but I can certainly crash with your URL.
Comment 5•3 years ago
|
||
Is this even sec-low? We are crashing ourselves to prevent a problem. Users will not be able to write a page containing a link like this to cause other people to crash, but depending on the answer to the previous question maybe they can cause it by sending folks to a site that triggers the right error condition?
Updated•3 years ago
|
Updated•3 years ago
|
Reporter | ||
Comment 6•3 years ago
|
||
(In reply to Daniel Veditz [:dveditz] from comment #5)
Is this even sec-low?
Probably not. It's like about:crashcontent, but unintentional ;)
Comment 7•3 years ago
|
||
The severity field is not set for this bug.
:ckerschb, could you have a look please?
For more information, please visit auto_nag documentation.
Updated•3 years ago
|
Reporter | ||
Comment 8•2 years ago
|
||
IPC_FAIL looks like the desired outcome after all.
Description
•