CVE-2018-10362

Source
https://nvd.nist.gov/vuln/detail/CVE-2018-10362
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2018-10362.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2018-10362
Related
Published
2018-04-25T05:29:00Z
Modified
2024-11-21T03:41:15Z
Severity
  • 9.8 (Critical) CVSS_V3 - CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
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.

References

Affected packages

Debian:11 / phpliteadmin

Package

Name
phpliteadmin
Purl
pkg:deb/debian/phpliteadmin?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.9.7.1-2

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:12 / phpliteadmin

Package

Name
phpliteadmin
Purl
pkg:deb/debian/phpliteadmin?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.9.7.1-2

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:13 / phpliteadmin

Package

Name
phpliteadmin
Purl
pkg:deb/debian/phpliteadmin?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.9.7.1-2

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Git / github.com/phpliteadmin/pla

Affected ranges

Type
GIT
Repo
https://github.com/phpliteadmin/pla
Events