GHSA-82W8-65QW-GCH6

Vulnerability from github – Published: 2026-11-18 20:48 – Updated: 2026-11-18 20:48
VLAI
Summary
ALTCHA PHP: verifySolution bypasses HMAC signature check when challenge signature is absent
Details

In altcha-org/altcha v2, the verifySolution method skips HMAC signature verification when the signature field is absent from the challenge payload, even when hmacSignatureSecret is configured.

An attacker who strips the signature key from the challenge JSON passes the condition as false, bypassing tamper-detection entirely. The PoW solution check then runs against unverified parameters — allowing an attacker to self-issue a low-difficulty challenge, solve it trivially, and submit a payload that verifies as true.

Impact: Complete CAPTCHA bypass on any deployment that sets hmacSignatureSecret (the recommended production configuration).

Fix: The check was split so that a missing signature is explicitly rejected when a secret is configured.

Show details on source website

{
  "affected": [
    {
      "package": {
        "ecosystem": "Packagist",
        "name": "altcha-org/altcha"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "2.0.0"
            },
            {
              "fixed": "2.0.3"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "aliases": [
    "CVE-2026-71481"
  ],
  "database_specific": {
    "cwe_ids": [
      "CWE-347"
    ],
    "github_reviewed": true,
    "github_reviewed_at": "2026-11-18T20:48:18Z",
    "nvd_published_at": null,
    "severity": "HIGH"
  },
  "details": "In altcha-org/altcha v2, the verifySolution method skips HMAC signature verification when the signature field is absent from the challenge payload, even when hmacSignatureSecret is configured.\n\nAn attacker who strips the signature key from the challenge JSON passes the condition as false, bypassing tamper-detection entirely. The PoW solution check then runs against unverified parameters \u2014 allowing an attacker to self-issue a low-difficulty challenge, solve it trivially, and submit a payload that verifies as true.\n\nImpact:\nComplete CAPTCHA bypass on any deployment that sets hmacSignatureSecret (the recommended production configuration).\n\nFix:\nThe check was split so that a missing signature is explicitly rejected when a secret is configured.",
  "id": "GHSA-82w8-65qw-gch6",
  "modified": "2026-11-18T20:48:18Z",
  "published": "2026-11-18T20:48:18Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://github.com/altcha-org/altcha-lib-php/security/advisories/GHSA-82w8-65qw-gch6"
    },
    {
      "type": "WEB",
      "url": "https://github.com/altcha-org/altcha-lib-php/commit/8b02ad2c9b82998613bac4d093517d457061cbbe"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/altcha-org/altcha-lib-php"
    },
    {
      "type": "WEB",
      "url": "https://github.com/altcha-org/altcha-lib-php/releases/tag/v2.0.3"
    }
  ],
  "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": "ALTCHA PHP: verifySolution bypasses HMAC signature check when challenge signature is absent"
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Loading…

Loading…

Related by attack behaviour

Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.


Loading…