Skip to content

Security review for Blazor #9565

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
20 of 31 tasks
mkArtakMSFT opened this issue Apr 19, 2019 · 3 comments
Closed
20 of 31 tasks

Security review for Blazor #9565

mkArtakMSFT opened this issue Apr 19, 2019 · 3 comments
Assignees
Labels
area-blazor Includes: Blazor, Razor Components Components Big Rock This issue tracks a big effort which can span multiple issues Done This issue has been fixed task

Comments

@mkArtakMSFT
Copy link
Member

mkArtakMSFT commented Apr 19, 2019

Threat Models

Documents will be made public when review is complete.

Client Action Items

  • Investigate CSP for bootstrapping
  • Investigate providing a default CORS configuration.
  • Follow up on the need for CSRF once browser support is locked

Server Action Items

@mkArtakMSFT mkArtakMSFT added area-mvc Includes: MVC, Actions and Controllers, Localization, CORS, most templates Components Big Rock This issue tracks a big effort which can span multiple issues area-blazor Includes: Blazor, Razor Components labels Apr 19, 2019
@mkArtakMSFT mkArtakMSFT added this to the 3.0.0-preview6 milestone Apr 19, 2019
@rynowak rynowak mentioned this issue Apr 19, 2019
56 tasks
@danroth27 danroth27 added task and removed task labels Apr 25, 2019
@rynowak rynowak changed the title Security review for server-side Blazor Security review for Blazor May 9, 2019
@mkArtakMSFT mkArtakMSFT removed area-mvc Includes: MVC, Actions and Controllers, Localization, CORS, most templates labels May 9, 2019
@mkArtakMSFT mkArtakMSFT assigned javiercn and unassigned rynowak Jun 4, 2019
@javiercn
Copy link
Member

We've done all the work we wanted to do here. We've met several times with the appropriate people to look at the different security aspects involved in server side blazor.

The remaining action items are tracked in separate issues and the last piece is to put together the meeting notes we collected during the reviews and put them in a consistent way as part of the security guidance doc for blazor server-side applications dotnet/AspNetCore.Docs#12995

@mkArtakMSFT I'm not sure if we should just close this issue at this point.

@rynowak
Copy link
Member

rynowak commented Jul 12, 2019

There's a bunch of items that are not checked off. Check them off if they are done, or strike them out if a note if we didn't do it 😆

Did you update the threat model with the additional stuff?

@mkArtakMSFT
Copy link
Member Author

Looks like all the unchecked items except one have additional tracking items. Please either create one more tracking item for the following one or simply strike it through (to be explicit that we didn't do it, neither we plan to):

Provide documentation and guidance for responsible use of JS -> .NET interop in the server-side model. (JS interop is untrusted input)

And yes, as @rynowak said, update teh threat model with additional stuff, based on all the findings. Then this can be closed.

@mkArtakMSFT mkArtakMSFT added Done This issue has been fixed and removed Working labels Jul 15, 2019
@ghost ghost locked as resolved and limited conversation to collaborators Dec 3, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-blazor Includes: Blazor, Razor Components Components Big Rock This issue tracks a big effort which can span multiple issues Done This issue has been fixed task
Projects
None yet
Development

No branches or pull requests

4 participants