This was a good suggestion. I tried it but the RWX page was still present. My next plan is to systematically check all the allocate and reprotect calls. Possibly this is best done by hooking the system calls, especially because this might be the result of a library call.
Is there some patch we could apply locally, while we wait for the Firefox people to get their act together?
Or maybe this is a good bite-sized bug to ask the Internet to help Firefox with?
What Firefox? It's tor.exe itself and libs, Tor Expert Bundle for Windows.
Nice work (as dmajor already said)! Applied to tor-browser-52.2.0esr-7.5-1 (commit dda0385c).
Arthur: I wonder whether we should make an argument on the Mozilla ticket for getting this included into esr52? It feels to me all Windows users should benefit from this security enhancement.
Trac: Status: needs_review to closed Resolution: N/Ato fixed
Replying to gk:
Why are you so hurry about closing ticket about long-standing security problem?
No conclusions about issues in comment:7 (from comment:4) were made, even a comment.
There is some feeling that it's not enough for reopening the ticket (for you), so:
softokn3.dll and freebl3.dll have W^X pages on Windows 10 (15063).
Trac: Resolution: fixed toN/A Status: closed to reopened
Arthur: I wonder whether we should make an argument on the Mozilla ticket for getting this included into esr52? It feels to me all Windows users should benefit from this security enhancement.
Replying to gk:
Why are you so hurry about closing ticket about long-standing security problem?
Because we fixed the particular issue this ticket was about.
No conclusions about issues in comment:7 (from comment:4) were made, even a comment.
There is some feeling that it's not enough for reopening the ticket (for you), so:
softokn3.dll and freebl3.dll have W^X pages on Windows 10 (15063).
Could you open follow-up tickets for these problems please with steps to reproduce for us? Thanks.
Trac: Resolution: N/Ato fixed Status: reopened to closed
Replying to gk:
Why are you so hurry about closing ticket about long-standing security problem?
Because we fixed the particular issue this ticket was about.
No conclusions about issues in comment:7 (from comment:4) were made, even a comment.
There is some feeling that it's not enough for reopening the ticket (for you), so:
softokn3.dll and freebl3.dll have W^X pages on Windows 10 (15063).
Could you open follow-up tickets for these problems please with steps to reproduce for us? Thanks.
I opened legacy/trac#22584 (moved). I wonder if the person who observed this could comment if it was necessary to visit any particular websites to trigger these RWX pages.
Replying to gk:
Why are you so hurry about closing ticket about long-standing security problem?
Because we fixed the particular issue this ticket was about.
No conclusions about issues in comment:7 (from comment:4) were made, even a comment.
There is some feeling that it's not enough for reopening the ticket (for you), so:
softokn3.dll and freebl3.dll have W^X pages on Windows 10 (15063).
Could you open follow-up tickets for these problems please with steps to reproduce for us? Thanks.
I opened legacy/trac#22584 (moved). I wonder if the person who observed this could comment if it was necessary to visit any particular websites to trigger these RWX pages.
OK, as you show you're interested in solving these issues, and don't close tickets without explanations or follow-ups as somebody else, then I'll put comments in that ticket.