Lucene search

K
cve[email protected]CVE-2018-10362
HistoryApr 25, 2018 - 5:29 a.m.

CVE-2018-10362

2018-04-2505:29:00
CWE-287
web.nvd.nist.gov
29
cve-2018-10362
phpliteadmin
loose comparison
authorization
security vulnerability
nvd

5 Medium

CVSS2

Attack Vector

NETWORK

Attack Complexity

LOW

Authentication

NONE

Confidentiality Impact

PARTIAL

Integrity Impact

NONE

Availability Impact

NONE

AV:N/AC:L/Au:N/C:P/I:N/A:N

9.8 High

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

9.4 High

AI Score

Confidence

High

0.004 Low

EPSS

Percentile

73.5%

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.

Affected configurations

NVD
Node
phpliteadminphpliteadminRange1.9.51.9.7.1

5 Medium

CVSS2

Attack Vector

NETWORK

Attack Complexity

LOW

Authentication

NONE

Confidentiality Impact

PARTIAL

Integrity Impact

NONE

Availability Impact

NONE

AV:N/AC:L/Au:N/C:P/I:N/A:N

9.8 High

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

9.4 High

AI Score

Confidence

High

0.004 Low

EPSS

Percentile

73.5%