GHSA-82w8-65qw-gch6

Suggest an improvement
Source
https://github.com/advisories/GHSA-82w8-65qw-gch6
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/11/GHSA-82w8-65qw-gch6/GHSA-82w8-65qw-gch6.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-82w8-65qw-gch6
Aliases
Published
2026-11-18T20:48:18Z
Modified
2026-11-18T21:00:39Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N CVSS Calculator
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.

Database specific
{
    "cwe_ids": [
        "CWE-347"
    ],
    "github_reviewed": true,
    "github_reviewed_at": "2026-11-18T20:48:18Z",
    "nvd_published_at": null,
    "severity": "HIGH"
}
References

Affected packages

Packagist / altcha-org/altcha

Package

Name
altcha-org/altcha
Purl
pkg:composer/altcha-org/altcha

Affected ranges

Type
ECOSYSTEM
Events
Introduced
2.0.0
Fixed
2.0.3

Affected versions

v2.*
v2.0.0
v2.0.1
v2.0.2

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/11/GHSA-82w8-65qw-gch6/GHSA-82w8-65qw-gch6.json"