Vulnerability 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.
CVSS Score
CRITICAL
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Phpliteadmin | Phpliteadmin | >= 1.9.5, <= 1.9.7.1 |
Related Weaknesses (CWE)
References
- http://k3research.outerhaven.de/posts/small-mistakes-lead-to-big-problems.htmlTechnical DescriptionThird Party AdvisoryURL Repurposed
- https://github.com/phpLiteAdmin/pla/issues/11Issue TrackingThird Party Advisory
- http://k3research.outerhaven.de/posts/small-mistakes-lead-to-big-problems.htmlTechnical DescriptionThird Party AdvisoryURL Repurposed
- https://github.com/phpLiteAdmin/pla/issues/11Issue TrackingThird Party Advisory
FAQ
What is CVE-2018-10362?
CVE-2018-10362 is a vulnerability with a CVSS score of 9.8 (CRITICAL). 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 l...
How severe is CVE-2018-10362?
CVE-2018-10362 has been rated CRITICAL with a CVSS base score of 9.8/10. This is considered a critical vulnerability requiring immediate attention.
Is there a patch for CVE-2018-10362?
Check the references section above for vendor advisories and patch information. Affected products include: Phpliteadmin Phpliteadmin.