Skip to content

Add security to redirectToOrigin API #1214

@joereuss12

Description

@joereuss12

Pelican Service:

  • Client
  • Plugin
  • Registry
  • Director
  • Origin
  • Cache
  • Other (please give the detail)

When working through the redirectToOrigin API looking into direct reads, @jhiemstrawisc and I discovered a potential vulnerability within the redirectToOrigin. A user can bypass the directread check and talk directly to an origin using another client by simply utilizing the api call /api/v1.0/director/origin. This would allow users to not set directreads but talk directly to an origin anyway and could lead to exploitation of the origin.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingdirectorIssue relating to the director componentinternalInternal code improvements, not user-facing

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions