|
|
|
|
|
by remus
854 days ago
|
|
In general it's a defense-in-depth thing. You definitely shouldn't be relying on it, but as an attacker it just makes your life a bit harder if it's not straightforward to work out object IDs. For example, imagine you're poking around a system that uses incrementing ints as public identifiers. Immediately, you can make a good guess that there's probably going to be some high privileged users with user_id=1..100 so you can start probing around those accounts. If you used UUIDs or similar then you're not leaking that info. In gitlabs case this is much less relevant, and it's more fo a cosmetic thing. |
|
Why, though? GitLab is often self hosted, so being able to iterate through objects, like users, can be useful for an attacker.