VulnWatch by ve1ve2
high 7.5 EPSS 0.28%

GHSA-82w8-65qw-gch6: ALTCHA PHP: verifySolution bypasses HMAC signature check when challenge signature is absent

Source:
OSV.dev
Published:
Fetched:
Updated:
Affects:
php altcha-org/altcha

https://osv.dev/vulnerability/GHSA-82w8-65qw-gch6 ↗

osvpackagistfix-available

ALTCHA PHP: verifySolution bypasses HMAC signature check when challenge signature is absent 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. Affected: Packagist:altcha-org/altcha Fixed in: 2.0.3 References: https://github.com/altcha-org/altcha-lib-php/security/advisories/GHSA-82w8-65qw-gch6 https://github.com/altcha-org/altcha-lib-php/commit/8b02ad2c9b82998613bac4d093517d457061cbbe https://github.com/altcha-org/altcha-lib-php https://github.com/altcha-org/altcha-lib-php/releases/tag/v2.0.3

Linked vulnerabilities (2)

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

ALTCHA PHP: verifySolution bypasses HMAC signature check when challenge signature is absent

CWE: CWE-347Aliases: CVE-2026-71481
CVE-2026-71481 high 7.5 EPSS 0.28% (p21) NVDCVE.orgGHSA
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

ALTCHA PHP: verifySolution bypasses HMAC signature check when challenge signature is absent

CWE: CWE-347Aliases: GHSA-82w8-65qw-gch6NVD: Received

Also reported by (1)