Closed
Bug 839684
Opened 12 years ago
Closed 5 years ago
Link securityInfo between child and parent processes as an actor instead of just sending serialization here and there
Categories
(Core :: Security: PSM, defect, P3)
Core
Security: PSM
Tracking
()
RESOLVED
WONTFIX
People
(Reporter: mayhemer, Unassigned)
References
Details
(Keywords: sec-want, Whiteboard: [psm-backlog])
Long ago we needed to pass security info object to the child process. I've allow that by sending a serialization of the securityInfo object. On the child process it deserialize, while the certificate only keeps the serialization (nsNSSCertificateFakeTransport class) to allow sending the secinfo via serialization back to the parent.
These days this is a) wasting - and kinda crazy as I see it now, b) dangerous to accept sec info from potentially untrusted child process to deserialize on the parent process and be used for security decisions.
My proposal is to instead of serialization send an IPC actor (SecInfoParent/SecInfoChild). That would carry the serialization to make secinfo work on the child process (I believe this is needed, but maybe not!) and, the main goal, children may send it back to parent just by the actor's reference. On the parent process we can then get the existing original raw secinfo object securely from SecInfoParent.
This has raised from discussion with jduell on IRC related to bug 835613.
Opinions?
Serialization of secinfo is currently sent to the child process by PHttpChannel::OnStartRequest and the same way (very surprisingly, but probably it's just another wasting) via PWyciwygChannel::OnStartRequest.
Hiding the bug rather.
Updated•12 years ago
|
Keywords: sec-moderate
![]() |
Reporter | |
Comment 2•12 years ago
|
||
IMO, no.
Changing security rating to reflect the fact this is not an issue with current security features, it's a future request.
Keywords: sec-moderate → sec-low
![]() |
||
Updated•9 years ago
|
![]() |
||
Updated•7 years ago
|
Priority: -- → P3
Updated•6 years ago
|
Assignee: jduell.mcbugs → nobody
![]() |
||
Comment 4•5 years ago
|
||
It doesn't look like we're going to do this.
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•