Skip to content

SECURITY ISSUE: Ports are accessible from anyone on the same network and can make trades on your account #30

@smithb1994

Description

@smithb1994

Port mapping with docker-compose exposes ports not only on your local machine but also to others on your network.
So you're vulnerable to people making API calls to IB Gateway or accessing VNC whenever you're at a coffee shop or any other local network.

See article:
https://vccolombo.github.io/blog/how-to-stop-docker-exposing-your-containers-to-the-world/

Fix:
Change docker-compose ports from

ports:
  - "4003:4003"
  - "5901:5900"

To

ports:
  - "127.0.0.1:4003:4003"
  - "127.0.0.1:5901:5900"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions