/srv/irclogs.ubuntu.com/2023/04/17/#lubuntu-devel.txt

EickmeyerProbably not a bug as the mentality there is, "They don't seriously have a blank password if they're locking the screen."00:01
* arraybolt3 watches tsimonq2 write a patch for XScreenSaver out of thin air00:05
arraybolt3tsimonq2: Keep in mind that, as far as restricting the user's freedom of choice, a user who wants to set a blank password is free to edit the configuration in /etc/calamares to do whatever they want. Nothing we choose here is something they can't override.00:09
arraybolt3It just sets a default that keeps them from harming themselves in multiple ways.00:09
arraybolt3Even if we can fix XScreenSaver, I still feel like it would be better to enforce a password by default. Sure, we want the user to do things as they see fit, but if we know something is usually a bad idea, there's no harm in guiding them away from that and letting them override us if they think they know better for their use case.00:10
arraybolt3Grief. I just actually took a look inside passwd.c in XScreenSaver, and... no. That is a nightmare.00:53
arraybolt3Plus jwz apparently isn't well-known for descriptive variable or function names...00:53
arraybolt3At least not always.00:54
arraybolt3I *think* (not sure) that it uses PAM thought.00:56
arraybolt3*though00:56
arraybolt3Possibly could be related to PAM configuration and "nullok"?00:57
EickmeyerThis is *quite* the rabbit hole for this late in the cycle.00:57
arraybolt3Agreed, but Simon is the release manager. If he doesn't want us to enforce a password by default, and we don't have a council vote to say otherwise, then alternative solutions are possibly good.00:59
arraybolt3(And I'm not about to be the one to ask for us to vote on it :P)00:59
EickmeyerIn the meantime, I'm not happy because Studio is left hanging with what I consider a security bug.01:00
arraybolt3I wish Simon was still around though - I don't see him on Matrix at the moment.01:00
EickmeyerAnd even if the Lubuntu part isn't included, both have to be respun.01:00
arraybolt3That's true.01:00
arraybolt3Well, in the mean time, I have to go take care of the animals. I'll be back soon, most likely.01:01
arraybolt3OK back.01:07
arraybolt3Sigh. I said I wasn't going to ask for a vote, but if Simon's no longer around and we need to do something...01:15
arraybolt3I'll make sure that Ubuntu Desktop does indeed prohibit a blank password. If it does, I think that's more reason to enforce it in Lubuntu.01:16
arraybolt3Otherwise we're going to be the only flavor that allows this unsafe configuration by default, and it looks like it may require relaxing more security settings elsewhere in the system in order to make it work right, which I think is a really bad idea.01:22
arraybolt3Confirmed, you do indeed *need* to provide a password.01:22
arraybolt3For Ubuntu Desktop with the Flutter installer.01:22
Eickmeyer[m]I confirmed it with jbicha as well.01:39
arraybolt3I'm waiting on input from the rest of the Council at the moment. If voted in, I'll ask for it to be accepted.01:40
guivercthanks tsimonq2 11:19
tsimonq2No worries11:38
-queuebot:#lubuntu-devel- Builds: Lubuntu Desktop amd64 [Lunar Final] has been updated (20230417)17:36
EickmeyerEveryone: I'm of 1/2 a mind to security SRU bug 2016436 into Jammy.18:05
-ubottu:#lubuntu-devel- Bug 2016436 in calamares-settings-ubuntu (Ubuntu) "Calamares will let you set up a user account with no password" [Critical, Fix Released] https://launchpad.net/bugs/201643618:05
EickmeyerWouldn't take effect until 22.04.3, but still...18:06
arraybolt3Eickmeyer: I don't think the bug affects Jammy.19:29
EickmeyerWould have to test, but I'd almost bet it does.19:29
tsimonq2-1 for the security pocket, subject to override by the Security Team.19:35
Eickmeyertsimonq2: You and I agree on a lot, but security is one area where I'm not willing to compromise user choice. I'm sure teward would agree with me on this one.19:37
tewardsounds like you need me to make a choice19:38
teward:P19:38
Eickmeyerteward: Apparently we (both Lubuntu and Ubuntu Studio) have been letting Calamares let the user install without a password, which IMO compromises the security of the installed system.19:38
EickmeyerFixed for 23.04 but we don't know if the LTS has been letting that happen all along or not. Yet to investigate.19:39
tsimonq2I still consider it a UX regression, and if the user wants to install without a password (like every other major platform) they should be warned but not stopped 19:39
EickmeyerUbiquity has *never* allowed zero password, and ubuntu-desktop-installer doesn't either.19:39
EickmeyerAll for security reasons.19:40
EickmeyerSecurity > UX19:40
tsimonq2I still don't think it's a security bug19:41
tewardthen you're not aware of how MITRE processes passwords19:42
tsimonq2And how is that, exactly?19:42
tewardCWE-2019:42
tewardhttps://owasp.org/www-community/vulnerabilities/Empty_String_Password19:42
tewardCWE-25819:42
tewardhttps://cwe.mitre.org/data/definitions/258.html19:42
tewardothers19:43
tewardso the vulnerability of *allowing* empty or nonexistent passwords is a violation of at least one CWE19:43
tewardif this doesn't have a CVE yet it should get one19:43
Eickmeyerteward: Have at it. bug 201643619:44
-ubottu:#lubuntu-devel- Bug 2016436 in calamares-settings-ubuntu (Ubuntu) "Calamares will let you set up a user account with no password" [Critical, Fix Released] https://launchpad.net/bugs/201643619:44
tsimonq2If you're confident this qualifies, fine, but a) I'm not volunteering for any paperwork and b) every other platform might as well have a CVE too19:44
tewardc) Security team handles CVEs19:45
tewardtsimonq2: if this is a configurable *option* or gives a warning about risk and user has to accept the risk, that mitigates the CWE19:45
tewardbut simply *allowing* it without any notice is a badness19:45
tewardsame for weak passwords - it shows "weak password" in all the installers currently so you KNOW you're using a weak pw19:45
tewardthereby leaving it to the user to *accept* that it's a weak pw or such19:45
tewardno password is the weakest :p19:46
tsimonq2I'm in favor of a user warning and would definitely write that code, what I'm not in favor of is completely disallowing blank passwords even if the user explicitly wants it 19:47
Eickmeyer*sigh* Well, Ubuntu Studio will not be using Calamares in 23.10 and later. Even if I can't get the new installer figured-out, we'll be going back to Ubiquity and use the GTK version.19:50
EickmeyerI'm just tired of this stuff popping up.19:50
tsimonq2Your call, we'll still be on Calamares for the foreseeable future.19:53
Eickmeyer[m]<tsimonq2> "If you're confident this..." <- I can do the SRU paperwork, and since it's a security issue, I'll involve the security team.19:58
arraybolt3Eickmeyer[m]: I'd really recommend testing before doing all that :)20:04
arraybolt3Remember we had a *major* Calamares version upgrade in Kinetic.20:04
arraybolt3Focal did *not* allow blank passwords.20:05
arraybolt3And I think Jammy probably won't either.20:05
arraybolt3(I'd test but other stuff is in the way over here so...)20:05
Eickmeyerarraybolt3: Yes, obviously.20:05
EickmeyerI've got stuff in the way as well.20:05
arraybolt3Sigh. Maybe there's some way us and Studio can come to an agreement on what we will and won't do with Calamares so we can both keep using it? I have an installation of Studio over here that would have been either impossible or very difficult to do with Ubiquity that was actually doable with Calamares.20:08
arraybolt3And I hate Ubiquity, like, a lot as far as installers go.20:08
EickmeyerEveryone: Jammy does allow a blank password.20:15
arraybolt3#WellThatStinks20:15
arraybolt3OK, SRU and CVE it is. And we should add instructions to test for this sort of thing to our testcases.20:16
arraybolt3Other Ubuntu flavors have password requirement testing as part of the testcases, but Lubuntu's testing system doesn't really use the ISO tracker test cases since we have more complex requirements. And it appears this slipped through.20:17
EickmeyerWell, it's possible that the password requirement was *intentionally omitted*. Still waiting on a response from the security team.20:18
arraybolt3That I do not know. I wasn't around for the initial Jammy release.20:19
arraybolt3(If this had started in Kinetic, I would know it wasn't intentional because it would have been my fault in porting over the Calamares config to the newer version. But in Jammy, no clue there.)20:19
EickmeyerNot your fault. Don't worry about Kinetic, it has 3 months of life left and we can't exactly respin, nor are we expecting a point release for it. 22.04.3 is an eventuality, though.20:20
arraybolt3Glad we found it and are getting it fixed.20:22
arraybolt3(One more thought I just had is that a passwordless, sudo-enabled account on Linux has more far-reaching consequences than a passwordless administrator account on Windows. If a command asks for admin privileges on Windows, UAC still requires that the user provide that permission, even if it can be given my just pressing a button. On Linux, a malicious program could just fire up "sudo" and be20:28
arraybolt3in.)20:28
arraybolt3*by, not my20:28

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!