Skip to content

[MAJOR] §8: cross-repo-dispatch.yml passes untrusted client_payload.host to dispatch-apply.sh without validation #97

Description

@mvillmow

Finding

Severity: MAJOR

Evidence: .github/workflows/cross-repo-dispatch.yml:35-36

Principle: SOLID

cross-repo-dispatch.yml reads github.event.client_payload.host and passes it directly as $HOST to dispatch-apply.sh. Any entity that can send a repository_dispatch event of type image-pushed to ProjectProteus can set host to an arbitrary value, potentially causing Myrmidons to apply against an unintended host. The payload field is untrusted and unvalidated.


Part of #81

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions