Bug 205240 - [iOS] Deny mach lookup access to "*.viewservice" in the WebContent process
Summary: [iOS] Deny mach lookup access to "*.viewservice" in the WebContent process
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit Misc. (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Per Arne Vollan
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2019-12-14 14:15 PST by Per Arne Vollan
Modified: 2019-12-14 15:20 PST (History)
4 users (show)

See Also:


Attachments
Patch (3.32 KB, patch)
2019-12-14 14:20 PST, Per Arne Vollan
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Per Arne Vollan 2019-12-14 14:15:57 PST
As part of sandbox hardening in the WebContent process, mach lookup access to “*.viewservice” should be removed.
Comment 1 Per Arne Vollan 2019-12-14 14:16:12 PST
rdar://problem/56990598
Comment 2 Per Arne Vollan 2019-12-14 14:20:49 PST
Created attachment 385700 [details]
Patch
Comment 3 Brent Fulgham 2019-12-14 14:30:13 PST
Comment on attachment 385700 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=385700&action=review

R=me

> Source/WebKit/Resources/SandboxProfiles/ios/com.apple.WebKit.WebContent.sb:-446
> -        (xpc-service-name-regex #"\.viewservice$") ;; <rdar://problem/31252371>

Here we go!
Comment 4 Per Arne Vollan 2019-12-14 14:35:36 PST
(In reply to Brent Fulgham from comment #3)
> Comment on attachment 385700 [details]
> Patch
> 
> View in context:
> https://bugs.webkit.org/attachment.cgi?id=385700&action=review
> 
> R=me
> 
> > Source/WebKit/Resources/SandboxProfiles/ios/com.apple.WebKit.WebContent.sb:-446
> > -        (xpc-service-name-regex #"\.viewservice$") ;; <rdar://problem/31252371>
> 
> Here we go!

Thanks for reviewing :)
Comment 5 WebKit Commit Bot 2019-12-14 15:20:52 PST
Comment on attachment 385700 [details]
Patch

Clearing flags on attachment: 385700

Committed r253529: <https://trac.webkit.org/changeset/253529>
Comment 6 WebKit Commit Bot 2019-12-14 15:20:54 PST
All reviewed patches have been landed.  Closing bug.