Auth bypass in Phpliteadmin
CVE-2018-10362
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.
Vulnerability class: Broken Authentication
Published · last modified .
CVSS v3 metric
CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS: 0.015 (73.7th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 74th percentile — 73.7% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.015 · newest: 0.015 · change: 0.000
Affected products
Weakness classification (CWE)
References
- k3research.outerhaven.de/posts/small-mistakes-lead-to-big-problems.html (Technical Description, URL Repurposed, Third Party Advisory)
- github.com/phpLiteAdmin/pla/issues/11 (Third Party Advisory, Issue Tracking)
Frequently asked questions
- What is CVE-2018-10362?
- CVE-2018-10362 is a critical-severity vulnerability in Phpliteadmin, classified under Improper Authentication. CVSS score: 9.8/10. Published 2018-04-25.
- How severe is CVE-2018-10362?
- Critical severity. CVSS v3 base score is 9.8 out of 10.