Lucene search
K

phpLiteAdmin 1.9.7.1 Authorization Bypass Vulnerability

🗓️ 26 Apr 2018 00:00:00Reported by Karsten KonigType 
zdt
 zdt
🔗 0day.today👁 151 Views

PHP Authorization Bypass Vulnerability in phpLiteAdmin 1.9.7.

Code
I found a small issue in PHPLiteAdmin. It's an authorization bypass
which works since version 1.9.5 from 2014 (current is 1.9.7.1) because
PLA uses '==' instead of '===' for the password comparison in
'attemptGrant' of the 'Authorization' class. If the password is set to
one which correspondends to a number in scientific notation, one could
easier bruteforce the password or bypass it completely, e.g.:

php > var_dump('200' == '2e2');
bool(true)
php > var_dump('0' == '0e2');
bool(true)
php > var_dump('0' == '0e2342');
bool(true)

I opened an issue at GitHub for this[0] and have written about it[1]
(section 2 is the interesting one for this issue).

Best,

Karsten

[0] https://github.com/phpLiteAdmin/pla/issues/11
[1]
http://k3research.outerhaven.de/posts/small-mistakes-lead-to-big-problems.html

#  0day.today [2018-04-26]  #

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

26 Apr 2018 00:00Current
0.2Low risk
Vulners AI Score0.2
151