Common Weakness Enumeration

CWE-294

Allowed

Authentication Bypass by Capture-replay

Abstraction: Base · Status: Incomplete

A capture-replay flaw exists when the design of the product makes it possible for a malicious user to sniff network traffic and bypass authentication by replaying it to the server in question to the same effect as the original message (or with minor changes).

440 vulnerabilities reference this CWE, most recent first.

GHSA-V42X-FQ35-8393

Vulnerability from github – Published: 2026-01-12 15:30 – Updated: 2026-01-13 21:31
VLAI
Details

D3D Wi-Fi Home Security System ZX-G12 v2.1.1 is vulnerable to RF replay attacks on the 433 MHz sensor communication channel. The system does not implement rolling codes, message authentication, or anti-replay protection, allowing an attacker within RF range to record valid alarm/control frames and replay them to trigger false alarms.

Show details on source website

{
  "affected": [],
  "aliases": [
    "CVE-2025-65552"
  ],
  "database_specific": {
    "cwe_ids": [
      "CWE-294"
    ],
    "github_reviewed": false,
    "github_reviewed_at": null,
    "nvd_published_at": "2026-01-12T15:16:03Z",
    "severity": "CRITICAL"
  },
  "details": "D3D Wi-Fi Home Security System ZX-G12 v2.1.1 is vulnerable to RF replay attacks on the 433 MHz sensor communication channel. The system does not implement rolling codes, message authentication, or anti-replay protection, allowing an attacker within RF range to record valid alarm/control frames and replay them to trigger false alarms.",
  "id": "GHSA-v42x-fq35-8393",
  "modified": "2026-01-13T21:31:42Z",
  "published": "2026-01-12T15:30:42Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2025-65552"
    },
    {
      "type": "WEB",
      "url": "https://d3dsecurity.com/products/wifi-home-security-system-model-g12"
    },
    {
      "type": "WEB",
      "url": "https://github.com/EmbdCDACHyd/CVE/tree/main/CVE-2025-65552"
    },
    {
      "type": "WEB",
      "url": "http://d3d.com"
    }
  ],
  "schema_version": "1.4.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ]
}

GHSA-V5F8-RC6V-MRCJ

Vulnerability from github – Published: 2023-06-22 21:30 – Updated: 2024-04-04 05:01
VLAI
Details

An issue was discovered in WAFU Keyless Smart Lock v1.0 allows attackers to unlock a device via code replay attack.

Show details on source website

{
  "affected": [],
  "aliases": [
    "CVE-2023-34553"
  ],
  "database_specific": {
    "cwe_ids": [
      "CWE-294"
    ],
    "github_reviewed": false,
    "github_reviewed_at": null,
    "nvd_published_at": "2023-06-22T21:15:09Z",
    "severity": "MODERATE"
  },
  "details": "An issue was discovered in WAFU Keyless Smart Lock v1.0 allows attackers to unlock a device via code replay attack.",
  "id": "GHSA-v5f8-rc6v-mrcj",
  "modified": "2024-04-04T05:01:58Z",
  "published": "2023-06-22T21:30:49Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2023-34553"
    },
    {
      "type": "WEB",
      "url": "https://ashallen.net/wireless-smart-lock-vulnerability-disclosure"
    }
  ],
  "schema_version": "1.4.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N",
      "type": "CVSS_V3"
    }
  ]
}

GHSA-V5X3-JQM6-CVH7

Vulnerability from github – Published: 2023-06-19 21:30 – Updated: 2024-04-04 04:58
VLAI
Details

SUBNET PowerSYSTEM Center versions 2020 U10 and prior are vulnerable to replay attacks which may result in a denial-of-service condition or a loss of data integrity.

Show details on source website

{
  "affected": [],
  "aliases": [
    "CVE-2023-29158"
  ],
  "database_specific": {
    "cwe_ids": [
      "CWE-294"
    ],
    "github_reviewed": false,
    "github_reviewed_at": null,
    "nvd_published_at": "2023-06-19T21:15:42Z",
    "severity": "CRITICAL"
  },
  "details": "\n\n\nSUBNET PowerSYSTEM Center versions 2020 U10 and prior are vulnerable to replay attacks which may result in a denial-of-service condition or a loss of data integrity.\n\n\n\n\n\n\n",
  "id": "GHSA-v5x3-jqm6-cvh7",
  "modified": "2024-04-04T04:58:03Z",
  "published": "2023-06-19T21:30:20Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2023-29158"
    },
    {
      "type": "WEB",
      "url": "https://www.cisa.gov/news-events/ics-advisories/icsa-23-166-01"
    }
  ],
  "schema_version": "1.4.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:A/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:H",
      "type": "CVSS_V3"
    }
  ]
}

GHSA-V65P-MXX5-R553

Vulnerability from github – Published: 2022-05-24 19:06 – Updated: 2022-05-24 19:06
VLAI
Details

An issue exists in PHP-Fusion 9.03.50 where session cookies are not deleted once a user logs out, allowing for an attacker to perform a session replay attack and impersonate the victim user.

Show details on source website

{
  "affected": [],
  "aliases": [
    "CVE-2020-23178"
  ],
  "database_specific": {
    "cwe_ids": [
      "CWE-294"
    ],
    "github_reviewed": false,
    "github_reviewed_at": null,
    "nvd_published_at": "2021-07-02T18:15:00Z",
    "severity": "MODERATE"
  },
  "details": "An issue exists in PHP-Fusion 9.03.50 where session cookies are not deleted once a user logs out, allowing for an attacker to perform a session replay attack and impersonate the victim user.",
  "id": "GHSA-v65p-mxx5-r553",
  "modified": "2022-05-24T19:06:52Z",
  "published": "2022-05-24T19:06:52Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2020-23178"
    },
    {
      "type": "WEB",
      "url": "https://github.com/PHPFusion/PHPFusion/issues/2314"
    }
  ],
  "schema_version": "1.4.0",
  "severity": []
}

GHSA-V92M-HRHJ-GW54

Vulnerability from github – Published: 2026-05-13 18:30 – Updated: 2026-05-13 18:30
VLAI
Details

Successfully using libcurl to do a transfer over a specific HTTP proxy (proxyA) with Digest authentication and then changing the proxy host to a second one (proxyB) for a second transfer, reusing the same handle, makes libcurl wrongly pass on the Proxy-Authorization: header field meant for proxyA, to proxyB.

Show details on source website

{
  "affected": [],
  "aliases": [
    "CVE-2026-7168"
  ],
  "database_specific": {
    "cwe_ids": [
      "CWE-294"
    ],
    "github_reviewed": false,
    "github_reviewed_at": null,
    "nvd_published_at": "2026-05-13T13:01:57Z",
    "severity": "MODERATE"
  },
  "details": "Successfully using libcurl to do a transfer over a specific HTTP proxy\n(`proxyA`) with **Digest** authentication and then changing the proxy host to\na second one (`proxyB`) for a second transfer, reusing the same handle, makes\nlibcurl wrongly pass on the `Proxy-Authorization:` header field meant for\n`proxyA`, to `proxyB`.",
  "id": "GHSA-v92m-hrhj-gw54",
  "modified": "2026-05-13T18:30:52Z",
  "published": "2026-05-13T18:30:52Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-7168"
    },
    {
      "type": "WEB",
      "url": "https://hackerone.com/reports/3697719"
    },
    {
      "type": "WEB",
      "url": "https://curl.se/docs/CVE-2026-7168.html"
    },
    {
      "type": "WEB",
      "url": "https://curl.se/docs/CVE-2026-7168.json"
    },
    {
      "type": "WEB",
      "url": "http://www.openwall.com/lists/oss-security/2026/04/29/14"
    }
  ],
  "schema_version": "1.4.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N",
      "type": "CVSS_V3"
    }
  ]
}

GHSA-VF9H-PG8F-H64M

Vulnerability from github – Published: 2026-09-24 21:32 – Updated: 2026-09-24 21:32
VLAI
Details

The Botslab G980H dash camera firmware accepts a reusable authentication value without adequately verifying its freshness or association with the requesting client. An unauthenticated attacker with adjacent network access who captures a valid authentication value could replay it from another client to establish an authenticated session and access privileged device functionality.

Show details on source website

{
  "affected": [],
  "aliases": [
    "CVE-2026-77967"
  ],
  "database_specific": {
    "cwe_ids": [
      "CWE-294"
    ],
    "github_reviewed": false,
    "github_reviewed_at": null,
    "nvd_published_at": "2026-09-24T20:17:30Z",
    "severity": "HIGH"
  },
  "details": "The Botslab G980H dash camera firmware accepts a reusable authentication value without adequately verifying its freshness or association with the requesting client. An unauthenticated attacker with adjacent network access who captures a valid authentication value could replay it from another client to establish an authenticated session and access privileged device functionality.",
  "id": "GHSA-vf9h-pg8f-h64m",
  "modified": "2026-09-24T21:32:49Z",
  "published": "2026-09-24T21:32:49Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-77967"
    },
    {
      "type": "WEB",
      "url": "https://github.com/cisagov/CSAF/blob/develop/csaf_files/OT/white/2026/icsa-26-267-01.json"
    },
    {
      "type": "WEB",
      "url": "https://www.botslab.com/pages/about-botslab"
    },
    {
      "type": "WEB",
      "url": "https://www.cisa.gov/news-events/ics-advisories/icsa-26-267-01"
    }
  ],
  "schema_version": "1.4.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N",
      "type": "CVSS_V3"
    },
    {
      "score": "CVSS:4.0/AV:A/AC:L/AT:N/PR:N/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-VPP6-9FCM-RV58

Vulnerability from github – Published: 2024-03-29 18:30 – Updated: 2024-08-27 21:31
VLAI
Details

An authentication bypass vulnerability was found in Stilog Visual Planning 8. It allows an unauthenticated attacker to receive an administrative API token.

Show details on source website

{
  "affected": [],
  "aliases": [
    "CVE-2023-49231"
  ],
  "database_specific": {
    "cwe_ids": [
      "CWE-288",
      "CWE-294"
    ],
    "github_reviewed": false,
    "github_reviewed_at": null,
    "nvd_published_at": "2024-03-29T16:15:07Z",
    "severity": "CRITICAL"
  },
  "details": "An authentication bypass vulnerability was found in Stilog Visual Planning 8. It allows an unauthenticated attacker to receive an administrative API token.",
  "id": "GHSA-vpp6-9fcm-rv58",
  "modified": "2024-08-27T21:31:11Z",
  "published": "2024-03-29T18:30:42Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2023-49231"
    },
    {
      "type": "WEB",
      "url": "https://www.schutzwerk.com/advisories/SCHUTZWERK-SA-2023-003.txt"
    },
    {
      "type": "WEB",
      "url": "https://www.schutzwerk.com/blog/schutzwerk-sa-2023-003"
    },
    {
      "type": "WEB",
      "url": "https://www.visual-planning.com/en/support-portal/updates"
    },
    {
      "type": "WEB",
      "url": "http://seclists.org/fulldisclosure/2024/Apr/1"
    }
  ],
  "schema_version": "1.4.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ]
}

GHSA-VPXW-2HR2-2MV5

Vulnerability from github – Published: 2025-09-15 21:30 – Updated: 2025-09-15 21:30
VLAI
Details

The Positron PX360BT SW REV 8 car alarm system is vulnerable to a replay attack due to a failure in implementing rolling code security. The alarm system does not properly rotate or invalidate used codes, allowing repeated reuse of captured transmissions. This exposes users to significant security risks, including vehicle theft and loss of trust in the alarm's anti-cloning claims.

Show details on source website

{
  "affected": [],
  "aliases": [
    "CVE-2025-56448"
  ],
  "database_specific": {
    "cwe_ids": [
      "CWE-294"
    ],
    "github_reviewed": false,
    "github_reviewed_at": null,
    "nvd_published_at": "2025-09-15T20:15:38Z",
    "severity": "MODERATE"
  },
  "details": "The Positron PX360BT SW REV 8 car alarm system is vulnerable to a replay attack due to a failure in implementing rolling code security. The alarm system does not properly rotate or invalidate used codes, allowing repeated reuse of captured transmissions. This exposes users to significant security risks, including vehicle theft and loss of trust in the alarm\u0027s anti-cloning claims.",
  "id": "GHSA-vpxw-2hr2-2mv5",
  "modified": "2025-09-15T21:30:56Z",
  "published": "2025-09-15T21:30:56Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2025-56448"
    },
    {
      "type": "WEB",
      "url": "https://medium.com/@wagneralves_87750/cve-2025-56448-replay-attack-vulnerability-in-positron-px360bt-car-alarm-system-c9f1ccea6ebe"
    },
    {
      "type": "WEB",
      "url": "https://positron.com.br/blog/positron-lanca-alarme-px360bt-starter"
    }
  ],
  "schema_version": "1.4.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ]
}

GHSA-VQ3P-3R98-J8W8

Vulnerability from github – Published: 2026-09-16 21:32 – Updated: 2026-09-16 21:32
VLAI
Details

On affected platforms running Arista EOS with VRRPv2 IP-AH authentication configured, an unauthenticated attacker within the same layer 2 network segment on which VRRP is running can capture a legitimate authenticated VRRP advertisement and replay it indefinitely. Replayed advertisements can be used to advertise stale VRRP state, for example to prevent a backup router from taking over the virtual gateway after the original master has gone down, resulting in a denial of service for hosts using the virtual gateway address.

Show details on source website

{
  "affected": [],
  "aliases": [
    "CVE-2026-73443"
  ],
  "database_specific": {
    "cwe_ids": [
      "CWE-294"
    ],
    "github_reviewed": false,
    "github_reviewed_at": null,
    "nvd_published_at": "2026-09-16T19:17:31Z",
    "severity": "MODERATE"
  },
  "details": "On affected platforms running Arista EOS with VRRPv2 IP-AH authentication configured, an unauthenticated attacker within the same layer 2 network segment on which VRRP is running can capture a legitimate authenticated VRRP advertisement and replay it indefinitely. Replayed advertisements can be used to advertise stale VRRP state, for example to prevent a backup router from taking over the virtual gateway after the original master has gone down, resulting in a denial of service for hosts using the virtual gateway address.",
  "id": "GHSA-vq3p-3r98-j8w8",
  "modified": "2026-09-16T21:32:43Z",
  "published": "2026-09-16T21:32:43Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-73443"
    },
    {
      "type": "WEB",
      "url": "https://www.arista.com/en/support/advisories-notices/security-advisory/24713-security-advisory-0157"
    }
  ],
  "schema_version": "1.4.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:C/C:N/I:N/A:L",
      "type": "CVSS_V3"
    },
    {
      "score": "CVSS:4.0/AV:A/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/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-VQFP-P66C-XRP9

Vulnerability from github – Published: 2026-08-13 14:12 – Updated: 2026-08-13 14:12
VLAI
Summary
ep_etherpad-lite: Device-to-device author-token transfer endpoint is replayable, never expires, and exposes the cleartext author token
Details

Etherpad's device-to-device author-token transfer endpoint is replayable, never expires, and exposes the cleartext author token in the GET response body

Description

Etherpad ships an endpoint pair under /tokenTransfer (src/node/hooks/express/tokenTransfer.ts) that lets a logged-in user move their HttpOnly author token to a different browser (typically by scanning a QR code containing the transfer URL). The flow is:

  1. POST /tokenTransfer — the source device sends a request whose own author cookie is read off the server-side cookie jar. The server mints a random UUID and stores the author token (and arbitrary prefsHttp field) under a DB key keyed by that UUID. The UUID is returned.
  2. GET /tokenTransfer/{uuid} — the destination device GETs the URL containing the UUID. The server reads the stored record and sets the HttpOnly author cookie on the response.

The original implementation has three serious flaws:

  1. No expiration check. createdAt is written to the record on POST but never inspected on GET. A leaked transfer URL is redeemable indefinitely.
  2. No single-use enforcement. The DB record is not deleted after a successful GET, so the same URL can be redeemed repeatedly — each redemption yielding a fresh cookie set on whoever issued the GET.
  3. Author token echoed in the response body. The GET handler ends with res.send(tokenData), which serializes the full record — including the raw author token — into the JSON response. Any JavaScript on the page that issued the GET can read the token, defeating the HttpOnly cookie design that exists specifically to keep the token out of JS reach.

Combined, these mean that any disclosure of a transfer UUID (browser history, mis-shared QR code, screenshot, server log, third-party plugin that proxies the request, an unencrypted intermediate hop) results in persistent authorship impersonation of the originating account — the attacker doesn't just get one cookie, they can re-redeem and they get the raw token in cleartext for storage / replay against other endpoints.

Severity rationale

  • AV:N — exploitable over the network.
  • AC:H — requires the attacker to learn the transfer UUID via some out-of-band channel; UUIDs are random.
  • PR:N — no authentication required at the redemption endpoint.
  • UI:R — the legitimate user must have issued the POST and the UUID must end up where the attacker can see it (QR code, screenshot, etc.).
  • C:H / I:H — full author identity takeover (read + write everything that author can).
  • A:N — no direct denial-of-service.

CVSS lands at 7.5 (High). Some operators may reasonably score this lower (UI:R + AC:H) if their threat model assumes the transfer URL never leaves the user's own device pair.

Affected versions

Patched versions

  • ep_etherpad-lite >= 3.1.0 — the fix is on develop HEAD as commit 8c6104c. Update this field with the actual tagged release version when it ships.

Proof of concept

# 1. Victim posts a transfer from their device.
curl -X POST https://pad.example/tokenTransfer \
  -H 'Cookie: token=t.victim-author-token' \
  -H 'Content-Type: application/json' \
  -d '{"prefsHttp": ""}'
# -> {"id": "1f0b2a3c-..."}

# 2. UUID leaks (browser history, intercepted QR, etc.).
# 3. Attacker redeems it from a totally different machine:
curl -i https://pad.example/tokenTransfer/1f0b2a3c-...
# Headers include:
#   Set-Cookie: token=t.victim-author-token; Path=/; HttpOnly; ...
# Body contains:
#   {"token":"t.victim-author-token", "prefsHttp": "", "createdAt": ...}
#
# Attacker now owns the victim's identity. They can also re-redeem the
# same UUID (no single-use), and the body gives them the cleartext token
# even if the HttpOnly cookie isn't useful to their tooling.

Workarounds

  • Disable any UI that surfaces the transfer URL (QR code, copy-button, etc.).
  • Reverse-proxy block /tokenTransfer/* if device-pairing is not in use.
  • Set short DB cleanup intervals (does not address the JS-readable body issue).

None of these workarounds are sufficient on their own — upgrade is the only complete fix.

Fix

Patched in 8c6104c (PR #7784):

  1. 5-minute TTL (TRANSFER_TTL_MS). Records older than this return 410 Gone. Records with absent/non-numeric createdAt (legacy records from older code paths) are treated as expired.
  2. Single-use. The DB record is removed before the success response is written, so a parallel request that wins the race observes an already-redeemed transfer rather than a second usable copy.
  3. Body sanitised. The response body becomes {ok: true, prefsHttp} — the raw author token is no longer included. The HttpOnly cookie set in the same response is the only delivery channel.
- const tokenData = await db.get(`${tokenTransferKey}:${id}`);
+ const key = tokenTransferKey(id);
+ const tokenData: TokenTransferRequest | undefined = await db.get(key);
  if (!tokenData) {
    return res.status(404).send({error: 'Token not found'});
  }
+ await db.remove(key);
+ const createdAt = typeof tokenData.createdAt === 'number'
+     ? tokenData.createdAt : 0;
+ if (Date.now() - createdAt > TRANSFER_TTL_MS) {
+   return res.status(410).send({error: 'Token expired'});
+ }
  ...
- res.send(tokenData);
+ res.send({ok: true, prefsHttp: tokenData.prefsHttp});

Resources

  • Patched in: https://github.com/ether/etherpad/pull/7784 (squash commit 8c6104c).
  • Vulnerable code introduced in: https://github.com/ether/etherpad/commit/41cb680 (PR #7228), released in v2.6.0.
  • Background on the HttpOnly author-token migration: ether/etherpad PR #7548 (PR3 of #6701, released in v2.7.3). That earlier PR addressed two adjacent issues (the cookie was previously non-HttpOnly, and the POST handler previously trusted the request body for the token value). This GHSA covers only the three flaws that remained after that earlier patch.

Credits

Reported during an internal security audit by Claude (via @JohnMcLear).

Show details on source website

{
  "affected": [
    {
      "database_specific": {
        "last_known_affected_version_range": "\u003c= 3.0.0"
      },
      "package": {
        "ecosystem": "npm",
        "name": "ep_etherpad-lite"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "2.6.0"
            },
            {
              "fixed": "3.1.0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "aliases": [
    "CVE-2026-55088"
  ],
  "database_specific": {
    "cwe_ids": [
      "CWE-200",
      "CWE-294"
    ],
    "github_reviewed": true,
    "github_reviewed_at": "2026-08-13T14:12:44Z",
    "nvd_published_at": null,
    "severity": "MODERATE"
  },
  "details": "Etherpad\u0027s device-to-device author-token transfer endpoint is replayable, never expires, and exposes the cleartext author token in the GET response body\n\n## Description\n\nEtherpad ships an endpoint pair under `/tokenTransfer` (`src/node/hooks/express/tokenTransfer.ts`) that lets a logged-in user move their HttpOnly author token to a different browser (typically by scanning a QR code containing the transfer URL). The flow is:\n\n1. **POST `/tokenTransfer`** \u2014 the source device sends a request whose own author cookie is read off the server-side cookie jar. The server mints a random UUID and stores the author token (and arbitrary `prefsHttp` field) under a DB key keyed by that UUID. The UUID is returned.\n2. **GET `/tokenTransfer/{uuid}`** \u2014 the destination device GETs the URL containing the UUID. The server reads the stored record and sets the HttpOnly author cookie on the response.\n\nThe original implementation has three serious flaws:\n\n1. **No expiration check.** `createdAt` is written to the record on POST but never inspected on GET. A leaked transfer URL is redeemable indefinitely.\n2. **No single-use enforcement.** The DB record is not deleted after a successful GET, so the same URL can be redeemed repeatedly \u2014 each redemption yielding a fresh cookie set on whoever issued the GET.\n3. **Author token echoed in the response body.** The GET handler ends with `res.send(tokenData)`, which serializes the full record \u2014 including the raw author token \u2014 into the JSON response. Any JavaScript on the page that issued the GET can read the token, defeating the HttpOnly cookie design that exists specifically to keep the token out of JS reach.\n\nCombined, these mean that any disclosure of a transfer UUID (browser history, mis-shared QR code, screenshot, server log, third-party plugin that proxies the request, an unencrypted intermediate hop) results in **persistent authorship impersonation of the originating account** \u2014 the attacker doesn\u0027t just get one cookie, they can re-redeem and they get the raw token in cleartext for storage / replay against other endpoints.\n\n## Severity rationale\n\n- **AV:N** \u2014 exploitable over the network.\n- **AC:H** \u2014 requires the attacker to learn the transfer UUID via some out-of-band channel; UUIDs are random.\n- **PR:N** \u2014 no authentication required at the redemption endpoint.\n- **UI:R** \u2014 the legitimate user must have issued the POST and the UUID must end up where the attacker can see it (QR code, screenshot, etc.).\n- **C:H / I:H** \u2014 full author identity takeover (read + write everything that author can).\n- **A:N** \u2014 no direct denial-of-service.\n\nCVSS lands at 7.5 (High). Some operators may reasonably score this lower (UI:R + AC:H) if their threat model assumes the transfer URL never leaves the user\u0027s own device pair.\n\n## Affected versions\n\n- `ep_etherpad-lite \u003e= 2.6.0, \u003c= 3.0.0`. The `/tokenTransfer` endpoint pair was added in [`41cb680` \"let user maintain a single session across multiple browsers\" (#7228)](https://github.com/ether/etherpad/commit/41cb680), first tagged in **v2.6.0** (2025-11-18). All three flaws (no TTL, no single-use, token in response body) were present from the introducing commit and persisted through `v3.0.0`.\n\n## Patched versions\n\n- `ep_etherpad-lite \u003e= 3.1.0` \u2014 the fix is on `develop` HEAD as commit `8c6104c`. Update this field with the actual tagged release version when it ships.\n\n## Proof of concept\n\n```\n# 1. Victim posts a transfer from their device.\ncurl -X POST https://pad.example/tokenTransfer \\\n  -H \u0027Cookie: token=t.victim-author-token\u0027 \\\n  -H \u0027Content-Type: application/json\u0027 \\\n  -d \u0027{\"prefsHttp\": \"\"}\u0027\n# -\u003e {\"id\": \"1f0b2a3c-...\"}\n\n# 2. UUID leaks (browser history, intercepted QR, etc.).\n# 3. Attacker redeems it from a totally different machine:\ncurl -i https://pad.example/tokenTransfer/1f0b2a3c-...\n# Headers include:\n#   Set-Cookie: token=t.victim-author-token; Path=/; HttpOnly; ...\n# Body contains:\n#   {\"token\":\"t.victim-author-token\", \"prefsHttp\": \"\", \"createdAt\": ...}\n#\n# Attacker now owns the victim\u0027s identity. They can also re-redeem the\n# same UUID (no single-use), and the body gives them the cleartext token\n# even if the HttpOnly cookie isn\u0027t useful to their tooling.\n```\n\n## Workarounds\n\n- Disable any UI that surfaces the transfer URL (QR code, copy-button, etc.).\n- Reverse-proxy block `/tokenTransfer/*` if device-pairing is not in use.\n- Set short DB cleanup intervals (does not address the JS-readable body issue).\n\nNone of these workarounds are sufficient on their own \u2014 upgrade is the only complete fix.\n\n## Fix\n\nPatched in [`8c6104c`](https://github.com/ether/etherpad/commit/8c6104c) (PR [#7784](https://github.com/ether/etherpad/pull/7784)):\n\n1. **5-minute TTL** (`TRANSFER_TTL_MS`). Records older than this return 410 Gone. Records with absent/non-numeric `createdAt` (legacy records from older code paths) are treated as expired.\n2. **Single-use.** The DB record is removed **before** the success response is written, so a parallel request that wins the race observes an already-redeemed transfer rather than a second usable copy.\n3. **Body sanitised.** The response body becomes `{ok: true, prefsHttp}` \u2014 the raw author token is no longer included. The HttpOnly cookie set in the same response is the only delivery channel.\n\n```diff\n- const tokenData = await db.get(`${tokenTransferKey}:${id}`);\n+ const key = tokenTransferKey(id);\n+ const tokenData: TokenTransferRequest | undefined = await db.get(key);\n  if (!tokenData) {\n    return res.status(404).send({error: \u0027Token not found\u0027});\n  }\n+ await db.remove(key);\n+ const createdAt = typeof tokenData.createdAt === \u0027number\u0027\n+     ? tokenData.createdAt : 0;\n+ if (Date.now() - createdAt \u003e TRANSFER_TTL_MS) {\n+   return res.status(410).send({error: \u0027Token expired\u0027});\n+ }\n  ...\n- res.send(tokenData);\n+ res.send({ok: true, prefsHttp: tokenData.prefsHttp});\n```\n\n## Resources\n\n- Patched in: https://github.com/ether/etherpad/pull/7784 (squash commit `8c6104c`).\n- Vulnerable code introduced in: https://github.com/ether/etherpad/commit/41cb680 (PR #7228), released in v2.6.0.\n- Background on the HttpOnly author-token migration: ether/etherpad PR #7548 (PR3 of #6701, released in v2.7.3). That earlier PR addressed two adjacent issues (the cookie was previously non-HttpOnly, and the POST handler previously trusted the request body for the token value). This GHSA covers only the three flaws that remained after that earlier patch.\n\n## Credits\n\nReported during an internal security audit by Claude (via @JohnMcLear).",
  "id": "GHSA-vqfp-p66c-xrp9",
  "modified": "2026-08-13T14:12:44Z",
  "published": "2026-08-13T14:12:44Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://github.com/ether/etherpad/security/advisories/GHSA-vqfp-p66c-xrp9"
    },
    {
      "type": "WEB",
      "url": "https://github.com/ether/etherpad/pull/7784"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/ether/etherpad"
    }
  ],
  "schema_version": "1.4.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N",
      "type": "CVSS_V3"
    }
  ],
  "summary": "ep_etherpad-lite: Device-to-device author-token transfer endpoint is replayable, never expires, and exposes the cleartext author token"
}

Mitigation
Architecture and Design

Utilize some sequence or time stamping functionality along with a checksum which takes this into account in order to ensure that messages can be parsed only once.

Mitigation
Architecture and Design

Since any attacker who can listen to traffic can see sequence numbers, it is necessary to sign messages with some kind of cryptography to ensure that sequence numbers are not simply doctored along with content.

CAPEC-102: Session Sidejacking

Session sidejacking takes advantage of an unencrypted communication channel between a victim and target system. The attacker sniffs traffic on a network looking for session tokens in unencrypted traffic. Once a session token is captured, the attacker performs malicious actions by using the stolen token with the targeted application to impersonate the victim. This attack is a specific method of session hijacking, which is exploiting a valid session token to gain unauthorized access to a target system or information. Other methods to perform a session hijacking are session fixation, cross-site scripting, or compromising a user or server machine and stealing the session token.

CAPEC-509: Kerberoasting

Through the exploitation of how service accounts leverage Kerberos authentication with Service Principal Names (SPNs), the adversary obtains and subsequently cracks the hashed credentials of a service account target to exploit its privileges. The Kerberos authentication protocol centers around a ticketing system which is used to request/grant access to services and to then access the requested services. As an authenticated user, the adversary may request Active Directory and obtain a service ticket with portions encrypted via RC4 with the private key of the authenticated account. By extracting the local ticket and saving it disk, the adversary can brute force the hashed value to reveal the target account credentials.

CAPEC-555: Remote Services with Stolen Credentials

This pattern of attack involves an adversary that uses stolen credentials to leverage remote services such as RDP, telnet, SSH, and VNC to log into a system. Once access is gained, any number of malicious activities could be performed.

CAPEC-561: Windows Admin Shares with Stolen Credentials

An adversary guesses or obtains (i.e. steals or purchases) legitimate Windows administrator credentials (e.g. userID/password) to access Windows Admin Shares on a local machine or within a Windows domain.

CAPEC-60: Reusing Session IDs (aka Session Replay)

This attack targets the reuse of valid session ID to spoof the target system in order to gain privileges. The attacker tries to reuse a stolen session ID used previously during a transaction to perform spoofing and session hijacking. Another name for this type of attack is Session Replay.

CAPEC-644: Use of Captured Hashes (Pass The Hash)

An adversary obtains (i.e. steals or purchases) legitimate Windows domain credential hash values to access systems within the domain that leverage the Lan Man (LM) and/or NT Lan Man (NTLM) authentication protocols.

CAPEC-645: Use of Captured Tickets (Pass The Ticket)

An adversary uses stolen Kerberos tickets to access systems/resources that leverage the Kerberos authentication protocol. The Kerberos authentication protocol centers around a ticketing system which is used to request/grant access to services and to then access the requested services. An adversary can obtain any one of these tickets (e.g. Service Ticket, Ticket Granting Ticket, Silver Ticket, or Golden Ticket) to authenticate to a system/resource without needing the account's credentials. Depending on the ticket obtained, the adversary may be able to access a particular resource or generate TGTs for any account within an Active Directory Domain.

CAPEC-652: Use of Known Kerberos Credentials

An adversary obtains (i.e. steals or purchases) legitimate Kerberos credentials (e.g. Kerberos service account userID/password or Kerberos Tickets) with the goal of achieving authenticated access to additional systems, applications, or services within the domain.

CAPEC-701: Browser in the Middle (BiTM)

An adversary exploits the inherent functionalities of a web browser, in order to establish an unnoticed remote desktop connection in the victim's browser to the adversary's system. The adversary must deploy a web client with a remote desktop session that the victim can access.

CAPEC-94: Adversary in the Middle (AiTM)

An adversary targets the communication between two components (typically client and server), in order to alter or obtain data from transactions. A general approach entails the adversary placing themself within the communication channel between the two components.