Add table of contents. Indent code to match coding style.

This commit is contained in:
inference 2023-03-13 14:47:54 +00:00
parent 5e83403040
commit bcb0c74733
Signed by: inference
SSH Key Fingerprint: SHA256:9Pl0nZ2UJacgm+IeEtLSZ4FOESgP1eKCtRflfPfdX9M

View File

@ -5,7 +5,7 @@
<!-- Copyright 2022-2023 Jake Winters --> <!-- Copyright 2022-2023 Jake Winters -->
<!-- SPDX-License-Identifier: BSD-3-Clause-Clear --> <!-- SPDX-License-Identifier: BSD-3-Clause-Clear -->
<!-- Version: 3.0.0.12 --> <!-- Version: 3.1.0.13 -->
<html> <html>
@ -36,84 +36,110 @@
<br> <br>
<br> <br>
<h2>systemd Insecurity</h2> <h2>systemd Insecurity</h2>
<br> <br>
<p class="update_date">Posted: 2022-01-29 (UTC+00:00)</p> <p class="update_date">Posted: 2022-01-29 (UTC+00:00)</p>
<p class="update_date">Updated: 2022-11-14 (UTC+00:00)</p> <p class="update_date">Updated: 2022-11-14 (UTC+00:00)</p>
<br> <br>
<br> <br>
<p>Anyone who cares about security may want to switch from systemd as soon as possible; its lead <!-- Table of contents. -->
developer doesn't care about your security at all.</p> <h2 id="toc"><a href="#toc" class="h2"
<br> >Table of Contents<a/></h2>
<br> <ul>
<h3>Issue #0 - Against CVE Assignment</h3> <li><a href="#issue0" class="body-link"
<br> >Issue #0 - Against CVE Assignment</a></li>
<p>Poettering:<br> <li><a href="#issue1" class="body-link"
"You don't assign CVEs to every single random bugfix we do, do you?"</p> >Issue #1 - CVEs Are Not Useful</a></li>
<br> <li><a href="#issue2" class="body-link"
<p>My thoughts:<br> >Issue #2 - Security is a Circus</a></li>
Yes, if they're security-related.</p> <li><a href="#issue3" class="body-link"
<br> >Issue #3 - Blaming the User</a></li>
<p>Source:<br> </ul>
<a class="body-link" href="https://github.com/systemd/systemd/pull/5998#issuecomment-303782334" <br>
>systemd GitHub Issue 5998</a></p> <br>
<br> <br>
<br>
<br> <p>Anyone who cares about security may want to switch from systemd as soon as possible; its lead
<h3>Issue #1 - CVEs Are Not Useful</h3> developer doesn't care about your security at all.</p>
<br> <br>
<p>Poettering:<br> <br>
"Humpf, I am not convinced this is the right way to announce this. We never did that, and half the <br>
CVEs aren't useful anyway, hence I am not sure we should start with that now, because it is either
inherently incomplete or blesses the nonsensical part of the CVE circus which we really shouldn't <h2 id="issue0"><a href="#issue0" class="h2"
bless..."</p> >Issue #0 - Against CVE Assignment</a></h2>
<br> <br>
<p>My thoughts:<br> <p>Poettering:<br>
CVEs are supposed to be for security, and a log of when they were found and their severity, so yes, "You don't assign CVEs to every single random bugfix we do, do you?"</p>
it *is* the correct way to announce it. It seems as if over 95 security-concious people think the <br>
same.</p> <p>My thoughts:<br>
<br> Yes, if they're security-related.</p>
<p>Source:<br> <br>
<a class="body-link" href="https://github.com/systemd/systemd/pull/6225#issuecomment-311739869" <p>Source:<br>
>systemd GitHub Issue 6225</a></p> <a class="body-link" href="https://github.com/systemd/systemd/pull/5998#issuecomment-303782334"
<br> >systemd GitHub Issue 5998</a></p>
<br> <br>
<br> <br>
<h3>Issue #2 - Security is a Circus</h3> <br>
<br>
<p>Poettering:<br> <h2 id="issue1"><a href="#issue1" class="h2"
"I am not sure I buy enough into the security circus to do that though for any minor issue..."</p> >Issue #1 - CVEs Are Not Useful</a></h2>
<br> <br>
<p>Source:<br> <p>Poettering:<br>
<a class="body-link" href="https://github.com/systemd/systemd/issues/5144#issuecomment-276740654" "Humpf, I am not convinced this is the right way to announce this. We never did that, and half the
>systemd GitHub Issue 5144</a></p> CVEs aren't useful anyway, hence I am not sure we should start with that now, because it is either
<br> inherently incomplete or blesses the nonsensical part of the CVE circus which we really shouldn't
<br> bless..."</p>
<br> <br>
<h3>Issue #3 - Blaming the User</h3> <p>My thoughts:<br>
<br> CVEs are supposed to be for security, and a log of when they were found and their severity, so yes,
<p>Poettering:<br> it *is* the correct way to announce it. It seems as if over 95 security-concious people think the
"Yes, as you found out "0day" is not a valid username. I wonder which tool permitted you to create same.</p>
it in the first place. Note that not permitting numeric first characters is done on purpose: to <br>
avoid ambiguities between numeric UID and textual user names.<br> <p>Source:<br>
<br> <a class="body-link" href="https://github.com/systemd/systemd/pull/6225#issuecomment-311739869"
systemd will validate all configuration data you drop at it, making it hard to generate invalid >systemd GitHub Issue 6225</a></p>
configuration. Hence, yes, it's a feature that we don't permit invalid user names, and I'd consider <br>
it a limitation of xinetd that it doesn't refuse an invalid username.<br> <br>
<br> <br>
So, yeah, I don't think there's anything to fix in systemd here. I understand this is annoying, but
still: the username is clearly not valid."</p> <h2 id="issue2"><a href="#issue2" class="h2">
<br> Issue #2 - Security is a Circus</a></h2>
<p>My thoughts:<br> <br>
systemd was the thing that allowed root access just because a username started with a number, then <p>Poettering:<br>
Poettering blamed the user.</p> "I am not sure I buy enough into the security circus to do that though for any minor issue..."</p>
<br> <br>
<p>Source:<br> <p>Source:<br>
<a class="body-link" href="https://github.com/systemd/systemd/issues/6237#issuecomment-311900864" <a class="body-link" href="https://github.com/systemd/systemd/issues/5144#issuecomment-276740654"
>systemd GitHub Issue 6237</a></p> >systemd GitHub Issue 5144</a></p>
<br> <br>
<br> <br>
<br>
<h2 id="issue3"><a href="#issue3" class="h2"
>Issue #3 - Blaming the User</a></h2>
<br>
<p>Poettering:<br>
"Yes, as you found out "0day" is not a valid username. I wonder which tool permitted you to create
it in the first place. Note that not permitting numeric first characters is done on purpose: to
avoid ambiguities between numeric UID and textual user names.<br>
<br>
systemd will validate all configuration data you drop at it, making it hard to generate invalid
configuration. Hence, yes, it's a feature that we don't permit invalid user names, and I'd consider
it a limitation of xinetd that it doesn't refuse an invalid username.<br>
<br>
So, yeah, I don't think there's anything to fix in systemd here. I understand this is annoying, but
still: the username is clearly not valid."</p>
<br>
<p>My thoughts:<br>
systemd was the thing that allowed root access just because a username started with a number, then
Poettering blamed the user.</p>
<br>
<p>Source:<br>
<a class="body-link" href="https://github.com/systemd/systemd/issues/6237#issuecomment-311900864"
>systemd GitHub Issue 6237</a></p>
<br>
<br>
</body> </body>
</html> </html>