CVE-2018-10362 Auth bypass in n/a

Critical 9.8 Published Updated

Attackers can bypass authentication in phpLiteAdmin by exploiting loose comparison to log in with simplified passwords.

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

What is CVE-2018-10362?

CVE-2018-10362 is a critical authentication bypass vulnerability in n/a, published on 25 Apr 2018. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

An issue was discovered in phpLiteAdmin 1.9.5 through 1.9.7.1. Due to loose comparison with '==' instead of '===' in classes/Authorization.php for the user-provided login password, it is possible to login with a simpler password if the password has the form of a power in scientific notation (like '2e2' for '200' or '0e1234' for '0'). This is possible because, in the loose comparison case, PHP interprets the string as a number in scientific notation, and thus converts it to a number. After that, the comparison with '==' casts the user input (e.g., the string '200' or '0') to a number, too. Hence the attacker can login with just a '0' or a simple number he has to brute force. Strong comparison with '===' prevents the cast into numbers.

Weakness: CWE-287

Which versions are affected by CVE-2018-10362?

It affects 1 product.

Products include Phpliteadmin Phpliteadmin.

How do I fix CVE-2018-10362?

Apply the vendor's patch.

Upgrade, and rotate credentials and sessions that may have been exposed. More about Authentication bypass.

Is CVE-2018-10362 being exploited?

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

Sources

Also known as CVE-2018-1000541, DEBIAN-CVE-2018-10362, GHSA-pm5v-j6jx-wmr3, UBUNTU-CVE-2018-10362.

Is CVE-2018-10362 in your software?

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

Check your SBOMs for free