Teleport 2.2 Released: ARM Support, Security Audit Report Published(gravitational.com)
gravitational.com
Teleport 2.2 Released: ARM Support, Security Audit Report Published
https://gravitational.com/blog/teleport-release-2-2/
6 comments
jdc0589: this is about the only thing enterprises are willing to pay for, so to continue funding Teleport development, OIDC/SAML/RBAC will have to continue being enterprise only. However, we do have plenty of cool stuff (majority, actually) in the roadmap for the open source version.
I figured, its a pretty common trend in software/platforms like this. Just figured I'd ask.
Thanks!
Thanks!
Appreciate the seeing the security audit, but I don't think I'd use this on the open internet. As far as I can tell, this does not drop privileges or separate the process so the bit listening on the network is also the bit running as root.
A security audit is nice, but it doesn't provide ongoing protection.
A security audit is nice, but it doesn't provide ongoing protection.
hackcasual: teleport starts its own unprivileged copy for scp requests. for other exec requests, including interactive shell, it launches those processes directly, dropping privileges as well. [1]
> the bit listening on the network is also the bit running as root.
well, being root is a requirement to listen on privileged <1024 ports, in that sense teleport is no different from sshd or nginx. once the request is received and authenticated, it launches another process with the privileges of the authenticated user.
[1] https://github.com/gravitational/teleport/blob/master/lib/sr...
In fact, this is precisely the reason we paid for the independent audit, to proactively answer questions like this.
> the bit listening on the network is also the bit running as root.
well, being root is a requirement to listen on privileged <1024 ports, in that sense teleport is no different from sshd or nginx. once the request is received and authenticated, it launches another process with the privileges of the authenticated user.
[1] https://github.com/gravitational/teleport/blob/master/lib/sr...
In fact, this is precisely the reason we paid for the independent audit, to proactively answer questions like this.
Can't you drop privileges immediately after getting the privileged socket? Why do you need to hold on to them?
What do you mean "hold on to them"? Teleport needs root privileges to create sessions like `ssh root@host`, like any SSH server would. But DROPS privileges to start the session, i.e. when they no longer needed.
I am assuming you and hackcasual aren't familiar with Golang, since you aren't seeing familiar fork()/setuid()? I'll try to explain:
"dropping privileges" term comes from the old tradition of forking a child process from a privileged parent. Teleport, instead of calling fork() directly as you'd probably expect C code to work, uses Golang's syscall.StartProcess(), which does the entire fork-and-drop privileges logic, and the new privileges (user-specific ones) are passed as shown in the line of code above.
User SSH sessions are sandboxed in unprivileged processes just like you'd expect.
I am assuming you and hackcasual aren't familiar with Golang, since you aren't seeing familiar fork()/setuid()? I'll try to explain:
"dropping privileges" term comes from the old tradition of forking a child process from a privileged parent. Teleport, instead of calling fork() directly as you'd probably expect C code to work, uses Golang's syscall.StartProcess(), which does the entire fork-and-drop privileges logic, and the new privileges (user-specific ones) are passed as shown in the line of code above.
User SSH sessions are sandboxed in unprivileged processes just like you'd expect.
I think the parent comment is about running worker-threads in 'nobody' user account.
a lot of proper-distro-packaged apps (e.g. nginx on centos yum/ubuntu apt) spawn 'nobody' processes
a lot of proper-distro-packaged apps (e.g. nginx on centos yum/ubuntu apt) spawn 'nobody' processes
What's the pricing on the Enterprise version?
\o/ congrats people!
Always reassuring seeing a security audit on such an important piece of software as a potential SSH-substitute.
Great job on the ARM support too. Now where's that Raspberry Pi I had around... :)
Always reassuring seeing a security audit on such an important piece of software as a potential SSH-substitute.
Great job on the ARM support too. Now where's that Raspberry Pi I had around... :)
There's a link to the security audit report in the post but here it is, as well, for those interested: https://cure53.de/pentest-report_teleport.pdf
[deleted]
question: are there any plans to ever add directory integration to the community edition, or will it forever be an Enterprise only feature?