GitLab Community Edition (CE) and GitLab Enterprise Edition (EE) have been patched to fix a major flaw regarding hard-coded passwords, the company has revealed.
In an advisory that accompanied the fix, GitLab explained how the flaw gave potential attackers the ability to completely take over vulnerable endpoints (opens in new tab).
The vulnerability revolves around how the software generates a fake strong password (opens in new tab) for testing. There are three elements: User.password_length.max, a user-set maximum character number for a password, DEFAULT_LENGTH, which is hard-coded at 12 characters, and the fake strong password for testing - "123qweQWE!@#".
The difference between the first two factors is filled with zeros.
We're looking at how our readers use VPNs with different devices so we can improve our content and offer better advice. This survey shouldn't take more than 60 seconds of your time. Thank you for taking part.
>> Click here to start the survey in a new window (opens in new tab) <<
High severity vulnerabilities
So, for example, if a user were to set a maximum number of characters for a password at 21, the software would combine “123qweQWE!@#” with a number of zeros to reach that maximum. In this particular example, it would be “123qweQWE!@#000000000”, and that password would grant access to all accounts created with OmniAuth.
The bug is tracked as CVE-2022-1162, and was given a severity score of 9.1.
It was discovered, and patched, by the GitLab team, and allegedly, wasn’t abused in the wild - with the company saying that no user identities (opens in new tab) have been stolen so far.
"We executed a reset of GitLab.com passwords for a selected set of users as of 15:38 UTC [Thursday]," the advisory reads. "Our investigation shows no indication that users or accounts have been compromised but we’re taking precautionary measures for our users’ security."
> Hybrid working could be a catastrophic mistake (opens in new tab)
> When open source is done right, the sky's the limit (opens in new tab)
> Four ways going fully remote can benefit technology teams (opens in new tab)
GitLab is a DevOps software that offers a one-stop-shop for developers looking to create, secure, and operate their software. The cloud-hosted software’s newest versions include 14.9.2, 14.8.5, and 14.7.7, and the developers are urging the users to apply the patches immediately.
In total, 12 flaws have been fixed with these patches, including a stored XSS vulnerability. According to company data, GitLab has a million active users.
- To keep your premises secure, make sure to grab one of the best firewalls right now (opens in new tab)
Via: The Register (opens in new tab)