Common Weakness Enumeration

CWE-613

Allowed-with-Review

Insufficient Session Expiration

Abstraction: Base · Status: Incomplete

According to WASC, "Insufficient Session Expiration is when a web site permits an attacker to reuse old session credentials or session IDs for authorization."

1162 vulnerabilities reference this CWE, most recent first.

GHSA-XQQG-X653-VRX5

Vulnerability from github – Published: 2024-01-26 21:30 – Updated: 2024-04-01 09:30
VLAI
Details

A vulnerability was found in Totolink N200RE V5 9.3.5u.6255_B20211224. It has been classified as problematic. Affected is an unknown function of the file /cgi-bin/cstecgi.cgi. The manipulation leads to session expiration. It is possible to launch the attack remotely. The complexity of an attack is rather high. The exploitability is told to be difficult. The exploit has been disclosed to the public and may be used. VDB-252186 is the identifier assigned to this vulnerability. NOTE: The vendor was contacted early about this disclosure but did not respond in any way.

Show details on source website

{
  "affected": [],
  "aliases": [
    "CVE-2024-0942"
  ],
  "database_specific": {
    "cwe_ids": [
      "CWE-613"
    ],
    "github_reviewed": false,
    "github_reviewed_at": null,
    "nvd_published_at": "2024-01-26T20:15:54Z",
    "severity": "LOW"
  },
  "details": "A vulnerability was found in Totolink N200RE V5 9.3.5u.6255_B20211224. It has been classified as problematic. Affected is an unknown function of the file /cgi-bin/cstecgi.cgi. The manipulation leads to session expiration. It is possible to launch the attack remotely. The complexity of an attack is rather high. The exploitability is told to be difficult. The exploit has been disclosed to the public and may be used. VDB-252186 is the identifier assigned to this vulnerability. NOTE: The vendor was contacted early about this disclosure but did not respond in any way.",
  "id": "GHSA-xqqg-x653-vrx5",
  "modified": "2024-04-01T09:30:31Z",
  "published": "2024-01-26T21:30:22Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2024-0942"
    },
    {
      "type": "WEB",
      "url": "https://drive.google.com/file/d/1oWAGbmDtHDIUN1WSRAh4ZnuzHOuvTU4T/view?usp=sharing"
    },
    {
      "type": "WEB",
      "url": "https://vuldb.com/?ctiid.252186"
    },
    {
      "type": "WEB",
      "url": "https://vuldb.com/?id.252186"
    },
    {
      "type": "WEB",
      "url": "https://vuldb.com/?submit.269679"
    },
    {
      "type": "WEB",
      "url": "https://youtu.be/b0tU2CiLbnU"
    }
  ],
  "schema_version": "1.4.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N",
      "type": "CVSS_V3"
    }
  ]
}

GHSA-XQRW-V83C-FJPF

Vulnerability from github – Published: 2026-03-16 15:30 – Updated: 2026-04-20 15:31
VLAI
Details

Insufficient Session Expiration in Truesec’s LAPSWebUI before version 2.4 allows an attacker with access to a workstation to escalate their privileges via disclosure of local admin password.

Show details on source website

{
  "affected": [],
  "aliases": [
    "CVE-2025-15552"
  ],
  "database_specific": {
    "cwe_ids": [
      "CWE-613"
    ],
    "github_reviewed": false,
    "github_reviewed_at": null,
    "nvd_published_at": "2026-03-16T14:17:56Z",
    "severity": "MODERATE"
  },
  "details": "Insufficient Session Expiration in Truesec\u2019s LAPSWebUI before version 2.4 allows an attacker with access to a workstation to escalate their privileges via disclosure of local admin password.",
  "id": "GHSA-xqrw-v83c-fjpf",
  "modified": "2026-04-20T15:31:50Z",
  "published": "2026-03-16T15:30:41Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2025-15552"
    },
    {
      "type": "WEB",
      "url": "https://labs.reversec.com/advisories/2026/03/long-session-lifetime-in-truesec-lapswebui"
    }
  ],
  "schema_version": "1.4.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    },
    {
      "score": "CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:P/VC:H/VI:N/VA:N/SC:H/SI:H/SA:H/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X",
      "type": "CVSS_V4"
    }
  ]
}

GHSA-XRGP-J4FJ-FQWR

Vulnerability from github – Published: 2024-03-05 12:30 – Updated: 2025-04-23 18:30
VLAI
Details

A CWE-613 “Insufficient Session Expiration” vulnerability in the web application, due to the session cookie “sessionid” lasting two weeks, facilitates session hijacking attacks against victims. This issue affects: AiLux imx6 bundle below version imx6_1.0.7-2.

Show details on source website

{
  "affected": [],
  "aliases": [
    "CVE-2023-45600"
  ],
  "database_specific": {
    "cwe_ids": [
      "CWE-613"
    ],
    "github_reviewed": false,
    "github_reviewed_at": null,
    "nvd_published_at": "2024-03-05T12:15:47Z",
    "severity": "MODERATE"
  },
  "details": "A CWE-613 \u201cInsufficient Session Expiration\u201d vulnerability in the web application, due to the session cookie \u201csessionid\u201d lasting two weeks, facilitates session hijacking attacks against victims. This issue affects: AiLux imx6 bundle below version imx6_1.0.7-2.",
  "id": "GHSA-xrgp-j4fj-fqwr",
  "modified": "2025-04-23T18:30:52Z",
  "published": "2024-03-05T12:30:33Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2023-45600"
    },
    {
      "type": "WEB",
      "url": "https://www.nozominetworks.com/labs/vulnerability-advisories-cve-2023-45600"
    }
  ],
  "schema_version": "1.4.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L",
      "type": "CVSS_V3"
    }
  ]
}

GHSA-XV59-GC3R-RF92

Vulnerability from github – Published: 2022-07-06 00:00 – Updated: 2022-07-15 20:44
VLAI
Summary
Insufficient Session Expiration in Nakama
Details

Old session tokens can be used to authenticate to the application and send authenticated requests.

Show details on source website

{
  "affected": [
    {
      "package": {
        "ecosystem": "Go",
        "name": "github.com/heroiclabs/nakama"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "last_affected": "3.12.0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "aliases": [
    "CVE-2022-2306"
  ],
  "database_specific": {
    "cwe_ids": [
      "CWE-613"
    ],
    "github_reviewed": true,
    "github_reviewed_at": "2022-07-06T19:58:37Z",
    "nvd_published_at": "2022-07-05T09:15:00Z",
    "severity": "HIGH"
  },
  "details": "Old session tokens can be used to authenticate to the application and send authenticated requests.",
  "id": "GHSA-xv59-gc3r-rf92",
  "modified": "2022-07-15T20:44:19Z",
  "published": "2022-07-06T00:00:30Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2022-2306"
    },
    {
      "type": "WEB",
      "url": "https://github.com/heroiclabs/nakama/commit/ce8d3921e2acd44ef8b5e6edfe595b6df067b166"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/heroiclabs/nakama/v3"
    },
    {
      "type": "WEB",
      "url": "https://huntr.dev/bounties/35acf263-6db4-4310-ab27-4c3c3a53f796"
    }
  ],
  "schema_version": "1.4.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N",
      "type": "CVSS_V3"
    }
  ],
  "summary": "Insufficient Session Expiration in Nakama"
}

GHSA-XW6W-GCFP-CF8M

Vulnerability from github – Published: 2026-10-22 16:18 – Updated: 2026-10-22 16:18
VLAI
Summary
Django REST framework: TokenProxy.delete() reports success and revokes nothing
Details

Summary

Deleting an authentication token through TokenProxy silently deletes nothing. The call raises no exception and reports success, the database row survives, and the token keeps authenticating. Any application, admin integration or operational script that revokes credentials by calling .delete() on a TokenProxy instance believes it has revoked a token that is still live.

Details

TokenProxy overrides pk to return the user id (rest_framework/authtoken/models.py:49-63):

@property
def pk(self):
    return self.user_id

The concrete Token model keys on key, not on an integer id. Model.delete() builds its delete query from pk, so it emits:

DELETE FROM "authtoken_token" WHERE "authtoken_token"."key" IN ('1')

That matches a user id against the 40-character key column. Nothing matches, nothing raises, and the call returns (0, {'authtoken.TokenProxy': 0}).

DRF already ships two workarounds for this same identity mismatch instead of a fix. In rest_framework/authtoken/admin.py, TokenAdmin.delete_model re-fetches the concrete row:

def delete_model(self, request, obj):
    Token.objects.get(key=obj.key).delete()   # admin.py:30

and TokenAdmin sets actions = None with the comment "Actions not compatible with mapped IDs" (admin.py:50-53). The shipped admin path is therefore safe, and every other caller of TokenProxy.delete() is not. Nothing in the API signals the difference.

TokenProxy was added by e2bd3b6a (PR #7341, "Adjusted token admin to map to user ID"), first released in 3.12.0.

A fix would drop the pk override, or give TokenProxy a delete() that operates on the concrete row, or raise instead of silently reporting zero deletions.

PoC

Save as poc_tokenproxy_revocation.py and run it.

#!/usr/bin/env python
"""
django-rest-framework: TokenProxy.delete() reports success and revokes nothing.

  baseline  token exists                        -> 200
  TRIGGER   TokenProxy.objects.get(...).delete() -> no exception, row survives, still 200
  CONTROL   Token.objects.get(key=...).delete()  -> row gone, 401

The control is what makes the trigger meaningful: it proves the row was
deletable and the credential check live, so the 200 after the proxy delete is a
failed revocation and not a broken harness.

Requires: django, djangorestframework importable. No arguments.
    python poc_tokenproxy_revocation.py
Exit status 0 means the revocation failure reproduced.
"""
import sys

import django
from django.conf import settings

settings.configure(
    DEBUG=False,
    SECRET_KEY="poc",
    ALLOWED_HOSTS=["*"],
    ROOT_URLCONF=__name__,
    INSTALLED_APPS=[
        "django.contrib.contenttypes",
        "django.contrib.auth",
        "rest_framework",
        "rest_framework.authtoken",
    ],
    DATABASES={"default": {"ENGINE": "django.db.backends.sqlite3", "NAME": ":memory:"}},
    DEFAULT_AUTO_FIELD="django.db.models.AutoField",
    USE_TZ=True,
)
django.setup()

from django.contrib.auth import get_user_model  # noqa: E402
from django.core.management import call_command  # noqa: E402
from django.db import connection  # noqa: E402
from django.test import Client  # noqa: E402
from django.test.utils import CaptureQueriesContext  # noqa: E402
from django.urls import path  # noqa: E402

from rest_framework.authentication import TokenAuthentication  # noqa: E402
from rest_framework.authtoken.models import Token, TokenProxy  # noqa: E402
from rest_framework.permissions import IsAuthenticated  # noqa: E402
from rest_framework.response import Response  # noqa: E402
from rest_framework.views import APIView  # noqa: E402


class Whoami(APIView):
    authentication_classes = [TokenAuthentication]
    permission_classes = [IsAuthenticated]

    def get(self, request):
        return Response({"user": request.user.get_username()})


urlpatterns = [path("", Whoami.as_view())]


def probe(client, key):
    response = client.get("/", headers={"authorization": "Token %s" % key})
    return response.status_code


def main():
    call_command("migrate", run_syncdb=True, verbosity=0)
    user = get_user_model().objects.create_user(username="revoke-user", password="pw")
    key = Token.objects.create(user=user).key
    client = Client()

    print("TokenProxy._meta.proxy   =", TokenProxy._meta.proxy)
    print("Token._meta.pk.attname   =", Token._meta.pk.attname)
    print("user.pk                  =", user.pk)
    print("token key                =", key)

    print("\n--- baseline")
    print("rows                     =", Token.objects.count())
    baseline = probe(client, key)
    print("GET / with token         ->", baseline)

    print("\n--- TRIGGER: delete through the proxy")
    proxy = TokenProxy.objects.get(user=user)
    print("proxy.pk                 =", proxy.pk, "(TokenProxy.pk property)")
    raised = None
    with CaptureQueriesContext(connection) as ctx:
        try:
            returned = proxy.delete()
        except Exception as exc:  # noqa: BLE001
            raised, returned = exc, None
    for q in ctx.captured_queries:
        if "DELETE" in q["sql"]:
            print("    SQL:", q["sql"])
    print("raised                   =", repr(raised))
    print("returned                 =", returned)
    print("rows                     =", Token.objects.count())
    after_proxy = probe(client, key)
    print("GET / with token         ->", after_proxy)

    print("\n--- CONTROL: delete the same row through the concrete model")
    with CaptureQueriesContext(connection) as ctx2:
        returned2 = Token.objects.get(key=key).delete()
    for q in ctx2.captured_queries:
        if "DELETE" in q["sql"]:
            print("    SQL:", q["sql"])
    print("returned                 =", returned2)
    print("rows                     =", Token.objects.count())
    after_real = probe(client, key)
    print("GET / with token         ->", after_real)

    ok = baseline == 200 and raised is None and after_proxy == 200 and after_real == 401
    print(
        "\nrevocation failure reproduced:", ok,
        "(baseline 200, still 200 after proxy delete, 401 after real delete)",
    )
    return 0 if ok else 1


if __name__ == "__main__":
    sys.exit(main())

Observed output:

TokenProxy._meta.proxy   = True
Token._meta.pk.attname   = key
user.pk                  = 1
token key                = 6a644878f252175d39205804c5a6faf16df67c10

--- baseline
rows                     = 1
GET / with token         -> 200

--- TRIGGER: delete through the proxy
proxy.pk                 = 1 (TokenProxy.pk property)
    SQL: DELETE FROM "authtoken_token" WHERE "authtoken_token"."key" IN ('1')
raised                   = None
returned                 = (0, {'authtoken.TokenProxy': 0})
rows                     = 1
GET / with token         -> 200

--- CONTROL: delete the same row through the concrete model
    SQL: DELETE FROM "authtoken_token" WHERE "authtoken_token"."key" IN ('6a644878...')
returned                 = (1, {'authtoken.Token': 1})
rows                     = 0
GET / with token         -> 401

revocation failure reproduced: True

The control is what makes the trigger meaningful: it proves the row was deletable and the credential check live, so the 200 after the proxy delete is a failed revocation and not a broken harness. Reproduced identically on Django 6.1 and 5.2.17 LTS, so this is not a recent Django regression.

Impact

Failed credential revocation. An operator who revokes a token through a TokenProxy instance, and receives no error, leaves a live credential in circulation indefinitely, because DRF auth tokens do not expire on their own. Whoever holds that token benefits: a departed employee, a rotated integration, a device believed to be deprovisioned, or an attacker whose access was thought to have been cut during incident response.

No untrusted input reaches this code path, which is why the vector is scored AC:H. Exploitation depends on the deployment revoking through the proxy, which is a natural thing to do given TokenProxy is the model registered in the admin and the one most code will reach for. Any deployment on 3.12.0 or later that revokes tokens outside DRF's own TokenAdmin.delete_model should audit whether its revocations took effect.

Show details on source website

{
  "affected": [
    {
      "package": {
        "ecosystem": "PyPI",
        "name": "djangorestframework"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "3.12.0"
            },
            {
              "fixed": "3.18.2"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "aliases": [
    "CVE-2026-114137"
  ],
  "database_specific": {
    "cwe_ids": [
      "CWE-390",
      "CWE-613"
    ],
    "github_reviewed": true,
    "github_reviewed_at": "2026-10-22T16:18:05Z",
    "nvd_published_at": "2026-10-21T21:17:56Z",
    "severity": "HIGH"
  },
  "details": "### Summary\n\nDeleting an authentication token through `TokenProxy` silently deletes nothing. The call raises no\nexception and reports success, the database row survives, and the token keeps authenticating. Any\napplication, admin integration or operational script that revokes credentials by calling `.delete()`\non a `TokenProxy` instance believes it has revoked a token that is still live.\n\n### Details\n\n`TokenProxy` overrides `pk` to return the user id (`rest_framework/authtoken/models.py:49-63`):\n\n```python\n@property\ndef pk(self):\n    return self.user_id\n```\n\nThe concrete `Token` model keys on `key`, not on an integer id. `Model.delete()` builds its delete\nquery from `pk`, so it emits:\n\n```sql\nDELETE FROM \"authtoken_token\" WHERE \"authtoken_token\".\"key\" IN (\u00271\u0027)\n```\n\nThat matches a user id against the 40-character key column. Nothing matches, nothing raises, and the\ncall returns `(0, {\u0027authtoken.TokenProxy\u0027: 0})`.\n\nDRF already ships two workarounds for this same identity mismatch instead of a fix. In\n`rest_framework/authtoken/admin.py`, `TokenAdmin.delete_model` re-fetches the concrete row:\n\n```python\ndef delete_model(self, request, obj):\n    Token.objects.get(key=obj.key).delete()   # admin.py:30\n```\n\nand `TokenAdmin` sets `actions = None` with the comment \"Actions not compatible with mapped IDs\"\n(`admin.py:50-53`). The shipped admin path is therefore safe, and every other caller of\n`TokenProxy.delete()` is not. Nothing in the API signals the difference.\n\n`TokenProxy` was added by `e2bd3b6a` (PR #7341, \"Adjusted token admin to map to user ID\"), first\nreleased in 3.12.0.\n\nA fix would drop the `pk` override, or give `TokenProxy` a `delete()` that operates on the concrete\nrow, or raise instead of silently reporting zero deletions.\n\n### PoC\n\nSave as `poc_tokenproxy_revocation.py` and run it.\n\n```python\n#!/usr/bin/env python\n\"\"\"\ndjango-rest-framework: TokenProxy.delete() reports success and revokes nothing.\n\n  baseline  token exists                        -\u003e 200\n  TRIGGER   TokenProxy.objects.get(...).delete() -\u003e no exception, row survives, still 200\n  CONTROL   Token.objects.get(key=...).delete()  -\u003e row gone, 401\n\nThe control is what makes the trigger meaningful: it proves the row was\ndeletable and the credential check live, so the 200 after the proxy delete is a\nfailed revocation and not a broken harness.\n\nRequires: django, djangorestframework importable. No arguments.\n    python poc_tokenproxy_revocation.py\nExit status 0 means the revocation failure reproduced.\n\"\"\"\nimport sys\n\nimport django\nfrom django.conf import settings\n\nsettings.configure(\n    DEBUG=False,\n    SECRET_KEY=\"poc\",\n    ALLOWED_HOSTS=[\"*\"],\n    ROOT_URLCONF=__name__,\n    INSTALLED_APPS=[\n        \"django.contrib.contenttypes\",\n        \"django.contrib.auth\",\n        \"rest_framework\",\n        \"rest_framework.authtoken\",\n    ],\n    DATABASES={\"default\": {\"ENGINE\": \"django.db.backends.sqlite3\", \"NAME\": \":memory:\"}},\n    DEFAULT_AUTO_FIELD=\"django.db.models.AutoField\",\n    USE_TZ=True,\n)\ndjango.setup()\n\nfrom django.contrib.auth import get_user_model  # noqa: E402\nfrom django.core.management import call_command  # noqa: E402\nfrom django.db import connection  # noqa: E402\nfrom django.test import Client  # noqa: E402\nfrom django.test.utils import CaptureQueriesContext  # noqa: E402\nfrom django.urls import path  # noqa: E402\n\nfrom rest_framework.authentication import TokenAuthentication  # noqa: E402\nfrom rest_framework.authtoken.models import Token, TokenProxy  # noqa: E402\nfrom rest_framework.permissions import IsAuthenticated  # noqa: E402\nfrom rest_framework.response import Response  # noqa: E402\nfrom rest_framework.views import APIView  # noqa: E402\n\n\nclass Whoami(APIView):\n    authentication_classes = [TokenAuthentication]\n    permission_classes = [IsAuthenticated]\n\n    def get(self, request):\n        return Response({\"user\": request.user.get_username()})\n\n\nurlpatterns = [path(\"\", Whoami.as_view())]\n\n\ndef probe(client, key):\n    response = client.get(\"/\", headers={\"authorization\": \"Token %s\" % key})\n    return response.status_code\n\n\ndef main():\n    call_command(\"migrate\", run_syncdb=True, verbosity=0)\n    user = get_user_model().objects.create_user(username=\"revoke-user\", password=\"pw\")\n    key = Token.objects.create(user=user).key\n    client = Client()\n\n    print(\"TokenProxy._meta.proxy   =\", TokenProxy._meta.proxy)\n    print(\"Token._meta.pk.attname   =\", Token._meta.pk.attname)\n    print(\"user.pk                  =\", user.pk)\n    print(\"token key                =\", key)\n\n    print(\"\\n--- baseline\")\n    print(\"rows                     =\", Token.objects.count())\n    baseline = probe(client, key)\n    print(\"GET / with token         -\u003e\", baseline)\n\n    print(\"\\n--- TRIGGER: delete through the proxy\")\n    proxy = TokenProxy.objects.get(user=user)\n    print(\"proxy.pk                 =\", proxy.pk, \"(TokenProxy.pk property)\")\n    raised = None\n    with CaptureQueriesContext(connection) as ctx:\n        try:\n            returned = proxy.delete()\n        except Exception as exc:  # noqa: BLE001\n            raised, returned = exc, None\n    for q in ctx.captured_queries:\n        if \"DELETE\" in q[\"sql\"]:\n            print(\"    SQL:\", q[\"sql\"])\n    print(\"raised                   =\", repr(raised))\n    print(\"returned                 =\", returned)\n    print(\"rows                     =\", Token.objects.count())\n    after_proxy = probe(client, key)\n    print(\"GET / with token         -\u003e\", after_proxy)\n\n    print(\"\\n--- CONTROL: delete the same row through the concrete model\")\n    with CaptureQueriesContext(connection) as ctx2:\n        returned2 = Token.objects.get(key=key).delete()\n    for q in ctx2.captured_queries:\n        if \"DELETE\" in q[\"sql\"]:\n            print(\"    SQL:\", q[\"sql\"])\n    print(\"returned                 =\", returned2)\n    print(\"rows                     =\", Token.objects.count())\n    after_real = probe(client, key)\n    print(\"GET / with token         -\u003e\", after_real)\n\n    ok = baseline == 200 and raised is None and after_proxy == 200 and after_real == 401\n    print(\n        \"\\nrevocation failure reproduced:\", ok,\n        \"(baseline 200, still 200 after proxy delete, 401 after real delete)\",\n    )\n    return 0 if ok else 1\n\n\nif __name__ == \"__main__\":\n    sys.exit(main())\n```\n\nObserved output:\n\n```\nTokenProxy._meta.proxy   = True\nToken._meta.pk.attname   = key\nuser.pk                  = 1\ntoken key                = 6a644878f252175d39205804c5a6faf16df67c10\n\n--- baseline\nrows                     = 1\nGET / with token         -\u003e 200\n\n--- TRIGGER: delete through the proxy\nproxy.pk                 = 1 (TokenProxy.pk property)\n    SQL: DELETE FROM \"authtoken_token\" WHERE \"authtoken_token\".\"key\" IN (\u00271\u0027)\nraised                   = None\nreturned                 = (0, {\u0027authtoken.TokenProxy\u0027: 0})\nrows                     = 1\nGET / with token         -\u003e 200\n\n--- CONTROL: delete the same row through the concrete model\n    SQL: DELETE FROM \"authtoken_token\" WHERE \"authtoken_token\".\"key\" IN (\u00276a644878...\u0027)\nreturned                 = (1, {\u0027authtoken.Token\u0027: 1})\nrows                     = 0\nGET / with token         -\u003e 401\n\nrevocation failure reproduced: True\n```\n\nThe control is what makes the trigger meaningful: it proves the row was deletable and the credential\ncheck live, so the 200 after the proxy delete is a failed revocation and not a broken harness.\nReproduced identically on Django 6.1 and 5.2.17 LTS, so this is not a recent Django regression.\n\n### Impact\n\nFailed credential revocation. An operator who revokes a token through a `TokenProxy` instance, and\nreceives no error, leaves a live credential in circulation indefinitely, because DRF auth tokens do\nnot expire on their own. Whoever holds that token benefits: a departed employee, a rotated\nintegration, a device believed to be deprovisioned, or an attacker whose access was thought to have\nbeen cut during incident response.\n\nNo untrusted input reaches this code path, which is why the vector is scored `AC:H`. Exploitation\ndepends on the deployment revoking through the proxy, which is a natural thing to do given\n`TokenProxy` is the model registered in the admin and the one most code will reach for. Any\ndeployment on 3.12.0 or later that revokes tokens outside DRF\u0027s own `TokenAdmin.delete_model` should\naudit whether its revocations took effect.",
  "id": "GHSA-xw6w-gcfp-cf8m",
  "modified": "2026-10-22T16:18:05Z",
  "published": "2026-10-22T16:18:05Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://github.com/encode/django-rest-framework/security/advisories/GHSA-xw6w-gcfp-cf8m"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-114137"
    },
    {
      "type": "WEB",
      "url": "https://github.com/encode/django-rest-framework/commit/af3fabfd517307fbc5d500fba1ab8f6e25f220b0"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/encode/django-rest-framework"
    },
    {
      "type": "WEB",
      "url": "https://github.com/encode/django-rest-framework/releases/tag/3.18.2"
    }
  ],
  "schema_version": "1.4.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N",
      "type": "CVSS_V3"
    }
  ],
  "summary": "Django REST framework: TokenProxy.delete() reports success and revokes nothing"
}

GHSA-XWP3-2MHG-J9RP

Vulnerability from github – Published: 2026-10-01 12:31 – Updated: 2026-10-01 12:31
VLAI
Details

Ghost versions 6.20.0 before 6.57.1 contain a session handling vulnerability that allows authenticated staff users to log in as any other staff user with only the password, bypassing two-factor authentication. Attackers with valid staff credentials can exploit improper session management to impersonate other staff members and gain unauthorized access to administrative functions.

Show details on source website

{
  "affected": [],
  "aliases": [
    "CVE-2026-103283"
  ],
  "database_specific": {
    "cwe_ids": [
      "CWE-613"
    ],
    "github_reviewed": false,
    "github_reviewed_at": null,
    "nvd_published_at": "2026-10-01T11:17:24Z",
    "severity": "HIGH"
  },
  "details": "Ghost versions 6.20.0 before 6.57.1 contain a session handling vulnerability that allows authenticated staff users to log in as any other staff user with only the password, bypassing two-factor authentication. Attackers with valid staff credentials can exploit improper session management to impersonate other staff members and gain unauthorized access to administrative functions.",
  "id": "GHSA-xwp3-2mhg-j9rp",
  "modified": "2026-10-01T12:31:18Z",
  "published": "2026-10-01T12:31:18Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://github.com/TryGhost/Ghost/security/advisories/GHSA-q55r-w7fh-rmh6"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-103283"
    },
    {
      "type": "WEB",
      "url": "https://www.vulncheck.com/advisories/ghost-6.20.0-before-6.57.1-authentication-bypass-via-session-handling"
    }
  ],
  "schema_version": "1.4.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N",
      "type": "CVSS_V3"
    },
    {
      "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X",
      "type": "CVSS_V4"
    }
  ]
}

GHSA-XWRH-GFHF-9MW4

Vulnerability from github – Published: 2023-03-24 18:30 – Updated: 2023-03-30 18:30
VLAI
Details

Rapid7 InsightVM suffers from insufficient session expiration when an administrator performs a security relevant edit on an existing, logged on user. For example, if a user's password is changed by an administrator due to an otherwise unrelated credential leak, that user account's current session is still valid after the password change, potentially allowing the attacker who originally compromised the credential to remain logged in and able to cause further damage. This vulnerability is mitigated by the use of the Platform Login feature. This issue is related to CVE-2019-5638.

Show details on source website

{
  "affected": [],
  "aliases": [
    "CVE-2021-3844"
  ],
  "database_specific": {
    "cwe_ids": [
      "CWE-613"
    ],
    "github_reviewed": false,
    "github_reviewed_at": null,
    "nvd_published_at": "2023-03-24T17:15:00Z",
    "severity": "MODERATE"
  },
  "details": "Rapid7 InsightVM suffers from insufficient session expiration when an administrator performs a security relevant edit on an existing, logged on user. For example, if a user\u0027s password is changed by an administrator due to an otherwise unrelated credential leak, that user account\u0027s current session is still valid after the password change, potentially allowing the attacker who originally compromised the credential to remain logged in and able to cause further damage. This vulnerability is mitigated by the use of the Platform Login feature. This issue is related to CVE-2019-5638.",
  "id": "GHSA-xwrh-gfhf-9mw4",
  "modified": "2023-03-30T18:30:30Z",
  "published": "2023-03-24T18:30:21Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2021-3844"
    },
    {
      "type": "WEB",
      "url": "https://docs.rapid7.com/insightvm/enable-insightvm-platform-login"
    },
    {
      "type": "WEB",
      "url": "https://www.cve.org/cverecord?id=CVE-2019-5638"
    }
  ],
  "schema_version": "1.4.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N",
      "type": "CVSS_V3"
    }
  ]
}

GHSA-XX52-3MCH-R5WP

Vulnerability from github – Published: 2022-05-13 01:40 – Updated: 2022-05-13 01:40
VLAI
Details

Mahara 15.04 before 15.04.8 and 15.10 before 15.10.4 and 16.04 before 16.04.2 are vulnerable to users staying logged in to their Mahara account even when they have been logged out of Moodle (when using MNet) as Mahara did not properly implement one of the MNet SSO API functions.

Show details on source website

{
  "affected": [],
  "aliases": [
    "CVE-2017-1000131"
  ],
  "database_specific": {
    "cwe_ids": [
      "CWE-613"
    ],
    "github_reviewed": false,
    "github_reviewed_at": null,
    "nvd_published_at": "2017-11-03T18:29:00Z",
    "severity": "MODERATE"
  },
  "details": "Mahara 15.04 before 15.04.8 and 15.10 before 15.10.4 and 16.04 before 16.04.2 are vulnerable to users staying logged in to their Mahara account even when they have been logged out of Moodle (when using MNet) as Mahara did not properly implement one of the MNet SSO API functions.",
  "id": "GHSA-xx52-3mch-r5wp",
  "modified": "2022-05-13T01:40:57Z",
  "published": "2022-05-13T01:40:57Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2017-1000131"
    },
    {
      "type": "WEB",
      "url": "https://bugs.launchpad.net/mahara/+bug/1084336"
    }
  ],
  "schema_version": "1.4.0",
  "severity": [
    {
      "score": "CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N",
      "type": "CVSS_V3"
    }
  ]
}

GHSA-XX9V-9858-MWGG

Vulnerability from github – Published: 2026-09-17 15:32 – Updated: 2026-09-17 15:32
VLAI
Details

admin3 through 3.0.0 fails to invalidate existing sessions when disabling a user account, allowing attackers to retain authenticated access with original permissions. Attackers can continue using bearer tokens issued before account disablement to authenticate requests, as the AuthInterceptor never re-validates the user's locked status and session expiry resets on each request.

Show details on source website

{
  "affected": [],
  "aliases": [
    "CVE-2026-92920"
  ],
  "database_specific": {
    "cwe_ids": [
      "CWE-613"
    ],
    "github_reviewed": false,
    "github_reviewed_at": null,
    "nvd_published_at": "2026-09-17T13:17:01Z",
    "severity": "MODERATE"
  },
  "details": "admin3 through 3.0.0 fails to invalidate existing sessions when disabling a user account, allowing attackers to retain authenticated access with original permissions. Attackers can continue using bearer tokens issued before account disablement to authenticate requests, as the AuthInterceptor never re-validates the user\u0027s locked status and session expiry resets on each request.",
  "id": "GHSA-xx9v-9858-mwgg",
  "modified": "2026-09-17T15:32:12Z",
  "published": "2026-09-17T15:32:12Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-92920"
    },
    {
      "type": "WEB",
      "url": "https://github.com/LinYuanyi1/cve-request-poc/blob/master/admin3/C06_account_lockout_bypass.py"
    },
    {
      "type": "WEB",
      "url": "https://github.com/cjbi/admin3"
    },
    {
      "type": "WEB",
      "url": "https://github.com/cjbi/admin3/blob/3.0.0/admin3-server/src/main/java/tech/wetech/admin3/infra/AuthInterceptor.java"
    },
    {
      "type": "WEB",
      "url": "https://github.com/cjbi/admin3/blob/3.0.0/admin3-server/src/main/java/tech/wetech/admin3/infra/service/LocalSessionManager.java"
    },
    {
      "type": "WEB",
      "url": "https://github.com/cjbi/admin3/blob/3.0.0/admin3-server/src/main/java/tech/wetech/admin3/sys/service/UserService.java"
    },
    {
      "type": "WEB",
      "url": "https://www.vulncheck.com/advisories/admin3-through-3.0.0-session-not-invalidated-when-a-user-account-is-disabled"
    }
  ],
  "schema_version": "1.4.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N",
      "type": "CVSS_V3"
    },
    {
      "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X",
      "type": "CVSS_V4"
    }
  ]
}

GHSA-XXQ2-74HW-VG6M

Vulnerability from github – Published: 2023-05-16 18:30 – Updated: 2023-05-17 03:46
VLAI
Summary
Jenkins WSO2 Oauth Plugin Session Fixation vulnerability
Details

Jenkins WSO2 Oauth Plugin 1.0 and earlier does not invalidate the existing session on login.

This allows attackers to use social engineering techniques to gain administrator access to Jenkins.

As of publication of this advisory, there is no fix.

Show details on source website

{
  "affected": [
    {
      "package": {
        "ecosystem": "Maven",
        "name": "org.jenkins-ci.plugins:wso2id-oauth"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "last_affected": "1.0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "aliases": [
    "CVE-2023-33005"
  ],
  "database_specific": {
    "cwe_ids": [
      "CWE-384",
      "CWE-613"
    ],
    "github_reviewed": true,
    "github_reviewed_at": "2023-05-17T03:46:29Z",
    "nvd_published_at": "2023-05-16T17:15:12Z",
    "severity": "HIGH"
  },
  "details": "Jenkins WSO2 Oauth Plugin 1.0 and earlier does not invalidate the existing session on login.\n\nThis allows attackers to use social engineering techniques to gain administrator access to Jenkins.\n\nAs of publication of this advisory, there is no fix.",
  "id": "GHSA-xxq2-74hw-vg6m",
  "modified": "2023-05-17T03:46:29Z",
  "published": "2023-05-16T18:30:16Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2023-33005"
    },
    {
      "type": "WEB",
      "url": "https://www.jenkins.io/security/advisory/2023-05-16/#SECURITY-2991"
    }
  ],
  "schema_version": "1.4.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ],
  "summary": "Jenkins WSO2 Oauth Plugin Session Fixation vulnerability"
}

Mitigation
Implementation

Set sessions/credentials expiration date.

No CAPEC attack patterns related to this CWE.