Логотип exploitDog
Консоль
Логотип exploitDog

exploitDog

github логотип

GHSA-6gvq-jcmp-8959

Опубликовано: 16 дек. 2025
Источник: github
Github: Прошло ревью
CVSS3: 6.5

Описание

ALTCHA Proof-of-Work Vulnerable to Challenge Splicing and Replay

Impact

A cryptographic semantic binding flaw in ALTCHA libraries allows challenge payload splicing, which may enable replay attacks. The HMAC signature does not unambiguously bind challenge parameters to the nonce, allowing an attacker to reinterpret a valid proof-of-work submission with a modified expiration value. This may allow previously solved challenges to be reused beyond their intended lifetime, depending on server-side replay handling and deployment assumptions.

The vulnerability primarily impacts abuse-prevention mechanisms such as rate limiting and bot mitigation. It does not directly affect data confidentiality or integrity.

Patches

This issue has been addressed by enforcing explicit semantic separation between challenge parameters and the nonce during HMAC computation.

Users are advised to upgrade to patched versions.

Workarounds

As a mitigation, implementations may append a delimiter to the end of the salt value prior to HMAC computation (for example, <salt>?expires=<time>&). This prevents ambiguity between parameters and the nonce and is backward-compatible with existing implementations, as the delimiter is treated as a standard URL parameter separator.

Пакеты

Наименование

altcha-lib

npm
Затронутые версииВерсия исправления

< 1.4.1

1.4.1

Наименование

altcha-org/altcha

composer
Затронутые версииВерсия исправления

< 1.3.1

1.3.1

Наименование

github.com/altcha-org/altcha-lib-go

go
Затронутые версииВерсия исправления

< 1.0.0

1.0.0

Наименование

org.altcha:altcha

maven
Затронутые версииВерсия исправления

< 1.3.0

1.3.0

Наименование

altcha

rubygems
Затронутые версииВерсия исправления

< 1.0.0

1.0.0

Наименование

altcha

pip
Затронутые версииВерсия исправления

< 1.0.0

1.0.0

Наименование

altcha

Затронутые версииВерсия исправления

< 1.0.0

1.0.0

EPSS

Процентиль: 10%
0.00035
Низкий

6.5 Medium

CVSS3

Дефекты

CWE-115
CWE-347

Связанные уязвимости

CVSS3: 6.5
nvd
около 2 месяцев назад

ALTCHA is privacy-first software for captcha and bot protection. A cryptographic semantic binding flaw in ALTCHA libraries allows challenge payload splicing, which may enable replay attacks. The HMAC signature does not unambiguously bind challenge parameters to the nonce, allowing an attacker to reinterpret a valid proof-of-work submission with a modified expiration value. This may allow previously solved challenges to be reused beyond their intended lifetime, depending on server-side replay handling and deployment assumptions. The vulnerability primarily impacts abuse-prevention mechanisms such as rate limiting and bot mitigation. It does not directly affect data confidentiality or integrity. This issue has been addressed by enforcing explicit semantic separation between challenge parameters and the nonce during HMAC computation. Users are advised to upgrade to patched versions, which include version 1.0.0 of the altcha Golang package, version 1.0.0 of the altcha Rubygem, version 1.0.

EPSS

Процентиль: 10%
0.00035
Низкий

6.5 Medium

CVSS3

Дефекты

CWE-115
CWE-347