CVE-2021-21253 Use of a One-Way Hash without a Salt in OnlineVotingSystem

Medium 5.8 Published Updated

Attackers can crack user passwords using rainbow tables because the voting system hashes passwords without a salt, compromising user accounts.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2021-21253?

CVE-2021-21253 is a medium-severity vulnerability in dbijaya OnlineVotingSystem, published on 21 Jan 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

OnlineVotingSystem is an open source project hosted on GitHub. OnlineVotingSystem before version 1.1.2 hashes user passwords without a salt, which is vulnerable to dictionary attacks. Therefore there is a threat of security breach in the voting system. Without a salt, it is much easier for attackers to pre-compute the hash value using dictionary attack techniques such as rainbow tables to crack passwords. This problem is fixed and published in version 1.1.2. A long randomly generated salt is added to the password hash function to better protect passwords stored in the voting system.

Weakness: CWE-916, CWE-759

Which versions are affected by CVE-2021-21253?

It affects 1 product.

Products include Onlinevotingsystem Project Onlinevotingsystem.

How do I fix CVE-2021-21253?

No fix has been published for CVE-2021-21253 yet. Limit exposure of the affected software until one is available.

Is CVE-2021-21253 being exploited?

There is no known exploitation of CVE-2021-21253 in the wild and no public exploit code.

Sources

Also known as GHSA-wwg8-372v-v332.

Is CVE-2021-21253 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free