Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessRequest or craft ALTCHA challenge
-
DeliveryStrip signature field, set low-difficulty params
-
ExploitSolve trivial proof-of-work
-
ExecutionSubmit forged payload
-
ImpactCAPTCHA/bot control bypassed
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A04:2025 - Cryptographic Failures
ASVS 5.0
V11 - Cryptography Signature verification
|
| Exploitation Conditions | Exploitable only against ALTCHA PHP library (altcha-org/altcha-lib-php) versions 2.0.0 through 2.0.2 that have hmacSignatureSecret configured - the vendor-recommended production setting - because verifySolution only reached the vulnerable branch when a secret was set. The concrete trigger is removing the 'signature' key from the challenge JSON payload so the null-signature condition short-circuits the HMAC check; the attacker then self-selects low-difficulty PoW parameters and solves them trivially. Limiting factors: deployments that do not set hmacSignatureSecret are outside the described vulnerable branch, and upgrading to 2.0.3 (which explicitly rejects a missing signature when a secret is configured) fully closes it. No authentication or user interaction is required (PR:N/UI:N). |
| Impact | All exploitability signals point to easy abuse: the supplied CVSS:3.1 vector (AV:N/AC:L/PR:N/UI:N) indicates a network-reachable, low-complexity, unauthenticated attack, and the mechanism in the GHSA advisory and patch diff confirms it - a client-controlled challenge payload with the signature key stripped bypasses the entire HMAC tamper-detection branch. Scope is Unchanged and impact is integrity-only (C:N/I:H/A:N), consistent with a security-control bypass rather than data theft or code execution. Decision label is 'this_week' (not act_now/emergency). No EPSS score, no CISA KEV entry, and no confirmed public exploit were supplied, so this is not confirmed as actively exploited; however, the root cause and a regression test demonstrating the bypass are public in the fix commit, which lowers the barrier to weaponization. Net: a genuine, high-reliability control bypass that merits prompt patching per its 'this_week' priority, but with no current evidence of in-the-wild exploitation or mass automation. |
| Exploit ScenarioDerived | An attacker targeting a site that uses ALTCHA PHP 2.0.0-2.0.2 with hmacSignatureSecret set (the recommended production mode) intercepts or self-issues a challenge, deletes the signature field, and chooses trivial proof-of-work parameters. They solve the low-cost PoW and submit the payload, which verifySolution accepts because the missing signature skips the HMAC check entirely, defeating the CAPTCHA. No public exploit is identified in the provided data, but the fix commit publishes the exact trigger condition and a demonstrating test. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 18, 2026
CAPTCHA bypass in the ALTCHA PHP library (composer package altcha-org/altcha-lib-php) versions 2.0.0 through 2.0.2 lets unauthenticated remote attackers submit a challenge payload with the signature field removed, which causes verifySolution to skip HMAC tamper-detection entirely when hmacSignatureSecret is configured. The attacker can then self-issue low-difficulty proof-of-work parameters, solve them cheaply, and have the payload verified as valid, defeating the CAPTCHA control on any deployment using the vendor-recommended secret configuration. The issue is fixed in 2.0.3, which explicitly rejects a missing signature; no public exploit code was identified at time of analysis and no EPSS or CISA KEV data was supplied, though the assessed CVSS:3.1 vector (AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N, 7.5) reflects network-reachable, low-complexity abuse with high integrity impact and no confidentiality or availability impact.
RemediationAI
Upgrade to the vendor-released patched version 2.0.3 - for example composer require altcha-org/altcha:^2.0.3, or raise the constraint to 2.0.3 or later and redeploy - which makes verifySolution reject any payload whose signature field is absent whenever hmacSignatureSecret is configured. The code change is the upstream commit 8b02ad2c9b82998613bac4d093517d457061cbbe (https://github.com/altcha-org/altcha-lib-php/commit/8b02ad2c9b82998613bac4d093517d457061cbbe) and the fixed build is published at https://github.com/altcha-org/altcha-lib-php/releases/tag/v2.0.3, with advisory GHSA-82w8-65qw-gch6. Upgrading is the complete fix; if an upgrade cannot be scheduled immediately, note that only deployments that set hmacSignatureSecret are inside the vulnerable branch, but removing the secret to step outside it also removes all challenge tamper-detection and lets clients choose their own proof-of-work parameters, so that trade-off is not a substitute for patching. Until patched code is deployed, treat challenge verification results as untrusted and add server-side validation of expected challenge parameters.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 2 packages in composer, euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
ALTCHA is a proof-of-work CAPTCHA: the server issues a challenge whose parameters (algorithm, cost, key prefix, salt, counter targets) are protected by an HMAC signature derived from hmacSignatureSecret, and the client returns the challenge plus a solved proof of work in a payload that verifySolution checks. The defect is a CWE-347 improper-verification-of-cryptographic-signature flaw: the pre-patch code only entered the HMAC comparison branch when both $payload->challenge->signature and $this->hmacSignatureSecret were non-null, so an omitted signature short-circuited the check and control fell through to the proof-of-work validation, which then ran against attacker-controlled, unauthenticated parameters. Because the challenge parameters are client-supplied and unverified in that path, an attacker can pick a trivially low cost, solve the resulting work, and receive a verified result. The upstream fix (commit 8b02ad2) restructures the branch so that when hmacSignatureSecret is set, a null signature returns a VerifySolutionResult with verified false and invalidSignature true, and adds a regression test asserting that a stripped-signature payload is rejected. The practical scope is limited to deployments that actually configure hmacSignatureSecret, which is the vendor's recommended production setting; installations without a secret never entered the vulnerable branch.
Know when PHP gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Remote, unauthenticated, no-interaction bypass of a CAPTCHA integrity control with trivial complexity; integrity-only impact, no confidentiality or availability effect.
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
2DescriptionCVE.org
ALTCHA PHP is a lightweight PHP library for creating and verifying ALTCHA challenges. From 2.0.0 until 2.0.3, the verifySolution method skips HMAC signature verification when a challenge payload omits the signature field, even when hmacSignatureSecret is configured. An attacker can remove the signature, supply attacker-selected low-difficulty challenge parameters, solve the resulting proof of work, and submit a payload that verifies successfully, bypassing the CAPTCHA control. This issue is fixed in version 2.0.3.
Technical POC Analysis
CWE-347, Improper Verification of Cryptographic Signature.
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Executive ViewAI
The ALTCHA PHP library versions 2.0.0 through 2.0.2 contain a CAPTCHA bypass (CVE-2026-71481) that allows unauthenticated attackers to submit forged challenge payloads, effectively disabling a key bot-prevention control on affected websites and applications. Leadership should care because this undermines the integrity of user verification processes, potentially enabling automated abuse such as spam, fake account creation, or credential stuffing that can damage brand trust and operational stability.
No vendor-released patch identified at time of analysis; however, the issue is fixed in version 2.0.3. As an interim mitigation, deploy additional bot-detection controls such as rate limiting, IP reputation filtering, and behavioral analysis, and consider temporarily disabling CAPTCHA-protected features if abuse is detected. Apply vendor patch (upgrade to 2.0.3) as soon as possible.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
In PHP versions 7.1.x below 7.1.33, 7.2.x below 7.2.24 and 7.3.x below 7.3.11 in certain configurations of FPM setup it
sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI script (aka php-cgi), does not
(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear
The '/common/download_agent_installer.php' script in the Quest KACE System Management Appliance 8.0.318 is accessible by
ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C
Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au
Util/PHP/eval-stdin.php in PHPUnit before 4.8.28 and 5.x before 5.6.3 allows remote attackers to execute arbitrary PHP c
Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
The get_referers function in /opt/ws/bin/sblistpack in Sophos Web Appliance before 3.7.9.1 and 3.8 before 3.8.1.1 allows
The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1
EUVD-2026-129148
GHSA-82w8-65qw-gch6
NVD
CVE.org
EPSS
Exploit-DB