5
CVSSv2

CVE-2018-10362

Published: 25/04/2018 Updated: 14/02/2024
CVSS v2 Base Score: 5 | Impact Score: 2.9 | Exploitability Score: 10
CVSS v3 Base Score: 9.8 | Impact Score: 5.9 | Exploitability Score: 3.9
VMScore: 445
Vector: AV:N/AC:L/Au:N/C:P/I:N/A:N

Vulnerability Summary

An issue exists in phpLiteAdmin 1.9.5 up to and including 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.

Vulnerable Product Search on Vulmon Subscribe to Product

phpliteadmin phpliteadmin

Vendor Advisories

Debian Bug report logs - #896682 phpliteadmin: CVE-2018-10362: Authorization bypass Package: src:phpliteadmin; Maintainer for src:phpliteadmin is Nicholas Guriev <guriev-ns@yaru>; Reported by: Salvatore Bonaccorso <carnil@debianorg> Date: Mon, 23 Apr 2018 14:09:02 UTC Severity: grave Tags: security, upstream Found ...