Uploaded image for project: 'MusicBrainz Server'
  1. MusicBrainz Server
  2. MBS-10778

User/admin forms are prone to CSRF attacks

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Normal Normal
    • 2020-04-27
    • None
    • Accounts, Admin
    • None

      External websites can construct POST requests that submit data to user/admin forms on musicbrainz.org. If the user is logged in on MusicBrainz, these requests will be processed if the fields validate.

      This would theoretically be mitigated by browsers moving to a non-permissive SameSite=Lax by default, but this also breaks release editor seeding (MBS-10717).

      We should add CSRF tokens to any forms that can modify user data or administrate the site.

            bitmap Michael Wiencek
            bitmap Michael Wiencek
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                Version Package
                2020-04-27