Skip to content
Access control Audit finding Advanced

Raw cased profile url renders the real owner over an attacker resolver s address

The Manager's profile route passed the URL segment as typed to two reads: the owner read normalised the name to its canonical ENSIP-15 form, while the record read did not, so the resolver and records came from a different node. An attacker who registered the raw-cased label with their own resolver could make the page show the real owner of the canonical name alongside an attacker-controlled 'Main receiving address' behind a copy button.

ChaseTheLight Follow

Originally disclosed on Immunefi

Critical View original
  • Disclosed after under an hour

93018 w a critical raw cased profile url renders the real owner over an attacker resolver s address

Submitted on Sep 13th 2026 at 21:35:09 UTC by @ChaseTheLight for Audit Competition | ENS

  • Report ID: #93018
  • 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 profile route takes the URL segment as typed and hands that one string to two reads. The owner read normalizes it to its ENSIP-15 form before touching the chain, so the owner, the expiry and the page's registration state come from the canonical node. The record read does not normalize. The ENS client library selects the resolver by the name as typed and reads the text records under the hash of the name as typed, so the resolver, the description and the social records come from a different node whenever the segment is not already canonical; the address records are requested under the canonical hash, but from that other node's resolver. alice.eth and Alice.eth are two names on chain (their namehashes differ), two registrations with two owners and two resolvers. A visitor who opens /Alice.eth is therefore shown the owner of alice.eth and the records served by the resolver of Alice.eth on one page, presented as one identity. An attacker who registers the label Alice as typed, naming as its resolver a contract of theirs that answers the address query for the canonical node with their own address (a registration and resolver writes argued from contract source, not performed for this report), gets a page at the Manager's /Alice.eth route that names the real owner of alice.eth in its Owner row and offers the attacker's address under the heading "Main receiving address", behind a one-click copy button. The page presents one identity: the heading is the name as typed and the Owner row answers for the canonical name. The victim reaches it by a shared link, or by typing the name with a capital letter, which the app's own search would fold and the address bar does not; once there, the page's share action emits the same raw URL. No wallet is connected and no transaction is built in the Manager; the loss lands wherever the victim pastes the copied address. The defect is two application services disagreeing about which node one string names, and it is closed by one canonicalisation step before either read.

Vulnerability Details

Root cause

One URL segment reaches the chain twice, canonicalised once. The route parameter is accepted as typed (apps/manager/src/routes/$name/route.tsx:5-13): the only checks are a minimum length and the presence of a dot.

TS
    parse: ({ name }) => {
      if (name.length < 3 || !name.includes('.')) {
        throw new Error('Invalid ENS name')
      }

      return {
        name,
      }
    },

The page loader hands that string to the record query and the owner query together (routes/$name/index.tsx:51-56):

TS
    const [profileRecords, ownerData] = await Promise.all([
      queryClient.ensureQueryData(profileRecordsQuery(name)),
      // Fetch, not ensure: `ensureQueryData` serves invalidated data, so a name
      // cached as ownerless pre-registration would redirect its owner away.
      queryClient.fetchQuery(profileOwnerQuery(name)),
    ])

The owner service canonicalises first. getOwner calls normalizeEthName(params.name) (features/profile/service/profileOwner.ts:25), which runs viem's ENSIP-15 normalize and returns the folded string (profileName.ts:14-21); every chain read in that service uses the normalized name: the v2 owner at :56 and the v1 fallback at :88 use ethName.name, and the DNS branch uses the normalized dnsName (:39). The expiry service does the same through normalizeEth2LdName (profileExpiry.ts:77, reads at :94 and :106). The record service does not. getProfileRecords (profileRecords.ts:82-154) queries the record index with { id: name } as given (:49, called at :95) and then asks the client library for the records of name as given (:122-132):

TS
  const records = yield* fromPromise(
    getRecords(client, {
      name,
      texts,
      coins,
      contentHash: true,
      abi: true,
      ignoreInvalidCoinTypes: true,
    }),
    (error) => new GetProfileRecordsError({ cause: error }),
  )

The library selects the resolver by the name as typed and hashes the name differently per record type. The universal-resolver call that locates the resolver wraps toHex(packetToBytes(nameWithSizedLabels)), the DNS encoding of the name as given (@ensdomains/ensjs, dist/actions/public/resolveNameData.js:40,54). The text, content-hash and ABI calls are built on namehash(name) (dist/utils/coders/getText.js:7, getContentHash.js:8, getAbi.js:8). The address call is the exception: the address coder imports normalize from viem/ens (dist/utils/coders/getAddress.js:3) and builds args: [namehash(normalize(name))] for coin 60 (:33-35) and [namehash(normalize(name)), coinType] for every other coin (:43-45), and getRecords routes each requested coin through it (dist/actions/public/getRecords.js:22-27). namehash is keccak over the label bytes, so namehash('Alice.eth') is 0x4a46419fb486ae90839e2a549d4be74a30ae9a1525e537f9c2aab4b9f33331b0 and namehash('alice.eth') is 0x787192fc5378cc32aa956ddfdedbf26b24e8d78e40109add0eea2c1a012c3dec. For the URL segment Alice.eth the record read therefore goes to the resolver of the node Alice.eth, asks it for the text records of Alice.eth and for the ETH address of alice.eth, and reports that resolver's address as the page's resolver.

What the page shows Read by Name used Node
Owner row, registration state, the decision to render a profile at all profileOwner.ts:25,56,88 normalize(name) canonical
Expiry profileExpiry.ts:77,94,106 normalize(name) canonical
Resolver address, description, social and contact records, content hash profileRecords.ts:95,123-124; resolveNameData.js:40,54; getText.js:7 name as typed raw
"Main receiving address", chain-specific addresses profileRecords.ts:123-124; getAddress.js:33-35,43-45 normalize(name) for the hash, name as typed for the resolver canonical hash, asked of the raw node's resolver
Document title, og:description index.tsx:122-124,137 name as typed, raw node's description raw

The two halves meet on one screen. ProfileView subscribes to both queries with the same name (components/view/ProfileView.tsx:93-96 and :99-101), passes the canonical owner and the records read on the raw name into the same header (:192-211, owner at :207, records at :209), and those records into the cards (:213-217). The header renders the segment as typed as the page heading (ProfileHeader.tsx:51, ProfileDetails.tsx:22-28) directly above the Owner row, which shows the canonical node's owner, or that owner's primary name when one is set, with its own copy button (ProfileDetails.tsx:113-123).

The sink is the address card. ProfileAddressesSection picks the main address from the records the raw node's resolver returned (ProfileAddressesSection.tsx:159); the picker takes the coin-60 entry first (ProfileView.helpers.ts:229-237, the find at :234). That address is rendered under the heading "Main receiving address" (:170-172) inside a copy button whose value is the address itself (:90-95):

TSX
    <CopyableButton
      className={`${cardSurfaceClassName} ${addressCardPaddingClassName} h-auto min-h-13.75 w-full justify-between gap-2 py-4 lg:landscape:max-w-132.75`}
      iconClassName={profileCardCopyIconClassName}
      iconStrokeWidth={profileCardTrailingIconStrokeWidth}
      value={address.value}
    >

CopyableButton also sets the button's title to that value (components/atoms/CopyableButton/CopyableButton.tsx:47), so the full address is what the visitor copies and what their browser shows on hover. Coin 60 is in the probe list on every profile load (features/profile/data/records/utils.ts:42, spread at profileRecords.ts:117), so the ETH address comes from the chain read, the query the library sends to the raw node's resolver under the canonical hash.

The rest of the app treats the two spellings as one name. The header search lowercases its input before it navigates (features/navigation/Header/search/searchSuggestions.utils.ts:54), the registration parser lowercases before it validates (features/register-v2/utils/name-parser.ts:46), and the owner and expiry services normalize. The project's own test states the intent for the owner path: normalizeEthName('Sub.FOO.ETH') must return sub.foo.eth (profileName.test.ts:5-11).

Trigger and preconditions

The victim is any visitor to a profile URL. The attacker needs one registration and no interaction with the victim's wallet or the Manager.

  1. A registered name exists. Call it alice.eth, registered on Sepolia, which is the only chain the Manager is built against (lib/wagmi.ts:80, chains: [sepoliaWithEns]) and the programme's stated network ("Ethereum Sepolia is the primary network."). The loader takes the fallback or redirect branch when the canonical node has no owner (index.tsx:77-93), so the attack page only renders for a name that is registered, which is the ordinary case.

  2. The attacker holds the node Alice.eth, and its resolver answers the canonical node's address query. Alice.eth is a separate registration of the label bytes Alice. The registry keys each entry on LibLabel.id(label) (live_verified/PermissionedRegistry.0xBDC85dD5.sol:424, verified source), which is uint256(keccak256(bytes(label))) (LibLabel.sol:7-9, ensdomains/contracts-v2 at commit 48b3e2d3), so Alice and alice are separate entries. The registrar that calls them is read from that same commit rather than from verified deployment source. The registrar prices through an IRentPriceOracle it holds in storage and its owner can replace (AbstractETHRegistrar.sol:34,78-81, from ensdomains/contracts-v2 at commit 48b3e2d3). The oracle pinned for this deployment by the client library the applications use is StandardRentPriceOracle at 0x8914b66260EB8C4fff795650c3AE8Cd335958987 (@ensdomains/ensjs, src/clients/l1.ts:140 for the Sepolia block, entries at :174-199), whose published source is verified on the block explorer (solc 0.8.27, verified 9 August 2026) and byte-identical to ensdomains/contracts-v2 at branch main as of 12 September 2026. There, isValid(string label) is getBasePrice(label, 1) > 0, and its own docstring reads "Does not check if normalized."; getBasePrice applies no normalisation or case rule: it returns 0 when bytes(label).length is 0 or above 255, and for a label inside that bound it prices from the deployment's rate entry for the label's codepoint count, so a label whose codepoint count maps to a zero rate would price at 0 and be rejected as invalid. isValid is a view helper; a registration reaches the same predicate through getRegisterPrice and _requireBasePrice (:310, :400-409), which reverts NotValid(label) on a zero price. Neither isValid nor getBasePrice folds case or normalises (:275-277, :365-374). the pinned v2 ETHRegistrar ABI (@ensdomains/ensjs-abi, v2/ethRegistrar, a dependency rather than part of the audited code) declares register(string label, address owner, bytes32 secret, address subregistry, address resolver, uint64 duration, address paymentToken, bytes32 referrer), isAvailable(string label) and an error set that includes NameNotAvailable(string label) and NotValid(string label), the latter annotated in the ABI as bubbled from IRentPriceOracle, so the label-validity rule the registrar applies is the rent price oracle's. The application says the same in its own words: "the ENSv2 contracts impose no character constraints on labels (only a 1–255 byte length)" (apps/portal/src/utils/token/isNameOrAddress.ts:9-10). The fold is client-side: the Manager lowercases before it hands a label to the registrar (name-parser.ts:46); the Explorer's register page rejects a name that is not already normalized (apps/portal/src/utils/token/nameValidation.ts:25-27, rendered at apps/portal/src/features/register/components/RegisterName.tsx:42-44,84-89) and folds nothing; and the transaction manager both apps drive strips .eth and folds nothing else (packages/transaction-manager/src/machines/registration/registration.actors.ts:141,244). A direct caller sees none of these. No registration was made for this report.

    The page's ETH-address call carries namehash('alice.eth') and is sent to the resolver of Alice.eth, so the attacker's resolver must answer addr(namehash('alice.eth')) with the attacker's address. The v2 register takes the resolver as an argument (the ABI above; the registration flow passes it at registration.actors.ts:242-252), so the attacker names it at registration: a contract of theirs that returns a fixed address for every addr query; the registrar's interface takes a plain address for it, and the deployed registry applies no check to it: PermissionedRegistry._register stores the argument as entry.resolver with no validation of any kind (:460), and getResolver(label) returns the stored value for any label whose entry has not expired (:257-259), both verified source. The resolver contract is not part of the audited code; this route needs no property of it beyond the answer it returns. So the attacker sends one commit and one register for Alice naming their resolver, sets that resolver's answer for addr(namehash('alice.eth')) to their own address, and copies the victim's avatar and description text records under namehash('Alice.eth'). One registration fee.

  3. The victim opens /Alice.eth. The route is /$name/ (routeTree.gen.ts:73, :187), and /p/$name/ redirects to it with the parameter unchanged (routes/p/$name/index.tsx:9), so the app's own share-URL shape reaches the same loader. The route is client-rendered (index.tsx:142), so both reads run in the visitor's browser against the app's RPC transport (lib/wagmi.ts:68-74). The page's share action builds ${origin}/p/${name} from the segment as typed (ProfileView.tsx:60-65), so a raw URL, once opened, propagates itself through the app's own control.

Who is immune: a visitor who types Alice.eth into the header search, because the search folds case before it navigates (searchSuggestions.utils.ts:54) and lands on /alice.eth. The address bar, a pasted link and the share URL do not pass through that fold.

Recommended fix

Canonicalise the segment once, before any read, so one URL can only ever name one node. Two changes, both small, and the helper they need sits beside the existing normalisers (viem/ens normalize is already imported at profileName.ts:1):

  1. In the loader (routes/$name/index.tsx:50), compute the ENSIP-15 form of name; if it has none, return the not-found fallback; if it differs from the segment, redirect to /$name with the canonical value before either query is issued.
  2. In getProfileRecords (profileRecords.ts:82), canonicalise the input and refuse a name that has no canonical form, so the record read cannot name a different node from the owner read for any other caller of profileRecordsQuery.

The structural fix is to canonicalise in the route parameter parser (route.tsx:5-13) so every route under /$name receives the canonical string and the two services cannot be handed different spellings. The full patch and which assertions it flips are in the Proof of Concept section.

Impact Details

The in-scope impact this maps to

The governing entry, quoted verbatim from the programme's 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

This report files at Critical on that entry, on its first sub-example. The application renders the ENS name alice.eth, as identified by its own Owner row, expiry and registration state, to an address the attacker controls, read from the attacker's resolver, under the heading "Main receiving address", in a copy button.

Loss mechanism and its bound

The loss path is a misdirected payment. An ENS profile's main receiving address is what the page exists to publish, and the Manager puts it behind a copy button so the visitor pastes it into whatever they are sending from. The address the button holds belongs to the attacker's resolver. Nothing on the page reads as a second name: the heading carries the name the visitor asked for, the Owner row carries the real owner (or the real owner's primary name), the expiry is the real expiry, the description and avatar are copies of the real ones. Where the owner has set a primary name the Owner row renders it, so a visitor comparing that string against the heading would see they differ; where the owner has not, the row renders a truncated address and the page offers no such comparison. The Proof of Concept measures the second case.

Per victim the loss is whatever they send, so it is bounded by the victim's intent, not by anything in the application. The attacker's cost is one registration and the resolver it names. The window is the lifetime of the attacker's registration, and the page needs no further action from the attacker once the resolver is set. A specific figure is not offered because the amount sent to a copied address is a property of the victim, not of the code.

The Manager itself takes no transaction from the victim in this flow, so the sub-example that applies is rendering, not pre-filling. The programme's Critical entry names rendering explicitly.

Why not lower, and the out-of-scope entries to weigh

No lower entry on the list covers a name rendered to an attacker's address. The High entries cover static-content injection and other users' details, neither of which is this; the head clause of the Critical entry, a user sending funds to an unintended recipient, is the harm.

"Reflected plain text injection (e.g. url parameters, path, etc.)" does not apply. The page does echo the segment as typed in its heading and document title (ProfileDetails.tsx:22-28, index.tsx:137), and this report puts no weight on that echo. The attacker's address is not in the URL and is not reflected from it; it is read from the chain, from a node the attacker registered, because the application asked for the wrong node. The heading matters only as the reason the visitor sees one identity: the name as typed sits above an Owner row that answers for the canonical name.

"Impacts caused by vulnerabilities requiring un-prompted, in-app user actions that are not part of the normal app workflows" does not apply. Opening a profile URL is the Manager's primary workflow, and the app's own share action produces the raw-cased URL once one has been opened (ProfileView.tsx:60-65).

"UX and UI impacts that do not materially disrupt use of the platform" does not apply. The defect site is a React component, so the entry is worth naming, but the outcome is a copied attacker address, not a rendering artefact.

"Theoretical impacts without any proof or demonstration": the Proof of Concept drives the real loader, renders the page's real header and cards from what it cached, on in-process fixtures standing in for the chain and the record index, with the attacker's resolver answering as step 2 requires, and reads what the copy buttons hand to the clipboard.

The precondition a reviewer might weigh is that the attacker's setup is a registration and a resolver that answers for the canonical node. The Critical entry's own sub-example presupposes it: "resolving or rendering an ENS name to an attacker-controlled address" requires the attacker to control what a name resolves to, which is resolver state on chain. The sibling Critical entry on the same list names contract-side state as well: "Inducing a blanket token approval (for example setApprovalForAll on the registry or NameWrapper) to an attacker-controlled address". The programme's ladder accepts harm whose setup lives in contract state; what this report files on is what the application does with one string.

Not a duplicate, and scope

The nearest Known Issue is EXP-INPUT-005, "ENS name validators accept deceptive characters", verbatim:

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.

That entry's own impact sentence excludes this report's consequence. Three differences, each from source:

  1. No validator is involved. EXP-INPUT-005 is about what the name validators accept. The profile route parameter passes through no validator: route.tsx:6 checks a length and a dot and returns the string. There is nothing on this path for a validator fix to tighten.
  2. The input is not a deceptive character. It is an ordinary capital letter, which the Manager's own parsers lowercase (name-parser.ts:46, searchSuggestions.utils.ts:54) and the Explorer's validator rejects as non-normalized. The root cause is that two read paths fed one string canonicalise differently (profileOwner.ts:25 versus profileRecords.ts:95,123-124), not that a validator admits a confusable glyph.
  3. The consequence is incorrect resolution, the outcome the entry's text sets aside. The page resolves one name's records and another name's owner and presents them as one profile; the attacker's address comes from an on-chain read of the resolver of a node the attacker owns.

The Known Issues document also states, in its own terms, where the line falls: "Anything not listed here is in scope under the normal competition rules, including: ... new consequences of a listed root cause that materially change its severity". Even on the broadest reading of "transforms", an Owner row vouching for an attacker's receiving address is a new consequence at a different severity from display confusion.

No other entry is close. WEB-1301 ("Address view shows misleading owner and expiry metadata") is the address page showing the wallet's primary name's metadata, a functional defect with no attacker and no second node. Part 2 deduplicates by behaviour ("a report that describes one of these behaviors is a duplicate of this section"), and no Part 2 item describes a profile rendering another node's records. No entry in Part 1 or Part 2 concerns how the profile route canonicalises its name; getProfileRecords, normalizeEthName and the address card appear nowhere in the document.

The defect is in apps/manager, the listed asset "Manager app Files" dated 6 August 2026, in the app's own route and services. Nothing on the out-of-scope list is at fault. The address the page renders is a resolver's answer, and what this report files on is that the application sends that query to the resolver of a different node from the one whose owner it displays (index.tsx:50-56 hands the raw segment to both queries; profileOwner.ts:25 normalizes, profileRecords.ts:124 does not). The defect and its fix are in the application: both reads that produce the page are RPC calls the app itself makes on every profile load, the record index is queried with the same raw string and contributes no bytes of the rendered address, and the fix is one canonicalisation step in the application. The record query does need the index to answer for the raw id rather than error, and the Proof of Concept records that dependency. No feature flag or branch in the loader or in ProfileView avoids the defect (index.tsx:165-174, ProfileView.tsx:80-241); the surrounding page shell is not mounted by the Proof of Concept and is argued from source not to change which node either read comes from.

References

Repository: https://github.com/immunefi-team/audit-comp-ens/tree/audit-comp-ready/apps/manager (the Manager asset, dated 6 August 2026). Paths below are relative to apps/manager/src unless stated.

  1. routes/$name/route.tsx - #L5-L13 (the parameter parser: length and a dot, string returned as typed)
  2. routes/$name/index.tsx - #L51-L56 (both queries issued on the raw segment), #L77-L93 (the ownerless branch, which the attack page never takes), #L122-L124 (the raw node's description becomes the page description), #L131-L141 (head, title from the segment as typed at #L137), #L142 (client-rendered)
  3. features/profile/service/profileOwner.ts - #L25 (normalizeEthName), #L56 (v2 owner read on ethName.name), #L88 (v1 fallback on ethName.name); profileName.ts - #L1 (normalize import), #L14-L21 (ENSIP-15 fold); profileExpiry.ts - #L77, #L94, #L106
  4. features/profile/service/profileRecords.ts - #L49 (record index asked with { id: name }), #L95 (that lookup), #L117 (coin 60 always probed), #L122-L132 (the record read on name as typed), #L165-L169 (the query, key carrying name unchanged); features/profile/data/records/utils.ts - #L42
  5. features/profile/components/view/ProfileView.tsx - #L60-L65 (share URL from the segment as typed), #L93-L96 and #L99-L101 (records and owner subscribed with the same name), #L192-L211 (owner and records into one header), #L213-L217 (records into the cards); ProfileHeader.tsx - #L51, #L63-L66; ProfileDetails.tsx - #L22-L28 (heading), #L113-L123 (Owner row)
  6. features/profile/components/view/ProfileAddressesSection.tsx - #L159 (main address picked from the records), #L90-L95 (copy button, value={address.value}), #L170-L172 ("Main receiving address"); ProfileView.helpers.ts - #L229-L237 (coin 60 first); components/atoms/CopyableButton/CopyableButton.tsx - #L47 (title={title ?? value})
  7. Other name entries, which fold case: features/navigation/Header/search/searchSuggestions.utils.ts - #L54; features/register-v2/utils/name-parser.ts - #L46; features/profile/service/profileName.test.ts - #L5-L11
  8. lib/wagmi.ts - #L68-L74 (the public client), #L80 (chains: [sepoliaWithEns]); routeTree.gen.ts - #L73, #L187 (/$name/), #L135, #L192 (/p/$name/); routes/p/$name/index.tsx - #L9
  9. apps/portal/src/utils/token/isNameOrAddress.ts - #L9-L10 (the application's statement that v2 label validity is length only)
  10. Dependencies, pinned in pnpm-lock.yaml and outside the audited code: @ensdomains/ensjs dist/utils/coders/getAddress.js:3,33-35,43-45 (namehash(normalize(name))), dist/utils/coders/getText.js:7, getContentHash.js:8, getAbi.js:8 (namehash(name)), dist/actions/public/getRecords.js:22-27 (each coin through the address coder), dist/actions/public/resolveNameData.js:40,54 (packetToBytes); @ensdomains/ensjs-abi v2/ethRegistrar (register(string label, address owner, bytes32 secret, address subregistry, address resolver, ...), isAvailable, NotValid(string label)), v2/permissionedResolver (authorizeNameRoles, hasRootRoles)
  11. Resolver deployment and record writes, in the monorepo packages the apps drive (paths from the repository root): packages/transaction-manager/src/machines/registration/registration.actors.ts - #L67-L73, #L99-L105 (the proxy initialised with the full role bitmap), #L141, #L244 (.eth stripped, no fold), #L242-L252 (register with the resolver argument); packages/smart-account/src/providers/rhinestone/manifest.ts - #L166-L172 (ROLES_ALL); packages/smart-account/src/providers/rhinestone/registration-calls.ts - #L321-L330 (authorizeNameRoles(0x00, ...)); apps/manager/src/features/migration/service/buildProfileReplayCalls.ts - #L20-L27 (setAddr(node, coinType, value)); apps/manager/src/features/migration/service/migrationInvariants.ts - #L284-L286; `apps/portal/

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

Likely the route parameter was passed unnormalised to the record service while the owner service canonicalised it, so one URL string named two different on-chain nodes.

Impact

A visitor could copy an attacker-controlled address believing it belongs to the real owner of the name, and send funds to it; the Manager itself builds no transaction, so the loss occurs wherever the address is pasted, and a visitor who reaches the page via the app's own search (which lowercases) is not affected.

What the attacker needed

Attacker registers the raw-cased label; attacker-controlled resolver contract; victim opens the raw-cased profile URL; canonical name must be registered

The fix

The segment should be canonicalised once before any read, redirecting to the canonical URL and refusing names with no canonical form, ideally in the route parameter parser so both services receive the same string.

How it was found

  1. Register the raw-cased label (for example the capitalised form) with a resolver contract you control.
  2. Configure that resolver to answer the address query for the canonical name's hash with your own address.
  3. Copy the real profile's avatar and description text records under the raw-cased name's hash.
  4. Send the victim a link to the raw-cased profile URL, or rely on the page's own share action emitting it.
  5. The victim sees the real owner in the Owner row and copies the attacker's address from the 'Main receiving address' card.

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.

ENS names are looked up on a blockchain, and the lookup is case-sensitive: 'Alice.eth' and 'alice.eth' are two separate entries with separate owners. This page checked the owner using the lowercased name but fetched the displayed address using the name exactly as typed in the URL, so someone who registered the capitalised version could make the page show the real owner's name next to their own payment address.

What is Access control?

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.

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.

Broken access control

The lesson behind this report.

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.