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
Unbounded key authorization in mpp Tempo fee-payer sponsorship inflates gas cost and sponsors access-key provisioning
Vulnerability Description
Improper Validation of Specified Quantity in Input in ZenHive mpp allows an unauthenticated remote client to inflate the fee-payer's gas cost per sponsored payment by a large multiplier and to have the sponsor pay for provisioning an access key on the client's own account.
When the server sponsors Tempo payments, MPP.Methods.Tempo.FeePayerPolicy.measure/3 in lib/mpp/methods/tempo/fee_payer_policy.ex bounds the gas fields, the fee budget, the validity window and the access list of the client-signed 0x76 envelope, but does not check whether the envelope carries the optional key_authorization field. A client can attach a fully signed key authorization, provisioning a new access key with token spending limits on its own account, alongside the normal payment call. The key and each limit entry are persistent storage writes billed as intrinsic gas to the sponsor, bounded only by the gas_limit ceiling. At the reporter's default of one key with three token limits the sponsored cost rises from about 46,587 gas to about 1,808,700 gas, and the client keeps a valid access key it paid nothing for.
This issue affects mpp: from 0.2.0 before 0.16.1.
CVSS Information
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:H/VA:L/SC:N/SI:N/SA:N
Vulnerability Type
CWE-1284
Vulnerability Title
ZenHive MPP 输入验证错误漏洞
Vulnerability Description
ZenHive MPP是ZenHive组织开源的一款嵌入式服务器。 ZenHive MPP 0.2.0版本至0.16.1之前版本存在输入验证错误漏洞,该漏洞源于对输入中指定数量的验证不当,lib/mpp/methods/tempo/fee_payer_policy.ex文件中的MPP.Methods.Tempo.FeePayerPolicy.measure/3函数未检查客户端签名的0x76信封是否携带可选的key_authorization字段,可能导致未经身份验证的远程客户端将每笔赞助支付的gas费用大
CVSS Information
N/A
Vulnerability Type
N/A