/srv/irclogs.ubuntu.com/2022/01/19/#xubuntu-devel.txt

bluesabreJackFrost: That's unpleasant.03:03
JackFrostThat's some seriously bad crap..03:03
JackFrostbluesabre: I spoke up in #canonical-sysadmin03:04
bluesabreJackFrost: much appreciated.03:04
JackFrostKudos go to tomreyn for getting this handled last time, seems Canonical is having a bad time right now...03:05
bluesabreIs it just our server(s?) or more widespread?03:05
JackFrostLikely just wp being terrible...03:06
JackFrostANd outdated.03:06
bluesabreOof.03:08
geniiwordpress?03:14
JackFrostyeah.03:19
JackFrostTaking a look at the dev server, just to be on the safe side. :P03:24
tomreynhttps://gf.dev/wordpress-security-scanner says it's WP 5.8.1. if correct, it would be potentially affected by two SQLi vulnerabilities. also, the 'openid' plugin hasn't seen much love lately.04:12
JackFrostI just updated staging.xubuntu.org and contest. to current, on openid and WP itself.04:12
tomreynhttps://staging.xubuntu.org/wp-login.php prints a warning04:16
JackFrostYep.04:20
tomreynand contest has directory indexes enabled https://contest.xubuntu.org/wp-content/uploads/04:20
JackFrostBoth do..04:23
tomreynoh yes. alright, bedtime for me. hopefully tcuthbertcan's patches can get reviewed + merged soon.04:25
JackFrosttomreyn: Disabled, if someone wanted them on, well they can be turned back on.04:27
tomreynquttera's url normalization is just terrible. they try to prevent you scanning the same site twice in half an hour, but just changing the url to upper case or adding "www." in front works around that.04:39
tomreynand i just logged in to https://xubuntu.org/wp-admin/index.php using my tomreyn SSO user name - not sure i should be able to do so.04:40
JackFrostI don't have any powers there, I can only login because of xubuntu-team.04:42
=== genii is now known as genii-core
tomreynme neither, not that any are visible anyways (and i'm not going beyond that). the bed really calls now. ;-) ttyl.04:46
JackFrostSleep well.04:47
=== meetingology` is now known as meetingology
=== madhens_ is now known as madhens
=== ubot3 is now known as ubottu
knometomreyn, i don't think there is a way to stop people from creating acounts and logging in to xubuntu.org (as subscribers) as we're using the openid login, but it's a long time i *actually* worked with this, so who knows if i misremember or something has changed since21:16
knomeJackFrost, given the situation, would you like to be added to ~xubuntu-website to gain some power?21:17
JackFrostWell...Not precisely, but I guess yeah.22:48
knomepleia2, maybe you could grant JackFrost access to -website?)22:49
tomreynknome: looks like the privileges granted to the average user logging in via SSO are very limited, so it probably doesn't really change much in terms of making it easier to escalate privileges from there (compared to no login)22:55
knometomreyn, as i said, "subscriber", so basically it means they'll have an "account" registered, but that's about it22:56
tomreynstill, any user added this way seems to end up on the database, which could be a problem if the DB grows too large (e.g. due to a malfunctionaing spam bot) or privacy.22:56
knomeas i see it, the main purpose of this is that maintainers can create posts that only registered users can see22:56
tomreynoh "subscriber" is the role, sorry, i'm not so familiar with those.22:56
knome(ofc we don't use that functionality, but..)22:56
knomenp22:57
knomewell the spammers need to have launchpad accounts22:57
knomethat limits it a bit22:57
tomreynso the openid only works against this provider?22:57
knomeagain it's a long time since i've checked, but i'm pretty sure there is another (canonical created) plugin that limits it to launchpad, yes22:58
knomein a way or another22:58
tomreynanyways, a mostly theoretical discussion at this point, and not the actual cause of these problems, i guess22:58
knomesure, i don't see this as a problem22:59
knomethe revision history showed that the spammy edits were done by the "admin" (ID 1) user22:59
knomewhich is the easy target for spammers/hackers, since if user ID 1 exists, it's almost always an admin user22:59
tomreynso it's possibly still the same problem as early december22:59
knomei think it's even on the WP website that if you want to "harden" your installation, you should add another user and remove the user ID 1 right after setting your site up23:01
knomebecause then automated attacks which try to use this knowledge to their benefit will simply fail23:01
knome...but at least when xubuntu.org was set up, canonical didn't have that practice23:02
tomreyni also remember reading this somewhere about wordpress basics23:06
pleia2yeah, let's see23:06
tomreynalso something about renaming the user23:06
pleia2I have done the thing23:08
knomepleia2, thank you! <323:09
knometomreyn, i don't think renaming the user helps, as its ID is still 1, which can be used for the attacks23:10
knomeand if you create another user and delete the first one, you don't need to rename ;)23:12
knome(also, it's really handy to remove the first user as then you get rid of all the nonsense default content at once ;))23:12
knome(disclaimer: a sizeable amount of my work is understanding wordpress)23:13
JackFrostpleia2, knome: Thanks, I'll stay away from actually touching content. :>23:20
pleia2:)23:20
pleia2thanks for keeping an eye on things23:20
JackFrost...I still hesitate to reboot that server. :P23:21
JackFrostknome: Speaking of which, I have admin on contest (IIRC?) but not staging.  Plz2fix?23:21
pleia2haha23:21
pleia2I'm around most weekdays during the day, just ping me to see if I'm around when you do a reboot in case of emergency ;D23:22
JackFrostOh dear, it also emails you on reboots doesn't it?23:23
pleia2yeah23:23
pleia2I have monitoring on it, but it doesn't page me or anything (just email, I'll sleep through it :))23:24
JackFrostI try to do kernel reboots late so few people notice.23:24
knomeJackFrost, i went ahead and gave you admin @staging, but... now i notice it's also using openid, so you should get all the admin powers with the -website membership23:25
JackFrostAh, righty.23:26

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