News for hackers. Stuff that matters.
Re:Our nightmare on Amazon ECS by huslage on Friday July 08, 2016 @08:13PM (#12059437)
Environment Variables are NEVER private. Please don't think that you can hide information in there as all of that information ends up in the process table which is public across the entire machine.
Re:Our nightmare on Amazon ECS by zeroxfe on Friday July 08, 2016 @09:11PM (#12059615)
Wait, what? How do environment variables end up in the public part of process table? There's no way one user can peek into the environment of another (without permissions, notwithstanding bugs) -- that's part of the design of Unix systems.
Re:Our nightmare on Amazon ECS by nathanboktae on Friday July 08, 2016 @08:42PM (#12059528)
And the machine (vm) runs in a private VPC. So it's private.
Re:Our nightmare on Amazon ECS by nnutter on Friday July 08, 2016 @08:26PM (#12059476)
How are they "public" across the entire machine?
Re:Our nightmare on Amazon ECS by phil21 on Friday July 08, 2016 @08:33PM (#12059500)
I suppose it depends on your definition of public.

Any environment for a process will be accessible via /proc/<pid>/environ on a linux system. Of course other users cannot read these files, however in the case of something like a Docker image all processes likely share a username and this could be a risk (especially for a public webapp that one day may information leak/allow remote command execution).

At least that's my immediate take on it.