Description
Capgo before 12.128.2 uses ILIKE pattern matching instead of exact matching for app_id lookup in the preview subdomain resolver, allowing underscore characters in app_id to act as SQL wildcards. Attackers can create apps with app_ids differing by one character at underscore positions to cause unintended pattern matches, breaking preview functionality for legitimate apps or causing app-id confusion.
Problem types
Product status
Any version before 12.128.2
12.128.2 (semver)
Credits
Judel777
References
github.com/.../capgo/security/advisories/GHSA-cw88-ch2j-8vqj
github.com/.../capgo/security/advisories/GHSA-cw88-ch2j-8vqj (GHSA Advisory GHSA-cw88-ch2j-8vqj)
www.vulncheck.com/...ke-wildcard-in-preview-subdomain-lookup (VulnCheck Advisory: Capgo - App ID Confusion via ILIKE Wildcard in Preview Subdomain Lookup)