Hacker News new | ask | show | jobs
by Dachande663 1060 days ago
Perhaps a naive question, but if running metabase within a docker container, what permissions would this RCE have? AFAIK the container has network access and access to the mounted volumes and that's it right?
3 comments

Presumably the metabase instance also has credentials to access some databases, some of which may be have enough privileges to also get RCE on the database machines (as well as messing with the data they hold).
We issue separate read-only credentials for database access fortunately. Still doesn't remove the risk of all the data been exfiltrated though.
The container has access to whatever database you connect metabase to for BI. If the db connection credentials are available to the container, it's possible a malicious actor could access your prod db.
It depends on how the container is being run and if it has root Access