{"id":"UBUNTU-CVE-2018-10362","details":"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.","modified":"2025-07-16T07:37:39.021183Z","published":"2018-04-25T05:29:00Z","upstream":["CVE-2018-10362"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2018-10362"},{"type":"REPORT","url":"https://github.com/phpLiteAdmin/pla/issues/11"},{"type":"REPORT","url":"http://k3research.outerhaven.de/posts/small-mistakes-lead-to-big-problems.html"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2018-10362"}],"affected":[{"package":{"name":"phpliteadmin","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/phpliteadmin@1.9.7.1-1ubuntu0.1?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.9.7.1-1ubuntu0.1"}]}],"versions":["1.9.7.1-1"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_version":"1.9.7.1-1ubuntu0.1","binary_name":"phpliteadmin"},{"binary_name":"phpliteadmin-themes","binary_version":"1.9.7.1-1ubuntu0.1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-10362.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"type":"Ubuntu","score":"high"}]}