Description
Folo organizes feeds content into one timeline. Using pull_request_target on .github/workflows/auto-fix-lint-format-commit.yml can be exploited by attackers, since untrusted code can be executed having full access to secrets (from the base repo). By exploiting the vulnerability is possible to exfiltrate GITHUB_TOKEN which has high privileges. GITHUB_TOKEN can be used to completely overtake the repo since the token has content write privileges. This vulnerability is fixed in commit 585c6a591440cd39f92374230ac5d65d7dd23d6a.
Problem types
CWE-829: Inclusion of Functionality from Untrusted Control Sphere
Product status
References
github.com/...t/Folo/security/advisories/GHSA-h87r-5w74-qfm4
github.com/...t/Folo/security/advisories/GHSA-h87r-5w74-qfm4
github.com/...ommit/585c6a591440cd39f92374230ac5d65d7dd23d6a