Security advisory
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2018-10362
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 1 Nov 2026, 08:33 UTC · Revision 1
Source evidence
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.
osv:CVE-2018-10362
Complete source record
{
"id": "b2ffa36d0ac898eaba82b34c36ae6887c4bff174c9d806ed17cf2af438e836f4",
"url": "https://osv.dev/vulnerability/CVE-2018-10362",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2018-10362",
"summary": "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.",
"evidence": "osv:CVE-2018-10362",
"products": [],
"severity": "critical",
"structured": {
"id": "CVE-2018-10362",
"aliases": [
"CVE-2018-10362"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://bitbucket.org/phpliteadmin/public",
"type": "GIT",
"events": [
{
"introduced": "af32e0ef085d6b0651e1e66f8d7385fd8c5a6662"
},
{
"last_affected": "afc27e7338748ef032caa0b1fa4028ec14b26fd6"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:phpliteadmin:phpliteadmin:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "1.9.5"
},
{
"last_affected": "1.9.7.1"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-10362.json"
}
},
{
"ranges": [
{
"repo": "https://github.com/phpliteadmin/pla",
"type": "GIT",
"events": [
{
"introduced": "af32e0ef085d6b0651e1e66f8d7385fd8c5a6662"
},
{
"last_affected": "afc27e7338748ef032caa0b1fa4028ec14b26fd6"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:phpliteadmin:phpliteadmin:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "1.9.5"
},
{
"last_affected": "1.9.7.1"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-10362.json"
}
}
],
"modified": "2026-10-24T10:47:37.570549785Z",
"provider": "osv",
"references": [
"https://github.com/phpLiteAdmin/pla/issues/11"
],
"provider_metadata": {}
},
"related_cves": [
{
"value": "CVE-2018-10362",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 441411,
"published_at": "2018-04-25T05:29:00.313+00:00"
}