>We would like to see that systemd upstream retrieves CVE's themself for their own bugs, even if its believed that its just a local DoS. So not only they didn't notice this was exploitable, they also seem to think that a local DoS is not enough for a CVE or a public report. Excellent.
Did you know that polkit, the systemd replacement of sudo, uses JavaScript to validate permissions? This was the response: https://lists.freedesktop.org/archives/systemd-devel/2016-De... systemd is a bomb waiting to go off, IMHO.
Systemd v228 local root exploit
71–80 of 162 posts
Re: Systemd v228 local root exploit
#72It's a shame that SystemD, has this issue. Hopefully, once the fix is made, they can get back to the business of obfuscating the init process.
> SystemD https://lists.debian.org/878ttl9go6.fsf@hope.eyrie.org
* https://lists.debian.org/debian-devel/2016/08/msg00547.html
Re: Systemd v228 local root exploit
#73Earlier quoted context omitted.
Did you know that polkit, the systemd replacement of sudo, uses JavaScript to validate permissions? This was the response: https://lists.freedesktop.org/archives/systemd-devel/2016-De... systemd is a bomb waiting to go off, IMHO.
I think your being so quick to judge anything using JavaScript as inherently bad is silly, but this link just made me realize that using sudo with systemd as I had been seems to be incorrect, so thanks for the link.
In contrast, /etc/sudoers{.d} config is syntactically validated using a strict grammar so that it can be validated for correctness before being loaded and used (hence visudo). It's primarily a declarative language too which means that logic bugs aren't really possible. This means that there is a robust mechanism to detect syntax issues (and some semantic issues) before breaking your system.
Re: Systemd v228 local root exploit
#74Earlier quoted context omitted.
This is the really concerning part. silently fixed in the upstream git is not at all an acceptable way to deal with serious security flaws in your product.
This is frequently how the linux kernel operates.
Re: Systemd v228 local root exploit
#75Earlier quoted context omitted.
It's not the logic of hammering my own fingers that is flawed, it is my choice of a hammer!
You can program touch() to create files with 0777 rights in any language, not just C.
Re: Systemd v228 local root exploit
#76Earlier quoted context omitted.
" Polkit (formerly PolicyKit) is a component for controlling system-wide privileges in Unix-like operating systems. " Calling it the sudo for UIs seems reasonable. It lets you manage the permission level of the UI you're using. Does it do something else?
Youre being too generous. GP's statement was, "Did you know that polkit, the systemd replacement of sudo," He calls it a replacement of sudo which is is definitely not.
Re: Systemd v228 local root exploit
#77Earlier quoted context omitted.
Youre being too generous. GP's statement was, "Did you know that polkit, the systemd replacement of sudo," He calls it a replacement of sudo which is is definitely not.
Uh, so, systemd don't recommend to use `sudo systemctl start blah`. Their idea is to use `systemctl start blah` and have polkit handle the authentication. Not sure what's unclear here.
Re: Systemd v228 local root exploit
#78Earlier quoted context omitted.
I think your being so quick to judge anything using JavaScript as inherently bad is silly, but this link just made me realize that using sudo with systemd as I had been seems to be incorrect, so thanks for the link.
Let's say you write some authorisation code using JavaScript. If it contains a syntax error, or a logic error your authentication is broken for your entire system. Checking the correctness of a program is usually non-trivial, but I accept some things CAN be checked (e.g. syntax). However, JavaScript, naturally is a procedural language and hence the bulk of your problems would be in your logic. In contrast, /etc/sudoe…
Re: Systemd v228 local root exploit
#79>We would like to see that systemd upstream retrieves CVE's themself for their own bugs, even if its believed that its just a local DoS. So not only they didn't notice this was exploitable, they also seem to think that a local DoS is not enough for a CVE or a public report. Excellent.
Did you know that polkit, the systemd replacement of sudo, uses JavaScript to validate permissions? This was the response: https://lists.freedesktop.org/archives/systemd-devel/2016-De... systemd is a bomb waiting to go off, IMHO.
There are much simpler solutions without setuid: https://skarnet.org/software/s6/s6-sudo.html.
Re: Systemd v228 local root exploit
#80Earlier quoted context omitted.
You are making a comment about "The development process [being] too fast and erratic" (it is not). I'm not defending the systemd process, I'm making a point about that. Then again, if you think "obfuscating the init process" is a valid description of what systemd does per your other comment, I'm having a hard time seeing this as anything other than armchair security expertise...
You just resorted to ad personam for the second time. This is my last post in this discussion because of that. Here's why I believe it obfuscates the init process - it clearly is less transparent now. Consider logging, consider a new DSL (in terms of keywords, not necessarily syntax) needed to describe services, consider lack of determinism it brings. Yes, it's faster, but definitely more opaque. As for development p…
That makes on sense. Systemd provides some basic building blocks. Splitting systemd across multiple projects only provides drawbacks, no benefits.
systemd does NOT interfere with GNOME. It provides logind and some other bits which GNOME makes use of.
Talking about "ad personam" is a bit weird if there's so much misinformation.