Vulnerability Information
Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.
Vulnerability Title
Non-atomic hash-credential dedup in mpp Tempo allows replay of a confirmed payment under a concurrent race
Vulnerability Description
Time-of-check Time-of-use (TOCTOU) Race Condition in ZenHive mpp allows an unauthenticated remote client to redeem one confirmed on-chain payment for multiple paid-resource accesses.
The type="hash" credential path in MPP.Methods.Tempo.verify/2 guards against replay with a non-atomic check-then-mark sequence: check_hash_unused/2 reads the dedup store, an eth_getTransactionReceipt round trip verifies the payment on chain, and only then does mark_hash_used/2 write the mark. Concurrent requests carrying the same settled payment hash all pass the read before any of them writes, so each is issued a receipt. The store's atomic check_and_mark/2 primitive is available and used by the type="transaction" path, but the hash path calls plain get and put even when the configured store implements it. Exploitation requires a dedup store to be configured; the default nil store is stateless and documented as offering no replay protection at all.
This issue affects mpp: from 0.2.0 before 0.6.1.
CVSS Information
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N
Vulnerability Type
检查时间与使用时间(TOCTOU)的竞争条件
Vulnerability Title
ZenHive MPP 竞争条件问题漏洞
Vulnerability Description
ZenHive MPP是ZenHive组织开源的一款嵌入式服务器。 ZenHive MPP 0.2.0版本至0.6.1之前版本存在竞争条件问题漏洞,该漏洞源于type="hash"凭据路径中的检查与标记操作非原子,存在TOCTOU竞争条件,并发请求携带相同已结算支付哈希时均通过检查,可能导致未认证远程客户端使用一次已确认的链上支付多次访问付费资源。
CVSS Information
N/A
Vulnerability Type
N/A