Portal “Remove user from all roles” revokes only one resolver scope; the surviving scope permits a profile-description write that remains after role cleanup
Portal's "Remove user" action groups a delegate's role assignments by account but then revokes only one name-scoped assignment, so a second name's role survives the owner-confirmed removal. The former delegate can use that surviving role to overwrite the profile description text on the omitted name, which Portal then renders.
Originally disclosed on Immunefi
- Disclosed after under an hour
92552 w a critical portal remove user from all roles revokes only one resolver scope the surviving scope permits a profile description write that remains after role cleanup
Submitted on Sep 10th 2026 at 16:11:06 UTC by @IronsideSec for Audit Competition | ENS
- Report ID: #92552
- Report Type: Websites & Apps
- Report severity: Critical
- Target: https://github.com/immunefi-team/audit-comp-ens/tree/audit-comp-ready/apps/portal
- Impacts:
- Injecting/modifying the static content on the target application without JavaScript (persistent), such as:
- HTML injection without JavaScript
- Replacing existing text with arbitrary text
- Arbitrary file uploads, etc.
Description
Brief/Intro
Portal combines all PermissionedResolver role assignments for one account into one row, even when they belong to different resolver resources. The row still displays both names, but Remove user does not revoke both raw assignments. It selects one non-root name, flattens the displayed roles into one bitmap, and prepares one name-scoped transaction while the confirmation promises removal “from all roles.”
In the primary reproduced state, the same delegate has ROLE_SET_TEXT (16) on two ordinary names sharing one resolver:
decoy-victim.ethtreasury-victim.eth
The connected owner has the exact root route/admin bitmap reproduced in the Portal fixture. The owner opens the delegate row, sees both names, confirms Remove user, and the transaction succeeds. Portal sends only:
authorizeNameRoles(dnsencode("decoy-victim.eth"), 16, delegate, false)
After invalidation and refetch, the first role is gone but treasury-victim.eth: ROLE_SET_TEXT remains. Reversing the raw input order reverses which name is omitted; one scope survives in either order.
The former delegate can use that surviving contract-authorized role before the owner discovers and revokes it. The pinned Sepolia fork proves a post-removal setText(node, "description", arbitraryText) write and resolves the replacement through the deployed Universal Resolver. Revoking the omitted role then blocks later writes but does not undo the stored description. Portal's real profile component requests description and renders the same fork-proved text.
This is not an EAC bypass: the write passes because Portal failed to revoke one valid (resource, account) assignment. It is unauthorized relative to the owner-confirmed account-wide removal. The authority is visible and recoverable; the stored value remains only until an authorized overwrite/clear or resolver change.
Vulnerability Details
1. Account-only grouping loses the write model
groupRolesByAccount keys by account. For each later assignment it appends the raw role, appends decoded bits to one flat decodedRoles array, and independently adds the resolved name. ResolverRolesTable displays the grouped scopes and sends that one account row to the sidebar.
Grouping is safe for display, but removal must preserve each raw (resource, roleBitmap) pair. The raw roles array contains those pairs; the Remove path does not use it.
2. Remove selects one name and an aggregate bitmap
ResolverRolesSidebar.tsx:165-193 separately derives:
decodedRolesfrom the flattened account row;resolvedNamesfrom the displayed names; androleNamewithresolvedNames.find(n => n !== '(root)') ?? ''.
handleRemoveUser stores only that one roleName, the account, and the flattened role list. The confirmation still asks whether to remove the user “from all roles” (lines 441-448). The modal preparation and submitted action consume the same narrowed object (lines 467-501); this is not only a label or preview defect.
prepareResolverRolesIntent passes the pending remove object to prepareRevokeResolverRolesTransaction. The latter selects root scope only for name === ''; an ordinary selected name becomes one scope: 'name' request.
The mounted route PoC hard-codes and asserts the exact resulting data bytes. The same bytes are replayed against the fork proxy. They decode as:
function: authorizeNameRoles(bytes,uint256,address,bool)
name: decoy-victim.eth
bitmap: 16 (ROLE_SET_TEXT)
account: 0x2222222222222222222222222222222222222222
grant: false
3. The successful contract call changes only one resource
At contracts-v2 commit 8d1c89350729f87b3968cf41ef3d683951444a44, PermissionedResolver.authorizeNameRoles computes the resource from the single supplied DNS name. EnhancedAccessControl._revokeRoles updates only _roles[resource][account]. It does not know about the other assignments represented by Portal's grouped row.
The full route PoC uses a connected owner whose root bitmap is exactly:
ROLE_SET_ADDR | ROLE_SET_ADDR_ADMIN | ROLE_SET_TEXT_ADMIN
The real route gate checks root ROLE_SET_ADDR (route lines 41-50). The owner's Text admin role lets the selected revoke succeed. The test executes the real route, table, sidebar, confirmation, intent builder and revoke builder, then simulates successful transport, invalidates/refetches the overview, and observes the second name still in the delegate row. A negative control submits both name-specific revokes and proves no Text role remains while the owner's route/admin state is unchanged.
4. The omitted role changes text that Portal renders
PermissionedResolver.setText accepts the survivor because it still has ROLE_SET_TEXT. The Foundry PoC:
- forks Sepolia at block
11,673,299; - uses deployed
VerifiableFactory0x10dC6333CDFe1FCEf624c6e0a8221b91804Cd7efand deployed PermissionedResolver implementation0x9EAe5C2730a7dD16BDD1DeE6421a1B91e3B0365e; - registers two ordinary
.ethnames to one local-fork proxy for an ordinary EOA; - seeds only name-scoped Text roles for the delegate (delegate root bitmap is zero);
- replays the exact Portal calldata captured by supplemental mounted controls for both possible raw orders;
- writes the survivor's
descriptionas the delegate; - reads it through deployed Universal Resolver
0xeEeEEEeE14D718C2B47D9923Deab1335E144EeEe; - revokes the surviving role and proves a second attacker write fails while the first text remains; and
- proves an explicit owner record update repairs it.
The implementation has an exact Sourcify creation/runtime match. At the pinned block its runtime Keccak-256 is 0x7a5bbb7f5a8e46232a4437e8eea6cc6e935266ade1b8b027e4e04fb9ca8efd47; the factory runtime hash is 0x810afc44bd6c35ac974ab80a8cf983cc6e514364b7a214b3a25df2d4e1e7ba60.
Portal itself is the content sink. The public /$name route mounts NameProfileCard. NameProfileCard requests description, converts returned text records at lines 75-77, and renders texts.description at lines 115-120. getRecords normally obtains those records through ENSJS. The focused component test stubs getRecordsQueryOptions with the exact name/key/value proved on the fork and keeps the real NameProfileCard request and render logic.
5. Exploitation sequence
- One resolver serves two names. A delegate legitimately has name-scoped
ROLE_SET_TEXTon each. - The owner later distrusts the delegate, opens the grouped row, sees both scopes, and chooses Remove user.
- Portal promises removal from all roles. The owner confirms and signs one transaction. An ABI-aware wallet can show one selected name, bitmap
16, delegate, andfalse. - The transaction succeeds for that name only. The unauthorized interval begins after this owner-confirmed account-wide action succeeds.
- Before the owner notices the survivor after refetch and sends the corrective revoke, the former delegate writes arbitrary
descriptiontext to the omitted name. - Corrective role cleanup blocks future writes but does not mutate the record already stored.
- Portal displays the replacement until an authorized overwrite/clear or resolver change.
6. Preconditions and limitations
- The delegate previously held the exact role. This defect extends authority after incomplete revocation; it does not grant a stranger new authority.
- Two assignments for one account are required. The primary case uses two ordinary names with symmetric
ROLE_SET_TEXT; no root role or row-order assumption is needed. - The owner must choose Remove and approve one wallet transaction. The attacker cannot trigger that administrative action remotely.
- The owner needs sufficient admin authority for the selected bitmap. Otherwise the call reverts atomically and no false-success state arises.
- The demonstrated success path uses base manager role
ROLE_SET_TEXT. Aggregate rows containing_ADMINlabels can instead fail during ENSJS preparation; this report does not claim every bitmap succeeds. - Both names are visible before removal. An ABI-decoding wallet reveals the single selected name. The refetched row also reveals the survivor.
- The attacker must write after the incomplete transaction and before corrective cleanup. This is a post-success cleanup window, not a permanent role takeover.
- Role cleanup alone does not repair a value already written. An authorized record overwrite/clear or resolver change does.
- React renders text; no HTML or JavaScript execution, direct fund loss, or irreversible name loss is claimed.
- The PoC constructs a normal-reachable victim state; it does not claim that an organic matching resolver was found. All registrations, proxy state, permissions and writes exist only in discarded local fork state. No Sepolia write is broadcast.
7. Supplied known-issue comparison
The closest supplied entries do not describe this source/write path:
- QA-01 / WEB-1257 concerns role combinations after transfer that make later profile/primary operations error. This report has no transfer: the owner-requested revoke succeeds and an omitted current resource permits a demonstrated content write.
- WEB-1305 concerns a hang while transferring V2 roles to a V1 name. This report uses no transfer and emits valid PermissionedResolver revoke calldata.
- R2-06, labeled Low in the supplied list, concerns local session deletion leaving a time-bounded HCA co-owner permission on-chain. That is relevant adverse severity precedent, but it has a different package, state model, transaction, expiry behavior, and fix. Here Portal submits a resolver revoke to only one of several displayed resources, and the omitted resource permits the selected High-46 text consequence.
This also is not a positional stale-row-state issue: the account never changes and no checkbox state moves to another user. Stable row IDs or reset-on-account-change would not fix it. The required fix is resource-aware multi-revocation.
Recommended remediation
- Build Remove from
row.original.roles, preserving every(resource, roleBitmap)assignment. - Emit
revokeRootRoles(bitmap, account)for each root assignment and oneauthorizeNameRoles(name, bitmap, account, false)for each name assignment. - Do not derive write inputs from independent
resolvedNamesand flatteneddecodedRolesprojections. - Enumerate every planned scope/bitmap before signature. If several transactions are needed, keep the account-wide action incomplete until all succeed.
- After indexer sync, verify no raw assignment remains before reporting completion.
- Apply the same pair-preserving model to Save and prompt a potentially compromised owner to inspect existing records.
Impact Details
The exact selected impact is High 46: persistent static-content modification without JavaScript, including replacing existing text with arbitrary text.
The reproduced effect is an arbitrary description replacement after an owner-confirmed operation promising to remove the delegate from all roles. The replacement resolves through the deployed Universal Resolver and Portal's real profile component renders the same string. Later role cleanup stops further attacker writes but does not undo the record, so repeated reads retain it until authorized repair or resolver change.
The report does not claim that the malformed revoke itself injects text, that EAC is bypassed, or that authority/content is irreversible. The High consequence depends on the former delegate using the omitted role during the disclosed cleanup window.
References
- Frozen scoped Portal source
- Account grouping
- Grouped table
- Single-name Remove action and confirmation
- Remove intent preparation
- Root-versus-name revoke builder
- Portal name-route profile mount
- Portal description request/render
- PermissionedResolver name-role update
- Resource-local EAC revocation
- PermissionedResolver text write
- Sourcify exact deployment metadata
Proof of Concept
Proof of Concept
The PoC is standalone below. The optional attachment only mirrors these files and is not required.
Setup
- Clone the scoped repository and check out the frozen target:
git clone https://github.com/immunefi-team/audit-comp-ens.git
cd audit-comp-ens
git checkout --detach 1c9b47f18fcddd2e864dfe385c4171061c9811ae
- Use Node.js 22 and the repository-pinned
pnpm 10.27.0, then install from the frozen lockfile:
corepack enable
corepack prepare [email protected] --activate
pnpm install --frozen-lockfile
- Install Foundry (
forge; reproduced with 1.5.1). The fork requires outbound HTTPS but no key or live transaction.SEPOLIA_RPC_URLis optional; the test defaults to publichttps://sepolia.gateway.tenderly.co. - From repository root, create
audit_workspace/renewed/lead010-aggregate-text-high/and save every complete block below at its stated relative path. The blocks are byte-exact copies of the tested files. - Run, from repository root:
apps/portal/node_modules/.bin/vitest run --config audit_workspace/renewed/lead010-aggregate-text-high/portal-report-vitest.config.ts --reporter verbose
forge test --root audit_workspace/renewed/lead010-aggregate-text-high/fork-poc -vv
Expected decisive results:
Portal: 2 test files passed; 3 tests passed
- route removes decoy, refetches treasury-victim.eth:ROLE_SET_TEXT
- correct two-name negative leaves no delegate SET_TEXT authority
- profile component renders SEND ALL TREASURY PAYMENTS TO THE NEW ACCOUNT
Foundry: 1 suite passed; 3 tests passed
- each raw order clears only the selected role and preserves the other
- deployed Universal Resolver returns the attacker replacement
- text remains after omitted-role cleanup; explicit record repair restores it
- correct two-resource negative blocks both writes
Vitest can print a benign Radix warning about a missing Dialog description before passing.
Complete files
portal-report-vitest.config.ts
import { fileURLToPath } from 'node:url'
const portal = fileURLToPath(new URL('../../../apps/portal', import.meta.url))
const repo = fileURLToPath(new URL('../../..', import.meta.url))
const deps = `${portal}/node_modules`
export default {
root: portal,
test: {
globals: true,
environment: 'happy-dom',
include: [
fileURLToPath(new URL('./portal-route.test.tsx', import.meta.url)),
fileURLToPath(new URL('./portal-profile-render.test.tsx', import.meta.url)),
],
},
resolve: {
alias: {
'@': `${portal}/src`,
wagmi: `${repo}/audit_workspace/renewed/lead010-aggregate-text-high/mocks/wagmi.ts`,
'@ens-apps/transaction-manager': `${repo}/packages/transaction-manager/src`,
'@ens-apps/utils': `${repo}/packages/utils/src`,
'@testing-library/react': `${deps}/@testing-library/react`,
'@tanstack/react-query': `${deps}/@tanstack/react-query`,
'@tanstack/react-router': `${deps}/@tanstack/react-router`,
'@tanstack/react-table': `${deps}/@tanstack/react-table`,
viem: `${deps}/viem`,
react: `${deps}/react`,
},
dedupe: ['react', 'react-dom', '@tanstack/react-query', '@tanstack/react-router'],
},
}
mocks/wagmi.ts
const globals = globalThis as Record<string, unknown>
export const useConnection = () => ({
address: globals.__lead010RouteVictim,
isConnected: true,
})
export const useWalletClient = () => ({
data:
globals.__lead010RouteWalletClient ?? globals.__lead010High46WalletClient,
})
export const usePublicClient = () =>
globals.__lead010RoutePublicClient ?? globals.__lead010High46PublicClient
portal-route.test.tsx
import { cleanup, fireEvent, render, screen, waitFor, within } from '@testing-library/react'
import { QueryClient, QueryClientProvider } from '@tanstack/react-query'
import {
createMemoryHistory,
createRootRoute,
createRoute,
createRouter,
Outlet,
RouterProvider,
} from '@tanstack/react-router'
import { afterEach } from 'vitest'
import {
decodeFunctionData,
parseAbi,
toHex,
type Address,
type Hex,
} from 'viem'
import { packetToBytes } from 'viem/ens'
const VICTIM = '0x1111111111111111111111111111111111111111' as const
const DELEGATE = '0x2222222222222222222222222222222222222222' as const
const RESOLVER = '0x4444444444444444444444444444444444444444' as const
const DECOY = 'decoy-victim.eth'
const TREASURY = 'treasury-victim.eth'
const ROOT_RESOURCE = `0x${'00'.repeat(32)}`
const CHAIN_ID = 11155111
const EXPECTED_DECOY_REMOVE =
'0xbbd9abb5000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000100000000000000000000000002222222222222222222222222222222222222222000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000120c6465636f792d76696374696d03657468000000000000000000000000000000' as const
type IndexedRole = {
readonly account: string
readonly resource: string
readonly roleBitmap: string
readonly blockNumber: number
readonly transactionHash: Hex
readonly timestamp: number
readonly name: string | null
}
type Overview = {
readonly id: string
readonly address: string
readonly nodeCount: number
readonly aliasCount: number
readonly roleHolderCount: number
readonly nodes: readonly {
readonly id: string
readonly name: string
readonly owner: { readonly id: string }
readonly resolver: { readonly id: string; readonly address: string }
}[]
readonly aliases: readonly []
readonly roles: readonly IndexedRole[]
readonly events: readonly []
}
const mocks = vi.hoisted(() => ({
startTransaction: vi.fn(),
waitForTransaction: vi.fn(),
pollForIndexerSync: vi.fn(),
openModal: vi.fn(),
closeModal: vi.fn(),
clearTransaction: vi.fn(),
outboundFetch: vi.fn(() => {
throw new Error('LEAD-010 route-gate PoC forbids outbound fetch')
}),
overviewFetches: 0,
hasRolesCalls: [] as Array<Record<string, unknown>>,
overview: undefined as Overview | undefined,
queryClient: undefined as QueryClient | undefined,
preparedIntent: undefined as
| { request: { to: Address; data: Hex } }
| undefined,
submittedIntent: undefined as
| { request: { to: Address; data: Hex } }
| undefined,
walletClient: {
account: { address: '0x1111111111111111111111111111111111111111' },
chain: { id: 11155111 },
} as never,
publicClient: {} as never,
}))
vi.mock('@/lib/wagmi', () => ({
sepoliaWithEns: { id: 11155111 },
wagmiConfig: {},
}))
vi.mock('@/hooks/use-mobile', () => ({ useIsMobile: () => false }))
vi.mock('@/features/registry/utils/signer.helpers', () => ({
createEOASigner: () => ({ kind: 'route-gate-signer' }),
}))
vi.mock('@/features/roles/hooks/useResetMutationsOnAccountChange', () => ({
useResetMutationsOnAccountChange: () => undefined,
}))
vi.mock('@/components/CopyButton', () => ({ CopyButton: () => null }))
vi.mock('@/features/resolver/components/ResolverAddUserSheet', () => ({
ResolverAddUserSheet: () => null,
}))
vi.mock('@/features/transaction-manager/hooks/useTransactionModal', () => ({
useTransactionModal: () => ({
openModal: mocks.openModal,
closeModal: mocks.closeModal,
clearTransaction: mocks.clearTransaction,
}),
}))
vi.mock('@/utils/queryClient', () => ({
queryClient: {
prefetchQuery: (options: unknown) =>
mocks.queryClient?.prefetchQuery(options as never),
},
}))
vi.mock('@/features/resolver/hooks/useResolverOverview', () => ({
getResolverOverviewQueryOptions: ({ address }: { address: Address }) => ({
queryKey: ['resolver-overview', { address }],
queryFn: async () => {
mocks.overviewFetches += 1
return structuredClone(mocks.overview)
},
staleTime: 0,
}),
}))
vi.mock('@/features/registry/hooks/useHasRoles', () => ({
getHasRolesQueryOptions: (params: Record<string, unknown>) => ({
queryKey: ['hasRoles', params],
queryFn: async () => {
mocks.hasRolesCalls.push(params)
return true
},
staleTime: 0,
}),
}))
vi.mock('@/utils/query/pollForIndexerSync', () => ({
pollForIndexerSync: mocks.pollForIndexerSync,
}))
vi.mock('@ens-apps/transaction-manager', () => ({
transactionManager: { startTransaction: mocks.startTransaction },
waitForTransaction: mocks.waitForTransaction,
}))
vi.mock('@/features/transaction-manager/components/TransactionModal', () => ({
TransactionModal: ({
transactions,
}: {
transactions: Array<Record<string, unknown>>
}) => {
const transaction = transactions[0] as {
readonly intent?: {
readonly prepare?: (context: Record<string, unknown>) => {
request: { to: Address; data: Hex }
}
}
readonly onStart?: () => void
readonly onDone?: () => void
}
return transaction.intent?.prepare ? (
<div>
<button
type="button"
onClick={() => {
mocks.preparedIntent = transaction.intent?.prepare?.({
walletClient: mocks.walletClient,
publicClient: mocks.publicClient,
chainId: CHAIN_ID,
})
transaction.onStart?.()
}}
>
Execute captured modal action
</button>
<button type="button" onClick={() => transaction.onDone?.()}>
Finalize successful transaction
</button>
</div>
) : null
},
}))
import { Route as resolverRolesRouteImport } from '../../../apps/portal/src/routes/resolver/$address/roles/index'
import { prepareRevokeResolverRolesTransaction } from '../../../apps/portal/src/features/resolver/helpers/revokeResolverRoles'
import {
computeNameResource,
resolverRoles,
} from '../../../apps/portal/src/lib/roles/resolverRoles'
const roleAbi = parseAbi([
'function authorizeNameRoles(bytes toName, uint256 roleBitmap, address account, bool grant) returns (bool)',
'function revokeRootRoles(uint256 roleBitmap, address account) returns (bool)',
])
const VICTIM_REQUIRED_ROOT_BITMAP =
resolverRoles.ROLE_SET_ADDR |
resolverRoles.ROLE_SET_ADDR_ADMIN |
resolverRoles.ROLE_SET_TEXT_ADMIN
const initialOverview = (): Overview => ({
id: RESOLVER.toLowerCase(),
address: RESOLVER,
nodeCount: 2,
aliasCount: 0,
roleHolderCount: 2,
nodes: [DECOY, TREASURY].map((name) => ({
id: computeNameResource(name),
name,
owner: { id: VICTIM.toLowerCase() },
resolver: { id: RESOLVER.toLowerCase(), address: RESOLVER },
})),
aliases: [],
roles: [
{
account: VICTIM,
resource: ROOT_RESOURCE,
roleBitmap: toHex(VICTIM_REQUIRED_ROOT_BITMAP),
blockNumber: 1,
transactionHash: `0x${'11'.repeat(32)}`,
timestamp: 1,
name: null,
},
{
account: DELEGATE,
resource: computeNameResource(DECOY),
roleBitmap: toHex(resolverRoles.ROLE_SET_TEXT),
blockNumber: 2,
transactionHash: `0x${'22'.repeat(32)}`,
timestamp: 2,
name: DECOY,
},
{
account: DELEGATE,
resource: computeNameResource(TREASURY),
roleBitmap: toHex(resolverRoles.ROLE_SET_TEXT),
blockNumber: 3,
transactionHash: `0x${'33'.repeat(32)}`,
timestamp: 3,
name: TREASURY,
},
],
events: [],
})
const applyResolverCall = (data: Hex) => {
if (!mocks.overview) throw new Error('overview not seeded')
const decoded = decodeFunctionData({ abi: roleAbi, data })
if (decoded.functionName === 'authorizeNameRoles') {
const [dnsName, bitmap, account, grant] = decoded.args
expect(grant).toBe(false)
const selectedName =
dnsName === toHex(packetToBytes(DECOY))
? DECOY
: dnsName === toHex(packetToBytes(TREASURY))
? TREASURY
: undefined
expect(selectedName).toBeDefined()
mocks.overview = {
...mocks.overview,
roles: mocks.overview.roles.filter(
(role) =>
!(
role.account.toLowerCase() === account.toLowerCase() &&
role.resource.toLowerCase() ===
computeNameResource(selectedName as string).toLowerCase() &&
(BigInt(role.roleBitmap) & bitmap) !== 0n
),
),
}
return
}
const [bitmap, account] = decoded.args
mocks.overview = {
...mocks.overview,
roles: mocks.overview.roles.filter(
(role) =>
!(
role.account.toLowerCase(
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 removal path derives a single name and a flattened role bitmap from the grouped display row instead of iterating the raw per-resource role assignments.
Impact
A former delegate could persistently replace the profile description text on one name after the owner believed all roles were removed; later cleanup stops further writes but does not undo the stored text.
What the attacker needed
Delegate previously held the role; two role assignments for one account; owner confirms Remove user; attacker writes before cleanup
The fix
The removal should be built from the raw per-resource role assignments, emitting a revoke for every root and name scope, and only reporting completion once no assignment remains.
How it was found
- One resolver serves two names, and a delegate holds name-scoped text-setting role on each.
- The owner opens the grouped delegate row and chooses Remove user, confirming removal from all roles.
- Portal submits a revoke for only one of the two names.
- The transaction succeeds and the second name's role remains after refetch.
- Before corrective cleanup, the former delegate writes arbitrary description text to the omitted name.
- Portal renders the replacement text until an authorised overwrite or resolver change.
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 service lets an owner give helpers specific permissions on individual names. The portal showed all of a helper's permissions in one row and offered a button to remove them all, but it only actually cancelled one of them. The helper kept a leftover permission and could still change the public description text on one of the names.
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.