Skip to content

local security vulnerability: all ports visible to any local user. #688

@ivanov

Description

@ivanov

Maybe there's already a place somewhere in the documentation, but I did not find it.

This was reported and 'exploited' by @philipn in this vim-ipython pull request: ivanov/vim-ipython#2

Basically, any local user can just ps ax | grep IPython to get all of the port numbers used by another user's IPython instance.

I looked into the issue, and one way to hide this information from other users would be to pass the arguments as environment variables. They will still be visible using ps -e to the user who started IPython, but not to other users. Though this was/is a bug in Solaris, http://osvdb.org/24200 - where any user could see everyone's environment variables. Does this sound reasonable?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions