Description
Skipper is an HTTP router and reverse proxy for service composition. The default skipper configuration before 0.23.0 was -lua-sources=inline,file. The problem starts if untrusted users can create lua filters, because of -lua-sources=inline , for example through a Kubernetes Ingress resource. The configuration inline allows these user to create a script that is able to read the filesystem accessible to the skipper process and if the user has access to read the logs, they an read skipper secrets. This vulnerability is fixed in 0.23.0.
Problem types
CWE-94: Improper Control of Generation of Code ('Code Injection')
CWE-250: Execution with Unnecessary Privileges
CWE-522: Insufficiently Protected Credentials
Product status
References
github.com/...kipper/security/advisories/GHSA-cc8m-98fm-rc9g
github.com/...ommit/0b52894570773b29e2f3c571b94b4211ef8fa714
github.com/zalando/skipper/releases/tag/v0.23.0