Skip to content

Document attacks possible when WebID Document is hosted in a Solid Storage #3

Open

Description

@elf-pavlik

Solid-OIDC relies on solid:oidcIssuer delegation in WebID Document, SAI, similarly, relies on interop:hasAuthorizationAgent. Compromising any of them can lead to gaining owner-level access to all storage owned by the agent WebID denotes.

Prior discussion

Activity

  1. csarven commented on May 21, 2024

    @csarven
    Member

    There is also solid/solid-spec#106


    After re-reading what you wrote above, are we saying the same thing: solid/solid-oidc#219 (comment) ? I mean the issuer origin. It is separate from the oidcIssuer value changing.

  2. elf-pavlik commented on May 21, 2024

    @elf-pavlik
    MemberAuthor

    Let's separate those two cases. Here, I only focus on situations where the WebID Document is compromised and the triple with solid:oidcIssuer gets changed.

  3. elf-pavlik commented on May 29, 2024

    @elf-pavlik
    MemberAuthor
  4. moved this from Scheduled to Done in Special Topic Meetingson Jun 11, 2024
  5. jg10-mastodon-social commented on Nov 22, 2025

    @jg10-mastodon-social

    The referenced prior work suggests to "reject requests that modify or add solid:oidcIssuer triples to the webID, even if the agent has append/write access".

    In CSS it is possible to do so for PATCH by adding that triple to the config for the ImmutableMetadataPatcher:

    https://github.com/CommunitySolidServer/CommunitySolidServer/blob/8f945e243c9a52089a80ab61a2862f768fda56a9/config/storage/middleware/stores/patching.json#L44

  6. elf-pavlik commented on Nov 22, 2025

    @elf-pavlik
    MemberAuthor

    Thanks for the pointer @jg10-mastodon-social
    I understand it only works for PATCH, and doesn't affect PUT. I think this is the main reason that CSS doesn't allow PUT on Description Resources: https://communitysolidserver.github.io/CommunitySolidServer/latest/usage/metadata/#how-to-edit-the-metadata-of-a-resource

    I think the way it works it wouldn't be possible to apply it only to WebID documents. So if I want to host some primer or even blog post, with has sample snippets as separate resources. I wouldn't be able to use a statement with solid:oidcIssuer in that sample snippet, unless I use a different content type, I think all sub resource level access control approaches need a lot of implemenation experience.

    EDIT meanwhile it wouldn't be a bad idea to enable it on solidcommunit.net to prevent simple exploits like https://github.com/elf-pavlik/mallory?tab=readme-ov-file#cuckoo

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions