weak temp admin password generation
Bug #791166 reported by
David
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cherokee |
Unknown
|
Unknown
|
|||
cherokee (Ubuntu) |
Triaged
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: cherokee
cherokee seeds srand with a combination of the the time and the pid of the admin process after which - rand() is called to generate a random password.
This is not safe. An evil local user can guess the generated password within ~200 attempts.
Vulnerable code:
static ret_t
generate_
{
cuint_t i;
cuint_t n;
for (i=0; i<PASSWORD_LEN; i++) {
n = rand()%
}
return ret_ok;
}
description: | updated |
description: | updated |
description: | updated |
description: | updated |
visibility: | private → public |
To post a comment you must log in.
Thanks for taking the time to report this bug and helping to make Ubuntu better. Since the package referred to in this bug is in universe or multiverse, it is community maintained. If you are able, I suggest posting a debdiff for this issue. When a debdiff is available, members of the security team will review it and publish the package. See the following link for more information: https:/ /wiki.ubuntu. com/SecurityTea m/UpdateProcedu res