Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2023-38698— .eth registrar controller can shorten the duration of registered names

Quick assessment

Affected
ensdomains ens-contracts
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

ENS是以太坊域名服务的注册商和本地解析器的实现。 Ethereum Name Service 0.0.21及之前版本存在输入验证错误漏洞,该漏洞源于renew函数存在整数溢出问题,导致攻击者能够缩短registrar名称的持续时间。

CVSS 4.9 · Medium EPSS 0.85% · P57
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2023-38698

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

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
.eth registrar controller can shorten the duration of registered names
Source: CVE Program / CVE List V5
Vulnerability Description
Ethereum Name Service (ENS) is a distributed, open, and extensible naming system based on the Ethereum blockchain. According to the documentation, controllers are allowed to register new domains and extend the expiry of existing domains, but they cannot change the ownership or reduce the expiration time of existing domains. However, a preliminary analysis suggests that an attacker-controlled controller may be able to reduce the expiration time of existing domains due to an integer overflow in the renew function. The vulnerability resides `@ensdomains/ens-contracts` prior to version 0.0.22. If successfully exploited, this vulnerability would enable attackers to force the expiration of any ENS record, ultimately allowing them to claim the affected domains for themselves. Currently, it would require a malicious DAO to exploit it. Nevertheless, any vulnerability present in the controllers could potentially render this issue exploitable in the future. An additional concern is the possibility of renewal discounts. Should ENS decide to implement a system that offers unlimited .eth domains for a fixed fee in the future, the vulnerability could become exploitable by any user due to the reduced attack cost. Version 0.0.22 contains a patch for this issue. As long as registration cost remains linear or superlinear based on registration duration, or limited to a reasonable maximum (eg, 1 million years), this vulnerability could only be exploited by a malicious DAO. The interim workaround is thus to take no action.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:N
Source: CVE Program / CVE List V5
Vulnerability Type
整数溢出或超界折返
Source: CVE Program / CVE List V5
Vulnerability Title
ENS 输入验证错误漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
ENS是以太坊域名服务的注册商和本地解析器的实现。 Ethereum Name Service 0.0.21及之前版本存在输入验证错误漏洞,该漏洞源于renew函数存在整数溢出问题,导致攻击者能够缩短registrar名称的持续时间。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
ensdomains ens-contracts <= 0.0.21 -

II. Public POCs for CVE-2023-38698

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2023-38698

请登录查看更多情报信息。

Patches & Fixes for CVE-2023-38698 (1)

Vendor Advisories for CVE-2023-38698 (1)

Other References for CVE-2023-38698 (1)

IV. Related Vulnerabilities

V. Comments for CVE-2023-38698

No comments yet


Leave a comment