Gitlab – Static passwords set during OmniAuth-based registration (CVE-2022-1162)
1–10 of 24 posts
Re: Gitlab – Static passwords set during OmniAuth-based registration (CVE-2022-1162)
#2Re: Gitlab – Static passwords set during OmniAuth-based registration (CVE-2022-1162)
#3To save folks some digging on what exactly this means—it's exactly what it sounds like: https://gitlab.com/gitlab-org/gitlab/-/commit/e2fb87ec5d4e23...
Re: Gitlab – Static passwords set during OmniAuth-based registration (CVE-2022-1162)
#4To save folks some digging on what exactly this means—it's exactly what it sounds like: https://gitlab.com/gitlab-org/gitlab/-/commit/e2fb87ec5d4e23...
Do they not have a code review process?
and I actually suspected it was a matter of the change hiding in an absolute sea of diffs, but there's a comment on the file right below the change: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/76318/...
> (10 Jan, 2022 1 commit) JH need more complex passwords
> (30 Mar, 2022 1 commit) Revert "JH need more complex passwords"
oops
---
In case others are wondering what's up with the JiHu label and its matching "gitlab-jh" group: https://about.gitlab.com/handbook/ceo/chief-of-staff-team/ji...
Re: Gitlab – Static passwords set during OmniAuth-based registration (CVE-2022-1162)
#5To save folks some digging on what exactly this means—it's exactly what it sounds like: https://gitlab.com/gitlab-org/gitlab/-/commit/e2fb87ec5d4e23...
Gitlab::Password.test_default(21) => "123qweQWE!@#000000000"
Re: Gitlab – Static passwords set during OmniAuth-based registration (CVE-2022-1162)
#6Earlier quoted context omitted.
Do they not have a code review process?
https://gitlab.com/gitlab-org/gitlab/-/merge_requests/76318 and I actually suspected it was a matter of the change hiding in an absolute sea of diffs, but there's a comment on the file right below the change: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/76318/... > (10 Jan, 2022 1 commit) JH need more complex passwords > (30 Mar, 2022 1 commit) Revert "JH need more complex passwords" oops --- In case others…
Re: Gitlab – Static passwords set during OmniAuth-based registration (CVE-2022-1162)
#7Earlier quoted context omitted.
Do they not have a code review process?
https://gitlab.com/gitlab-org/gitlab/-/merge_requests/76318 and I actually suspected it was a matter of the change hiding in an absolute sea of diffs, but there's a comment on the file right below the change: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/76318/... > (10 Jan, 2022 1 commit) JH need more complex passwords > (30 Mar, 2022 1 commit) Revert "JH need more complex passwords" oops --- In case others…
I go over to the website try to login with my gmail account via SSO which fails because I "already have an account". So I proceed to reset password via email alone.
After I'm in it tells me I've had an account since January 22nd 2022. Super unlikely i created the account this year, so I don't know what's going on over there, but it's not accurate bookkeeping.
Re: Gitlab – Static passwords set during OmniAuth-based registration (CVE-2022-1162)
#8Re: Gitlab – Static passwords set during OmniAuth-based registration (CVE-2022-1162)
#9Earlier quoted context omitted.
Do they not have a code review process?
https://gitlab.com/gitlab-org/gitlab/-/merge_requests/76318 and I actually suspected it was a matter of the change hiding in an absolute sea of diffs, but there's a comment on the file right below the change: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/76318/... > (10 Jan, 2022 1 commit) JH need more complex passwords > (30 Mar, 2022 1 commit) Revert "JH need more complex passwords" oops --- In case others…
Looking through the PR it looks like this file was accidentally changed, I assume with a project wide search and replace.
I could easily imagine myself missing this when reviewing the PR "oh it's just changing a whole bunch of specs, go ahead".
Re: Gitlab – Static passwords set during OmniAuth-based registration (CVE-2022-1162)
#10Earlier quoted context omitted.
https://gitlab.com/gitlab-org/gitlab/-/merge_requests/76318 and I actually suspected it was a matter of the change hiding in an absolute sea of diffs, but there's a comment on the file right below the change: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/76318/... > (10 Jan, 2022 1 commit) JH need more complex passwords > (30 Mar, 2022 1 commit) Revert "JH need more complex passwords" oops --- In case others…
Is there a better way to catch errors like this? Looking through the PR it looks like this file was accidentally changed, I assume with a project wide search and replace. I could easily imagine myself missing this when reviewing the PR "oh it's just changing a whole bunch of specs, go ahead".
I think a test like this would also have found the dropbox and macos bugs that let you login to any account by using an empty password:
https://techcrunch.com/2011/06/20/dropbox-security-bug-made-...
https://arstechnica.com/information-technology/2017/11/macos...
Edit: Oh, the password was "123qweQWE!@#000000000". Technically doable with an efficient password cracker that favors common patterns. zxcvbn’s entropy estimate says it will take 10^10.5 guesses. That’s 1 week at 50k/s. That’s a hell of an integration test for most software.