Crash reporter is vulnerable to DLL hijacking on Windows
Categories
(Toolkit :: Crash Reporting, defect)
Tracking
()
People
(Reporter: molly, Unassigned)
References
Details
(Keywords: good-first-bug, sec-want)
Attachments
(1 file)
Updated•8 years ago
|
Comment 1•8 years ago
|
||
Reporter | ||
Comment 2•8 years ago
|
||
Comment 3•8 years ago
|
||
Reporter | ||
Comment 4•8 years ago
|
||
Comment 5•8 years ago
|
||
Updated•5 years ago
|
Comment 6•5 years ago
|
||
Hello, May I work on this ?
Comment 7•5 years ago
|
||
Could you point me to the files where we are loading system DLLs?
Reporter | ||
Comment 8•5 years ago
|
||
.(In reply to Jayati Shrivastava from comment #6)
Hello, May I work on this ?
Of course! This one requires some C++ knowledge and also a Windows build environment, so make sure you have that ready.
(In reply to Jayati Shrivastava from comment #7)
Could you point me to the files where we are loading system DLLs?
The thing that this bug is about is the crash reporter client, which is crashreporter.exe
and whose code lives in /toolkit/crashreporter/client.
What it needs to do is delay load the DLL's that it statically depends on the way that firefox.exe
does, and then ideally as early in its startup as possible it should call SetDefaultDllDirectories(LOAD_LIBRARY_SEARCH_SYSTEM32)
on systems where that function is available, with a fallback to SetDllDirectoryW(L"")
if not.
Updated•5 years ago
|
Comment 9•5 years ago
|
||
Updated•5 years ago
|
Updated•5 years ago
|
Comment 10•4 years ago
|
||
This good-first-bug hasn't had any activity for 6 months, it is automatically unassigned.
For more information, please visit auto_nag documentation.
Updated•2 years ago
|
Comment 11•8 months ago
|
||
This may be a bit more complex to apply now that the crash reporter client is written in rust (specifically the delay loading, I have to look into that), though it still ought to be possible.
Description
•