hpi-epic / BP2021

Working repository in context of the bachelor project "Online Marketplace Simulation: A Testbed for Self-Learning Agents" at the research group Enterprise Platform and Integration Concepts
MIT License
3 stars 0 forks source link

[Docker] translate Docker IDs for additional security #507

Open felix-20 opened 2 years ago

felix-20 commented 2 years ago

Imagine the following situation: The remote machine where the API is running, runs a docker container with another application (for example a different webserver) A hacker knows about the API secret, guessed it or somehow got their hands on the secret and is now able to manipulate the machine for at max 2 h. The hacker does not know any container id of our simulation containers, but they know the container id of the other application running on the same machine. They could just use this knowledge to kill this machine with our API.

This is a possible attack on our current network infrastructure. Mitigate it.

Suggestion: Build a container id translation: