Skip to content
Business logic Audit finding Advanced

Manager renew route: the victim pays to renew an attacker's name and their own lapses

The Manager's renewal page lowercases the URL segment for the label it displays, prices and encodes into the renew transaction, while reading owner, protocol and expiry through ENSIP-15 normalisation, so a segment containing an invisible variation selector shows the victim's name but signs a renewal for a different registration held by an attacker. The victim pays to extend the attacker's name while their own name lapses on its original date.

ChaseTheLight Follow

Originally disclosed on Immunefi

Critical View original
  • Disclosed after under an hour

93115 w a critical manager renew route the victim pays to renew an attacker s name and their own lapses

Submitted on Sep 14th 2026 at 09:55:50 UTC by @ChaseTheLight for Audit Competition | ENS

  • Report ID: #93115
  • Report Type: Websites & Apps
  • Report severity: Critical
  • Target: https://github.com/immunefi-team/audit-comp-ens/tree/audit-comp-ready/apps/manager
  • Impacts:
    • Causing the application to display or pre-fill an incorrect address, name, or transaction detail, so that a user sends funds or submits a transaction to an unintended recipient, such as: - resolving or rendering an ENS name to an attacker-controlled address - showing the wrong recipient or amount on a transaction the user then approves

Description

Brief/Intro

The Manager's renewal page derives two names from one URL segment. parseRenewableName lowercases the segment, and its label becomes the page heading, the price quote and the label inside the renew calldata. Every owner, protocol and expiry read on the same page goes through ENSIP-15 normalize first.

ENSIP-15 maps characters that lowercasing leaves alone, the emoji variation selector U+FE0F among them. /renew/🔥️🔥️🔥️.eth carries a U+FE0F after each flame; the selector has no glyph, and U+1F525 already has emoji presentation, so nothing changes on screen. That segment renders the page of 🔥🔥🔥.eth: that name's expiry, that name's renewal eligibility, a heading that reads the same, and a Renew button whose transaction carries the label 🔥️🔥️🔥️, a separate registration that an attacker holds. The victim signs renew("🔥️🔥️🔥️", duration, token, referrer). The page then reports the name as extended to its old expiry plus the chosen duration; the attacker's registration is what gained the time, and the victim's name expires on its original date.

Everything on the path to that transaction is in the listed assets: the route, both canonicalisers, the page components and the calldata encoder live in apps/manager and packages/transaction-manager. Two offline test files, written against the frozen snapshot and executed in a sealed network namespace, drive both loaders and the page's renewal machine to the wallet boundary and measure what each read was asked for, what the page shows and which label the calldata carries (Proof of Concept section).

Vulnerability Details

Root cause

One route parameter, two canonical forms, consumed by different halves of the same page.

The write side is parseRenewableName (apps/manager/src/features/renew/utils/renewableName.ts:25-36). It wraps parseName (apps/manager/src/features/register-v2/utils/name-parser.ts:33-82), whose only character-level transform is name.trim().toLowerCase() (:46), followed by an ASCII punctuation blacklist (:11); :58 additionally drops empty labels, so a leading or trailing dot is removed. Both loaders return that label to the page unchanged: apps/manager/src/routes/renew/$name.tsx:60-63 and apps/manager/src/routes/renew-v1/$name.tsx:50-53.

The read side starts one line later in the same loader. profileExpiryQuery(name) (renew/$name.tsx:26-28) calls getExpiry, whose first statement is normalizeEth2LdName(name) (apps/manager/src/features/profile/service/profileExpiry.ts:77); that is viem's ENSIP-15 normalize (profileName.ts:1,18). The canonical name, ethName.name, is what the owner read and the v2 expiry read receive (profileExpiry.ts:88,105-106; profileOwner.ts:55-58). So the loader's protocol and currentExpiry describe the canonical name, while its label is the lowercased segment.

Measured with viem 2.52.2, the version the Manager resolves, on each side's own function:

Route segment parseName label (renewed) normalize name (read) labelhash of the two labels
🔥️🔥️🔥️.eth (U+1F525 U+FE0F, three times) 🔥️🔥️🔥️ (unchanged) 🔥🔥🔥.eth 0x0723b895... and 0x4fcdcd9b...
vitalik.eth (fullwidth) vitalik vitalik.eth differ
𝐯𝐢𝐭𝐚𝐥𝐢𝐤.eth (mathematical bold) 𝐯𝐢𝐭𝐚𝐥𝐢𝐤 vitalik.eth differ
ⓥitalik.eth (circled) ⓥitalik vitalik.eth differ
café.eth (e followed by U+0301) café (unchanged) café.eth (U+00E9) differ
VITALIK.eth vitalik vitalik.eth same

The last row is the one the app tests. renewableName.test.ts:23-27 asserts that canRenewV2Name('Alice.eth') and canRenewV2Name('Alice.ETH') are accepted, and case is the one transform both sides agree on. No test under features/renew or routes exercises any other row.

Two label strings are two registrations for either renewer the app targets, because both key renew on the hash of the label bytes. Neither renewer the app targets is in the audited repository. In the project's contracts repository the v2 registrar inherits its renew from AbstractETHRegistrar (contracts/src/registrar/ETHRegistrar.sol:37, contract ETHRegistrar is AbstractETHRegistrar, IETHRegistrar; the file overrides neither renew nor _requireRenewable), and that renew resolves the registration as ETH_REGISTRY.getState(LibLabel.id(label)) and renews state.tokenId, where LibLabel.id is uint256(keccak256(bytes(label))) (ensdomains/contracts-v2, contracts/src/registrar/AbstractETHRegistrar.sol:84-94,131-139 and contracts/src/utils/LibLabel.sol:6-9, branch main as fetched on 2026-09-12; reference 13). ETHRenewerV1, the renewer the app targets for unmigrated v1 names (apps/manager/src/features/renew/utils/renewalProtocol.ts:5-8, reached from apps/manager/src/features/renew/state/renewalUi.machine.ts:189), is keyed the same way and in the same repository: it is contract ETHRenewerV1 is AbstractETHRegistrar (contracts/src/registrar/ETHRenewerV1.sol:35), it overrides neither renew nor _requireRenewable, and the renewal callback it overrides syncs ENSv1 as BASE_REGISTRAR.renew(LibLabel.id(label), duration) (:133-135). The registry expiry lookup the app itself performs hashes labels[0] as given (ensjs src/actions/public/v2/getExpiry.ts:54, labelhash(labels[0]); a pinned dependency rather than part of the export). The calldata therefore names a registration whose owner and expiry the page never read.

Nothing between the two sides compares them. canRenewV2Name (renewableName.ts:40-47) rebuilds ${parsed.value.label}.eth from the raw label, and isRenewableV2EthName (apps/manager/src/features/grace/utils/gracePeriod.ts:41-55) tests it against /^[^.]+\.eth$/ (:48) and tests the grace window against the canonical name's expiry. Every mapped form in the table passes the regex. Neither route defines params.parse; the only parse on a name route in the app checks the segment's length and that it contains a dot (apps/manager/src/routes/$name/route.tsx:5-8), and no route redirects a segment to its canonical form.

What the page shows and what it signs

Every consumer of the loader's label takes it without canonicalising it:

  • The heading. RenewPricingStep passes label to PricingDomainHeader (apps/manager/src/features/renew/workflow/pricing/PricingStep.tsx:24,27), which renders ${label}.eth as the <h1> (apps/manager/src/features/register-v2/workflow/pricing/components/PricingDomainHeader.tsx:9,29).
  • The price. ConfirmPurchase.tsx:21-22 queries getRenewPriceQueryOptions(label, duration, selectedToken, protocol); getRenewPrice (apps/manager/src/features/renew/data/queries/renewPricing.query.ts:36-42) hands label to ensjs getRenewPrice, a readContract of getRenewPrice(label, duration, paymentToken) on the renewer (src/actions/public/v2/getRenewPrice.ts:57-66). The number on screen is the price of the twin.
  • The transaction. ConfirmPurchase.tsx:63-72 sends renewal.start with label; the renewal machine stores it as submissionData.label (apps/manager/src/features/renew/state/renewalUi.machine.ts:148-159) and hands it to submitRenewActor (:346-355); encodeRenewData (packages/transaction-manager/src/machines/registration/registration.actors.ts:1020-1031) removes the first .eth from the label (:1025) and ABI-encodes renew(label, duration, paymentToken, referrer). That file contains no call to normalize or labelhash; its toLowerCase calls are on payment-token addresses (:844,:910,:1064).
  • The receipt. After the transaction, RenewalDetails.tsx:50 renders ${submissionData.label}.eth on the domain card, and :28-31 computes the "Expires" line from currentExpiry, the canonical name's expiry, plus the chosen duration (:108). One card, two names, presented as one.

Renewal is a direct wallet flow: "the connected EOA approves + renews itself" (ConfirmPurchase.tsx:32-34), so the wallet is asked to sign an ERC-20 approval, when the allowance is short, and a renew(string,uint64,address,bytes32) call whose string argument differs from the name on screen by a selector with no glyph.

Trigger and preconditions

The actor is the owner of X.eth, following a link to the renewal page and completing the ordinary renew flow: pick a duration, confirm, sign. The attacker holds a twin label X' that lowercases to itself and normalises to X.

For the v2 route, the twin is an ordinary registration, and the Manager's own registration route carries such a label to the registrar unchanged: /register/$name takes parseName's label (apps/manager/src/routes/register/$name.tsx:24,57); its availability query applies normalizeDomainNameFromUrl, which only strips or appends .eth and truncates to 255 bytes (apps/manager/src/utils/domain.ts:27-33); checkRealNameAvailability runs validateENSName (apps/manager/src/features/shared/service/nameChainContractService.ts:31), which rejects spaces, dots inside the label, labels under three code points and the same ASCII blacklist, and nothing else (apps/manager/src/features/shared/registration/nameUtils.ts:100-140); and the registration encoder in registration.actors.ts applies no normalisation to the label (the same absence of normalize and labelhash noted above). The project states the contract-side rule in its own source: "the ENSv2 contracts impose no character constraints on labels (only a 1–255 byte length), so the actual client-side rule is ENSIP-15 normalization" (apps/portal/src/utils/token/isNameOrAddress.ts:9-10); the v2 registrar's ABI also carries a NotValid(label) error bubbled from its rent price oracle (@ensdomains/ensjs-abi src/v2/ethRegistrar.ts:95-99, src/v2/standardRentPriceOracle.ts:9-15), the contract that package describes as the one "used by ETHRegistrar and ETHRenewerV1" (src/v2/standardRentPriceOracle.ts:4). That predicate is not in the audited repository, but it is published as verified source at the oracle address the app pins for this chain, 0x8914b662... (ensjs src/clients/l1.ts:198-199): isValid(label) is getBasePrice(label, 1) > 0, getBasePrice rejects a label on its byte length alone, zero or above 255, and otherwise returns a rate from a table indexed by code point count, and isValid carries the docstring "Does not check if normalized." (reference 14). The same check gates registration and renewal, because getRegisterPrice and getRenewPrice both route through it and revert NotValid only where that base price is zero. What the source does not fix is the rate table's values, which are supplied to the oracle's constructor and were not read from the deployment here. Which oracle a registrar reads is set at construction and replaceable after it: both deployed renewers were constructed with this oracle address (reference 15), and each one's owner can replace it. Whatever the registrar admits, the Manager registers.

On the v2 route the twin must be renewable when the victim arrives, meaning registered or within its grace period (ETHRegistrar.sol:264-272). That is the attacker's own registration state.

The route for unmigrated v1 names splits the same way, on a different precondition. renew-v1/$name.tsx:15,51 takes the same lowercased label; :21 and :36 read the owner and the v1 expiry on the canonical name; :37 gates the page on ETHRenewerV1.isRenewable(label) for the raw label (apps/manager/src/features/renew/data/queries/v1Renewable.query.ts:19,28). So this page too is gated on the twin and titled with the victim's expiry. What differs is which twin reaches it. ETHRenewerV1 renews only a name the v2 registry holds as RESERVED, or one that is AVAILABLE with a null owner still inside the v2 grace period (contracts/src/registrar/ETHRenewerV1.sol:138-148), a contract whose own summary line is that it "only renews premigrated ENSv2 reservations" (:28). RESERVED is the registry's state for a label registered with no owner, and entering it requires a root role either way: ROLE_REGISTRAR on root to register a label with a null owner, and ROLE_RENEW on root to revive a lapsed reservation (contracts/src/registry/PermissionedRegistry.sol:49-51,212-213,218-224,407-409,430,598-608). ETHRenewerV1's second branch requires the same null owner, which is what the v2 registrar's grace branch forbids: that one requires latestOwner != address(0) (ETHRegistrar.sol:274-281). An ordinary registration that has expired is therefore renewable on the v2 route while it is in grace, and not on this one. The twin described above, registered through the Manager's own route, is REGISTERED with an owner, which is what the v2 registrar renews (ETHRegistrar.sol:264-272) and what ETHRenewerV1 does not. A twin on this route is therefore a label the registry holds as RESERVED, or one that is AVAILABLE with a null latest owner inside the v2 grace period, rather than an ordinary registration made through the app. This report does not establish that an attacker can hold such a twin; it files on the v2 route, where the twin is the attacker's own registration. The PoC drives both loaders; it answers renewability from a lookup table, so it measures the split and not the precondition.

The victim can also arrive from inside the app. The profile page's Renew Name button links getRenewalRoute(protocol) with the raw route name (apps/manager/src/features/profile/components/view/ProfileRenewAction.tsx:81-87). The one production call site of shouldShowThirdPartyRenewalWarning is on that button (:66; apps/manager/src/features/renew/utils/thirdPartyRenewalWarning.ts:1-3), and it is fed isOwner computed from the owner of the canonical name (ProfileView.tsx:99-101,119, passed as resolvedIsOwner at :152,230 and forwarded unchanged by ProfileActions.tsx:99-104), so for the victim it is silent.

The same split is reached without an attacker. An emoji keyboard that emits U+FE0F produces a segment whose owner and expiry reads go to one name and whose price query and calldata carry another.

Recommended fix

One canonical form. Derive the label in parseRenewableName from normalizeEth2LdName and reject a segment that ENSIP-15 cannot normalise; the label the page prices, displays and encodes is then the label whose expiry it read. The patch and its effect on the tests are in the Proof of Concept section.

Impact Details

The in-scope impact this maps to

The entry this report is filed on, quoted in full from the Impacts in Scope list:

Causing the application to display or pre-fill an incorrect address, name, or transaction detail, so that a user sends funds or submits a transaction to an unintended recipient, such as: - resolving or rendering an ENS name to an attacker-controlled address - showing the wrong recipient or amount on a transaction the user then approves

The severity claimed is Critical, the severity of that entry. The incorrect item the page displays is the name: the heading and the receipt card read as the victim's name, next to that name's expiry, eligibility and post-renewal expiry. The transaction detail is the label argument, pre-filled with a different registration's label; the user approves it. The funds go to the registrar either way; what the victim did not intend is the registration the payment extends, the attacker's, and the amount is that registration's price.

A second entry on the same list reaches this finding and carries the same severity:

Malicious interactions with an already-connected wallet, such as: Modifying transaction arguments or parameters Substituting contract addresses Submitting malicious transactions Signing or submitting a transaction against the wrong chain (for example when the request's target chain is not validated) Inducing a blanket token approval (for example setApprovalForAll on the registry or NameWrapper) to an attacker-controlled address

The renewal flow requires a connected wallet, and the first item describes what happens to the label argument. Its head clause can be read as requiring an attacker at the wallet boundary; here the attacker supplies a link and the application supplies the argument.

Loss mechanism and its bound

The victim's wallet pays the renewal price of the twin for the chosen duration, in the payment token the page offers (USDC on the v2 registrar, packages/transaction-manager/src/contracts/ens-sepolia.ts:44-54). The payment is a mined, user-signed transaction against a registrar; the renewer ABI the encoder uses, ethRegistrarRenewSnippet, has renew as its only function entry (@ensdomains/ensjs-abi src/v2/ethRegistrar.ts:291-303). The duration lands on the attacker's registration.

The collateral loss is the victim's own name. The page's "Expires" line reports it extended, so the victim has no reason to renew it again. It expires on its original date and, after the 28-day v2 grace period (gracePeriod.ts:6), becomes available to anyone, the attacker included.

The bound per victim is one renewal price plus the name. The link is reusable across victims and across every name for which a twin can be registered. For the U+FE0F example the twin is six code points against the canonical three, so the quote on screen is whatever the registrar charges for a six-character label; a figure lower than the victim expects is not a warning to them. For the fullwidth, mathematical and circled forms the code-point count is unchanged.

Lower entries, and the exclusions that could apply

No lower entry on the list covers a signed, paid transaction whose displayed subject is a different registration from the one it renews. No High, Medium or Low entry describes a transaction the user signs: they cover persistent and reflected static-content injection, disclosure of or changes to other users' details, open redirect, expired outgoing links, and temporary denial of access.

"The ENS smart contracts, subgraph/indexer, and NFT metadata service are out of scope" is the entry to weigh first, because the transaction lands on a registrar. The entry this report files on locates the harm at "a transaction the user then approves", and that transaction is built, argument by argument, inside the listed packages/transaction-manager from a label produced inside the listed apps/manager. The registrar executes the calldata it is handed, as it does for every renewal; no contract misbehaves and none is claimed to. The loader's reads on this path are two contract reads: the owner read, which returns on the nonzero v2 owner before any other lookup (profileOwner.ts:60-65), and the registry expiry read (profileExpiry.ts:104-110). The entry's own first sub-bullet, resolving a name to an attacker-controlled address, presupposes the same kind of landing.

"Impacts caused by vulnerabilities requiring un-prompted, in-app user actions that are not part of the normal app workflows" does not apply. The victim follows a link to the renewal page and completes the renewal workflow as designed: duration, confirm, sign.

"UX and UI impacts that do not materially disrupt use of the platform" does not apply. The defect site is a route loader and a React page, but the outcome is a user-signed on-chain payment for another party's registration and the lapse of the victim's own name while the app reports it renewed.

"Attempting phishing or other social engineering attacks against our employees and/or customers" is a testing prohibition. This report describes a link and sent none; the Proof of Concept section runs against local source only.

The victim opens an attacker-supplied link. The entry's first sub-bullet is a victim resolving a name and receiving an attacker's address; a link to the app's own renewal page for what reads as the victim's own name is the same shape of interaction. Once the victim is on that URL the app keeps it: the profile page's Renew Name button links the raw segment (Trigger and preconditions).

Not a duplicate, and scope

The nearest entry in the Known Issues document is EXP-INPUT-005, quoted in full:

EXP-INPUT-005: ENS name validators accept deceptive characters

Severity: Medium · Status: open, fix ready (Manager and Explorer)

Our name validators accept inputs that ENS normalization later rejects or transforms, including homoglyphs, bidirectional-control and other control characters, and a single leading or trailing dot. The practical impact is homograph-style display confusion in our UI rather than incorrect resolution.

The label reaches the route through parseName, whose permissiveness is that entry's subject; the admission is necessary and not sufficient. The defect this report describes is downstream of it: the same route reads owner, protocol and expiry on the ENSIP-15 form and prices, displays and encodes the lowercased form, so the page vouches for one registration and signs for another. The entry describes neither the split nor its consequence. It bounds its own consequence to display confusion "rather than incorrect resolution". The heading does show the deceptive string, and on its own that is the display confusion the entry describes. What the entry does not describe is that the same page reads the owner and expiry of the canonical name, so the eligibility gate passes on the victim's registration, the "Expires" line is the victim's, and the wallet is asked to sign renew for a label whose hash is not the victim's. That consequence is a signed, paid renewal of another registration, on a Critical entry, against the entry's Medium. Whether the entry's ready validator fix also closes this route does not bear on the carve-out, which turns on consequence and severity. The document's own rule keeps it eligible:

new consequences of a listed root cause that materially change its severity

The document draws the same line elsewhere. QA-03, a price-rounding mismatch in the Explorer, is bounded with "Display-level only; a mismatch between the displayed total and the amount actually charged on-chain would be a new finding"; the mismatch here is between the name the page reads about and the label the signed transaction carries.

Nothing else in the document touches the renewal label. WEB-1255 is a grace-window boolean defaulting to v2, so v1 names are shown the wrong expiry status; here the expiry shown is correct for the canonical name and belongs to a different registration from the one renewed. WEB-626 is a modal on the owner's own grace-period renewal that implies a third-party renewal; the inverse symptom on another path. QA-03 is the price-rounding entry quoted above. QA-05 blocks renewal right after registration and is unrelated.

The defect is in apps/manager and packages/transaction-manager, both listed assets. There is no feature flag and no branch that avoids it: the two canonicalisers are called unconditionally on every load of either renew route.

References

Repository: https://github.com/immunefi-team/audit-comp-ens/tree/audit-comp-ready (the Manager app asset at apps/manager, dated 6 August 2026; the Transaction-manager asset at packages/transaction-manager, dated 13 August 2026). All paths below are relative to the repository root, except references 13 and 14, which name their own sources.

  1. apps/manager/src/routes/renew/$name.tsx - #L20 (parseRenewableName(name)), #L26-L28 (profileExpiryQuery(name)), #L52 (canRenewV2Name(name, expiryDate)), #L60-L63 (the loader returns the lowercased label next to the canonical name's expiry)
  2. apps/manager/src/routes/renew-v1/$name.tsx - #L15, #L21, #L35-L38, #L50-L53 (the same shape, gated on isRenewable for the raw label), #L62 (protocol="v1")
  3. apps/manager/src/features/renew/utils/renewableName.ts - #L25-L36 (parseRenewableName, the defect site and the fix site), #L40-L47 (canRenewV2Name)
  4. apps/manager/src/features/register-v2/utils/name-parser.ts - #L11 (the ASCII blacklist), #L46 (trim().toLowerCase(), the only transform)
  5. apps/manager/src/features/profile/service/profileExpiry.ts - #L77 (normalizeEth2LdName(name)), #L88 (owner read on the canonical name), #L104-L110 (v2 expiry read on the canonical name); apps/manager/src/features/profile/service/profileName.ts - #L1, #L18 (viem normalize), #L62-L73; apps/manager/src/features/profile/service/profileOwner.ts - #L25, #L55-L65
  6. apps/manager/src/features/grace/utils/gracePeriod.ts - #L6 (the 28-day v2 grace period), #L41-L55 (isRenewableV2EthName, regex at #L48); apps/manager/src/routes/$name/route.tsx - #L5-L8 (the only params.parse on a name route)
  7. apps/manager/src/features/renew/workflow/pricing/PricingStep.tsx - #L24, #L27; apps/manager/src/features/register-v2/workflow/pricing/components/PricingDomainHeader.tsx - #L9, #L29 (the heading); apps/manager/src/features/renew/workflow/pricing/components/ConfirmPurchase.tsx - #L21-L22 (price query on the raw label), #L32-L34 (direct wallet route), #L63-L72 (renewal.start with the raw label); apps/manager/src/features/renew/data/queries/renewPricing.query.ts - #L36-L42
  8. apps/manager/src/features/renew/state/renewalUi.machine.ts - #L148-L159 (stores the label), #L189 (renewerAddress: getRenewerAddress(input.protocol)), #L346-L355 (hands the label and that address to submitRenewActor); apps/manager/src/features/renew/utils/renewalProtocol.ts - #L5-L8 (ETHRenewerV1 for 'v1', ETHRegistrar for 'v2'); apps/manager/src/features/renew/workflow/renewing/components/RenewalDetails.tsx - #L28-L31 (the "Expires" date from the canonical name's expiry), #L50 (the card from the raw label), #L108
  9. packages/transaction-manager/src/machines/registration/registration.actors.ts - #L1020-L1031 (encodeRenewData, no canonicalisation), #L1039-L1100 (submitRenewActor; #L1048-L1053 the renewer default, which the renewal machine overrides at apps/manager/src/features/renew/state/renewalUi.machine.ts #L354); packages/transaction-manager/src/contracts/ens-sepolia.ts - #L10, #L17 (the two renewers), #L44-L54 (USDC)
  10. The registration path that carries the twin to the registrar: apps/manager/src/routes/register/$name.tsx - #L24, #L57; apps/manager/src/features/register-v2/data/queries/availability.query.ts - #L9; apps/manager/src/utils/domain.ts - #L27-L33; apps/manager/src/features/shared/service/nameChainContractService.ts - #L31; apps/manager/src/features/shared/registration/nameUtils.ts - #L132; the project's statement of the contract-side rule, apps/portal/src/utils/token/isNameOrAddress.ts - #L9-L10
  11. The in-app routes to the page: apps/manager/src/features/profile/components/view/ProfileRenewAction.tsx - #L66, #L81-L87; apps/manager/src/features/renew/utils/thirdPartyRenewalWarning.ts - #L1-L3; apps/manager/src/features/profile/components/view/ProfileView.tsx - #L99-L101, #L119, #L152, #L230; apps/manager/src/features/profile/components/view/ProfileActions.tsx - #L45-L50, #L99-L104
  12. The app's own test of the eligibility check: apps/manager/src/features/renew/utils/renewableName.test.ts - #L23-L27
  13. The renewers' renew, outside the audited repository: ensdomains/contracts-v2 at commit 48b3e2d39513b9dd32ef1850877a29009bc807b9. The first three files below were fetched from branch main on 2026-09-12 and re-fetched at that commit for comparison; all three are byte-identical, which is what pins them. contracts/src/registrar/AbstractETHRegistrar.sol (sha256 4ac0320c1430a837cdd73a120c17ac7934e5ccc0d9c371e6914531bf8abe03ac, 5,613 bytes, 144 lines) - #L84-L94 (renew; _requireRenewable(label, duration) at #L87, ETH_REGISTRY.renew(state.tokenId, newExpiry) at #L91), #L131-L139 (_requireRenewable; ETH_REGISTRY.getState(LibLabel.id(label)) at #L136), #L78-L80 (setRentPriceOracle, owner-replaceable); contracts/src/registrar/ETHRegistrar.sol (sha256 c945829de90eeb338a07a20e7a3cbb367f36a12795f3fd80cb8aaba6abeac472, 11,393 bytes, 303 lines) - #L37 (contract ETHRegistrar is AbstractETHRegistrar, IETHRegistrar; the file overrides neither renew nor _requireRenewable), #L264-L272 (_isRenewable: REGISTERED, or in grace having been registered), #L274-L281 (_isRenewableGrace, which requires latestOwner != address(0)); contracts/src/utils/LibLabel.sol (sha256 `c4c6f7747818e60cbfef535146ba4e95731574d740a5191cf

The original report as published on Immunefi, by ChaseTheLight. Images and videos are our own copies; raw HTML is shown as text. View it on Immunefi.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Root cause

The route parameter is canonicalised two different ways: the label used for display, pricing and calldata comes from a plain lowercase transform, while the owner and expiry reads go through ENSIP-15 normalisation, and nothing compares the two.

Impact

The victim's wallet pays the renewal price for the attacker's registration, and because the page reports their own name as extended they do not renew it, so it can lapse and become available to anyone after the grace period.

What the attacker needed

Attacker holds a twin label; victim follows an attacker link; victim completes the renew flow and signs; twin must be renewable on arrival

The fix

The label used for display, pricing and calldata should be derived from the same ENSIP-15 normalisation used for the owner and expiry reads, rejecting segments that cannot be normalised.

How it was found

  1. The attacker registers a twin label that lowercases to itself but normalises to the victim's name.
  2. The victim follows a link to the renewal page for a segment that renders as their own name.
  3. The page shows the victim's name, expiry and eligibility, and quotes the twin's renewal price.
  4. The victim picks a duration and signs the approval and renew transaction.
  5. The transaction renews the attacker's registration, while the receipt reports the victim's name as extended.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

A name like example.eth is really just a string of characters, and some characters look identical on screen but are stored differently. The page checked one version of the name to show the owner and expiry, but built the payment for a slightly different version, so the wallet paid to renew a name the attacker owned while the screen showed the victim's own name.

What is Business logic?

The application works as coded but not as intended: a negative price, a skipped payment step, a limit that can be crossed.

More by ChaseTheLight

View all

8 more disclosed reports, best first.

More from ENS

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Business logic flaws

The lesson behind this report.

The application works as coded but not as intended: a negative price, a skipped payment step, a limit that can be crossed.