Skip to content
Heist/ feed
Back to feed
CriticalFix available

phpliteadmin — security advisory

Type: advisorySources: OSVAdvisory ID: DEBIAN-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.

Products
phpliteadmin
Affected versions
Not specified
Fixed versions
1.9.7.1-2
CVEs
CVE-2018-10362
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 01:28 UTC · Revision 1

Source evidence

DEBIAN-CVE-2018-10362

core-osv · Original source

Published 25 Apr 2018, 05:29 UTC

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:DEBIAN-CVE-2018-10362

phpliteadmin

Fixed versions: 1.9.7.1-2

phpliteadmin

Fixed versions: 1.9.7.1-2

phpliteadmin

Fixed versions: 1.9.7.1-2

Complete source record
{
  "id": "5d1e407b94a27549b61cb8fabfa1e2b3c9dd79b80458ca9e5e116cf9674d17b8",
  "url": "https://osv.dev/vulnerability/DEBIAN-CVE-2018-10362",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "DEBIAN-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:DEBIAN-CVE-2018-10362",
    "products": [
      {
        "name": {
          "value": "phpliteadmin",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "1.9.7.1-2",
            "evidence": "/affected/0/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "phpliteadmin",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "1.9.7.1-2",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "phpliteadmin",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "1.9.7.1-2",
            "evidence": "/affected/2/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "critical",
    "structured": {
      "id": "DEBIAN-CVE-2018-10362",
      "aliases": [
        "DEBIAN-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": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "1.9.7.1-2"
                }
              ]
            }
          ],
          "package": {
            "name": "phpliteadmin",
            "purl": "pkg:deb/debian/phpliteadmin?arch=source&distro=bookworm",
            "ecosystem": "Debian:12"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2018-10362.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "1.9.7.1-2"
                }
              ]
            }
          ],
          "package": {
            "name": "phpliteadmin",
            "purl": "pkg:deb/debian/phpliteadmin?arch=source&distro=trixie",
            "ecosystem": "Debian:13"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2018-10362.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "1.9.7.1-2"
                }
              ]
            }
          ],
          "package": {
            "name": "phpliteadmin",
            "purl": "pkg:deb/debian/phpliteadmin?arch=source&distro=forky",
            "ecosystem": "Debian:14"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2018-10362.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        }
      ],
      "modified": "2026-10-23T18:04:46.491068097Z",
      "provider": "osv",
      "upstream": [
        "CVE-2018-10362"
      ],
      "references": [
        "https://security-tracker.debian.org/tracker/CVE-2018-10362"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2018-10362",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 423673,
  "published_at": "2018-04-25T05:29:00.313+00:00"
}