Re:Zero-Day Exploitation of Atlassian Confluence
by gjvc on Friday June 03, 2022 @03:43AM
(#31605390)
who in the hell does this?
[ Parent
| on HN ]
Re:Zero-Day Exploitation of Atlassian Confluence
by reegnz on Friday June 03, 2022 @05:17AM
(#31605988)
Mostly Linux-illiterate people, who want to bind to privileged ports (443), and have no idea about systemd sockets[1] and socket-activation[2], so they stick with the first solution that works.
Most people don't know that you can have systemd bind to the privileged ports for you, and hand over the fd to the port to your (unprivileged) process.
Same goes for docker/containerd btw, if you run docker as root nowadays, you are doing it wrong.
[1] https://www.freedesktop.org/software/systemd/man/systemd.soc... [2] https://www.freedesktop.org/software/systemd/man/systemd-soc...