Skip to content
Heist/ feed
Back to feed
High

Improper session handling of "Remember me for 7 days" functionality

Type: advisorySources: OSV

Pi-hole®'s Web interface (based off of AdminLTE) provides a central location to manage your Pi-hole. Versions 4.0 and above, prior to 5.18.3 are vulnerable to Insufficient Session Expiration. Improper use of admin WEBPASSWORD hash as "Remember me for 7 days" cookie value makes it possible for an attacker to "pass the hash" to login or reuse a theoretically expired "remember me" cookie. It also exposes the hash over the network and stores it unnecessarily in the browser. The cookie itself is set to expire after 7 days but its value will remain valid as long as the admin password doesn't change. If a cookie is leaked or compromised it could be used forever as long as the admin password is not changed. An attacker that obtained the password hash via an other attack vector (for example a path traversal vulnerability) could use it to login as the admin by setting the hash as the cookie value without the need to crack it to obtain the admin password (pass the hash). The hash is exposed over the network and in the browser where the cookie is transmitted and stored. This issue is patched in version 5.18.3.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2023-23614
Confirmed fixed CVEs
Not specified
Updated in this feed
4 Nov 2026, 01:30 UTC · Revision 1

Source evidence

Improper session handling of "Remember me for 7 days" functionality

core-osv · Original source

Published 26 Jan 2023, 10:15 UTC

Pi-hole®'s Web interface (based off of AdminLTE) provides a central location to manage your Pi-hole. Versions 4.0 and above, prior to 5.18.3 are vulnerable to Insufficient Session Expiration. Improper use of admin WEBPASSWORD hash as "Remember me for 7 days" cookie value makes it possible for an attacker to "pass the hash" to login or reuse a theoretically expired "remember me" cookie. It also exposes the hash over the network and stores it unnecessarily in the browser. The cookie itself is set to expire after 7 days but its value will remain valid as long as the admin password doesn't change. If a cookie is leaked or compromised it could be used forever as long as the admin password is not changed. An attacker that obtained the password hash via an other attack vector (for example a path traversal vulnerability) could use it to login as the admin by setting the hash as the cookie value without the need to crack it to obtain the admin password (pass the hash). The hash is exposed over the network and in the browser where the cookie is transmitted and stored. This issue is patched in version 5.18.3.

osv:CVE-2023-23614
Complete source record
{
  "id": "22958d178b924201813d14702b51acf4532141fc121828d2a2d3d64170dcf022",
  "url": "https://osv.dev/vulnerability/CVE-2023-23614",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Improper session handling of \"Remember me for 7 days\" functionality",
    "summary": "Pi-hole®'s Web interface (based off of AdminLTE) provides a central location to manage your Pi-hole. Versions 4.0 and above, prior to 5.18.3 are vulnerable to Insufficient Session Expiration. Improper use of admin WEBPASSWORD hash as \"Remember me for 7 days\" cookie value makes it possible for an attacker to \"pass the hash\" to login or reuse a theoretically expired \"remember me\" cookie. It also exposes the hash over the network and stores it unnecessarily in the browser. The cookie itself is set to expire after 7 days but its value will remain valid as long as the admin password doesn't change. If a cookie is leaked or compromised it could be used forever as long as the admin password is not changed. An attacker that obtained the password hash via an other attack vector (for example a path traversal vulnerability) could use it to login as the admin by setting the hash as the cookie value without the need to crack it to obtain the admin password (pass the hash). The hash is exposed over the network and in the browser where the cookie is transmitted and stored. This issue is patched in version 5.18.3.",
    "evidence": "osv:CVE-2023-23614",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2023-23614",
      "aliases": [
        "CVE-2023-23614",
        "GHSA-33w4-xf7m-f82m"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/pi-hole/web",
              "type": "GIT",
              "events": [
                {
                  "introduced": "af8c926cefd3f06dbbba0131b7644a1bb45cd514"
                },
                {
                  "fixed": "fb1b5c317e52ebb22380daf05fc94dddf001d6d7"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "5.18.3"
                      }
                    ],
                    "source": "DESCRIPTION"
                  },
                  {
                    "cpe": "cpe:2.3:a:pi-hole:web_interface:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "4.0"
                      },
                      {
                        "fixed": "5.18.3"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v5.18.2",
            "v5.18.1",
            "v5.18",
            "v5.17",
            "v5.16",
            "v5.15.1",
            "v5.15",
            "v5.14.2",
            "v5.14.1",
            "v5.14",
            "v5.13",
            "v5.12",
            "v5.11",
            "v5.10.1",
            "v5.10",
            "v5.9",
            "v5.8",
            "v5.7",
            "v5.6",
            "v5.5.1",
            "v5.5",
            "v5.4",
            "v5.3.2",
            "v5.3.1",
            "v5.3",
            "v5.2.2",
            "v5.2.1",
            "v5.2",
            "v5.1.1",
            "v5.1",
            "v5.0",
            "v4.3.3",
            "v4.3.2",
            "v4.3",
            "v4.2",
            "v4.1.1",
            "v4.1",
            "v4.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-23614.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:32.551395669Z",
      "provider": "osv",
      "references": [
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/23xxx/CVE-2023-23614.json",
        "https://github.com/pi-hole/AdminLTE/security/advisories/GHSA-33w4-xf7m-f82m",
        "https://nvd.nist.gov/vuln/detail/CVE-2023-23614"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-613",
          "CWE-836"
        ],
        "cna_assigner": "GitHub_M",
        "unresolved_ranges": [
          {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "<= 4.0, >= 5.18.3"
                  },
                  {
                    "last_affected": "<= 4.0, >= 5.18.3"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandaloneSingleVersion"
              }
            ]
          }
        ],
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/23xxx/CVE-2023-23614.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2023-23614",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 499446,
  "published_at": "2023-01-26T10:15:21.12+00:00"
}