<style>
/* ---------- inherited technical-blog base (matches ADPathFinder post) ---------- */
.prose pre.wp-block-preformatted :where(strong):not(:where([class~=not-prose] *)) { color: inherit !important; }
.single .prose .main pre.wp-block-preformatted {
font-family: "Source Code Pro", "Liberation Mono", "Courier New", Courier, monospace;
font-size: 15px; font-weight:400 !important; line-height: 24px;
background-color: #1a1a1a; border-radius:3px !important; margin-bottom:1.25rem !important;
}
.single .main-content.prose ul.even-spaced li { font-size:15px; list-style-type: square; }
.single .main-content.prose ul.even-spaced:has(ul > li) li { padding-top:.75rem !important; }
.single .main-content.prose ul.even-spaced > li:first-child { padding-top:0rem !important; }
.single .main-content.prose ul.even-spaced:has(ul) ul { padding-bottom: 0rem !important; padding-left: 1rem !important; }
.prose .main .wp-block-columns.seperator { margin:3rem 0; padding: 1.25rem 0; border-top:2px solid #e7e7e7; }
.single .main-content.technical-blog.prose p { line-height: 1.8rem; font-size: 17px; }
.single .main-content.technical-blog.prose ul.wp-block-list li,
.single .main-content.technical-blog.prose ol.wp-block-list li { font-size: 16px; line-height: 1.75rem; padding-top:3px; padding-bottom:2px; }
.single .main-content.technical-blog code {
border-radius: 2px; background-color: #333; color:#fff; display: inline-block; padding: 1px 4px 0;
font-family: "Source Code Pro", "Liberation Mono", "Courier New", Courier, monospace;
line-height: 1.35; font-size: 14px; font-weight: 300; vertical-align: text-top;
}
p.no-link-decoration a { font-weight:400; text-decoration: none !important; font-size:16px; line-height:1.7 !important; }
.wp-block-accordion-heading__toggle { padding: 0px !important; }
.wp-block-accordion-heading__toggle:hover .wp-block-accordion-heading__toggle-title {
text-decoration: none;
}
.wp-block-accordion-heading__toggle:not(:focus-visible) {
outline: none;
}
.single .main-content.technical-blog.prose .wp-block-accordion-panel ul li { margin: -2px auto 0px !important; padding:2px !important;}
.single .main-content.technical-blog.prose .wp-block-accordion-panel ul {
padding: 0 !important;
padding-left: .65em !important; }
.single .main-content.technical-blog.prose .wp-block-accordion-panel ul li { padding-bottom: 0 rem !important; line-height:1.6 !important; }
.is-open > h6.wp-block-accordion-heading::after {
content: '-';
}
:not(.is-open) > h6.wp-block-accordion-heading::after {
content: '+';
}
h6.wp-block-accordion-heading { display: inline-flex !important; line-height: 1.6 !important; font-weight:300!important; padding-right:15px; }
.single .main-content.technical-blog.prose .quote-box p, .uagb-notice-text {
padding-bottom: 0 !important;
}
.wp-block-group.vm .enlighter-t-dracula.enlighter-v-codegroup .enlighter-codegroup-switch .enlighter-btn.enlighter-active {
background-image: none;
color: #ffffff;
background-color: #f56a00;
font-size: 1.35em;
font-weight:600;
padding: 13px 17px 13px 17px !important;
border-radius: 0;
}
.wp-block-group.vm .enlighter-t-dracula.enlighter-v-codegroup .enlighter-codegroup-switch .enlighter-btn
{ background-image: none;
background-color: #424242;
color: #ffffff;
font-size: 1.35em;
font-weight:600;
padding: 13px 17px 13px 17px !important;
border: none;
border-radius: 0;
}
.wp-block-group.vm .enlighter-t-dracula.enlighter-v-codegroup .enlighter-codegroup-switch > .enlighter-btn { margin: 0 3% 0 0 !important;}
.wp-block-group.vm .enlighter-t-dracula.enlighter-v-codegroup .enlighter-codegroup-switch { background-color: #f5f4eb !important; }
.wp-block-group.vm .enlighter-t-dracula.enlighter-v-codegroup .enlighter-codegroup-switch {
padding: 10px 0 0px 0 !important;
border-bottom: 5px solid #f56a00;
}
.single .main-content.technical-blog.prose .uagb-tabs__wrap ul.uagb-tabs__panel.uagb-tabs__align-left {
padding-left: 0 !important;
padding-bottom: 0 !important;
}
.single .main-content.technical-blog.prose .uagb-block-f76fbd87.uagb-tabs__wrap ul.uagb-tabs__panel.uagb-tabs__align-left li.uagb-tab {
border-top: none !important;
margin-right:2% !important;
padding-left: 0;
}
.uagb-block-f76fbd87.uagb-tabs__wrap .uagb-tabs__body-wrap, .wp-block-uagb-tabs-child.uagb-tabs__body-container.uagb-tabs-body__active {padding: 0;}
.uagb-block-f76fbd87.uagb-tabs__wrap ul.uagb-tabs__panel li.uagb-tab a {
padding-top: 7px !important;
padding-bottom: 7px !important;
padding-left: 17px;
padding-right: 17px;
color: #ffffff;
font-weight: 600;
font-size: 16.2px;
text-decoration: none;
}
li.no-bullet {
list-style-type: none !important;
}
@media screen and (max-width: 778px) {
.wp-block-group.vm .enlighter-t-dracula.enlighter-v-codegroup .enlighter-toolbar {
top: 70px;
right: 20px;
}
}
</style>
<div class="wp-block-columns is-layout-flex wp-container-core-columns-is-layout-8f761849 wp-block-columns-is-layout-flex">
<div class="wp-block-column is-layout-flow wp-block-column-is-layout-flow">
<div class="wp-block-columns is-layout-flex wp-container-core-columns-is-layout-8f761849 wp-block-columns-is-layout-flex">
<div class="wp-block-column is-layout-flow wp-block-column-is-layout-flow">
<h2 id="h-introduction" class="wp-block-heading h3-larger">Introduction</h2>
<p class="wp-block-paragraph"><br>While Oracle Cloud Infrastructure (OCI) has a smaller share of the cloud market (compared to AWS, Azure, or GCP), it still provides many of the same core service categories needed to support modern cloud workloads. For example, <strong>OCI Object Storage</strong> maps conceptually to services like <strong>Amazon S3</strong> or <strong>Google Cloud Storage</strong>, while <strong>OCI Compute</strong> serves a similar role to <strong>EC2</strong> or <strong>Google Compute Engine</strong>.</p>
<p class="wp-block-paragraph">These similarities made OCI an ideal research target. It was familiar enough that I could leverage existing cloud security mental models, but might receive less scrutiny leaving certain components unexplored. I’ve always been drawn to the smaller corners of a technology space, where there are fewer established assumptions and more room to uncover something new.</p>
<p class="wp-block-paragraph">As I was learning OCI, I started by building a suite of OCI-focused tools to support enumeration and future research. While investigating the OCI-specific concept of identity domains (via my tool creation), I identified a bug that got my name added to the June 2026 critical security update patch. In essence, a separate authorization model within identity domains failed to deny lower-level administrator functionality from creating API keys for the identity domain administrator of the identity domain (even though password/email resets were denied).</p>
<p class="pb-0 wp-block-paragraph"><strong>Hypothesis:</strong></p>
<div class="wp-block-group mt-4 pb-4 is-content-justification-space-between is-layout-flex wp-container-core-group-is-layout-0d004395 wp-block-group-is-layout-flex">
<p class="pb-0 mt-2 leading-9 pl-5 has-custom-css wp-custom-css-36ae1e3f wp-block-paragraph" style="font-size:16px;text-indent:0px">2 different APIs, 2 different Authorization Models, 2 different Segments of Code (SDK): Indicates that 2 separate teams failed to communicate authorization expectations of their shared resources ( API keys )</p>
</div>
</div>
<div class="wp-block-column px-4 py-3 is-layout-flow wp-block-column-is-layout-flow" style="flex-basis:35%">
<div class="wp-block-group" style="font-size:15px;font-style:normal;font-weight:400"><div class="wp-block-group__inner-container is-layout-constrained wp-block-group-is-layout-constrained">
<div class="wp-block-columns is-layout-flex wp-container-core-columns-is-layout-8f761849 wp-block-columns-is-layout-flex">
<div class="wp-block-column is-layout-flow wp-block-column-is-layout-flow">
<h2 id="h-tl-dr" class="wp-block-heading pl-5 h4">TL;DR</h2>
<div class="wp-block-group px-3 bg-white/50 shadow border-solid border border-white p-8 pt-2 pb-0 pl-5"><div class="wp-block-group__inner-container is-layout-constrained wp-block-group-is-layout-constrained">
<div data-wp-context="{ "autoclose": true, "accordionItems": [] }" data-wp-interactive="core/accordion" role="group" class="wp-block-accordion is-layout-flow wp-block-accordion-is-layout-flow">
<div data-wp-class--is-open="state.isOpen" data-wp-context="{ "id": "accordion-item-1", "openByDefault": false }" data-wp-init="callbacks.initAccordionItems" data-wp-on-window--hashchange="callbacks.hashChange" class="wp-block-accordion-item has-medium-font-size is-layout-flow wp-block-accordion-item-is-layout-flow">
<h6 class="wp-block-accordion-heading" style="font-size:15px;font-style:normal;font-weight:400"><button aria-expanded="false" aria-controls="accordion-item-1-panel" data-wp-bind--aria-expanded="state.isOpen" data-wp-on--click="actions.toggle" id="accordion-item-1" type="button" class="wp-block-accordion-heading__toggle"><span class="wp-block-accordion-heading__toggle-title">Traditional OCI IAM permissions involve creating IAM policies with individual statements stating what users, groups, or other subjects can do on certain resources under a certain scope.</span></button></h6>
<div aria-labelledby="accordion-item-1" data-wp-bind--hidden="state.isHidden" data-wp-on--beforematch="actions.handleBeforeMatch" id="accordion-item-1-panel" role="region" class="wp-block-accordion-panel is-layout-flow wp-block-accordion-panel-is-layout-flow">
<ul class="wp-block-list">
<li style="font-size:14px">Policies are attached to compartments (similar to AWS accounts or GCP projects) at which permissions propagate downwards in the overall compartment tree hierarchy.</li>
</ul>
</div>
</div>
<div data-wp-class--is-open="state.isOpen" data-wp-context="{ "id": "accordion-item-2", "openByDefault": false }" data-wp-init="callbacks.initAccordionItems" data-wp-on-window--hashchange="callbacks.hashChange" class="wp-block-accordion-item has-medium-font-size is-layout-flow wp-block-accordion-item-is-layout-flow">
<h6 class="wp-block-accordion-heading" style="font-size:15px;font-style:normal;font-weight:400"><button aria-expanded="false" aria-controls="accordion-item-2-panel" data-wp-bind--aria-expanded="state.isOpen" data-wp-on--click="actions.toggle" id="accordion-item-2" type="button" class="wp-block-accordion-heading__toggle"><span class="wp-block-accordion-heading__toggle-title">The most permissive predefined administrator role is the “Identity Domain Administrator”. It can perform actions within the bounds of their identity domain. While more scoped roles, such as “User Manager”, are intended to manage users or exercise other functionality within that identity domain.</span></button></h6>
<div aria-labelledby="accordion-item-2" data-wp-bind--hidden="state.isHidden" data-wp-on--beforematch="actions.handleBeforeMatch" id="accordion-item-2-panel" role="region" class="wp-block-accordion-panel is-layout-flow wp-block-accordion-panel-is-layout-flow">
<ul class="wp-block-list">
<li style="font-size:14px">Thus, OCI has two related but distinct authorization models: the more narrowly scoped OCI-specific <strong>Identity Domain Roles</strong> and <strong>traditional OCI IAM policies</strong> more aligned with other traditional cloud IAM models.</li>
<li style="font-size:14px">In some cases, both authorization models can affect access to the same underlying API actions like creating a user API key with the Python SDK, for example, offering two different endpoints to perform similar actions.</li>
</ul>
</div>
</div>
<div data-wp-class--is-open="state.isOpen" data-wp-context="{ "id": "accordion-item-3", "openByDefault": false }" data-wp-init="callbacks.initAccordionItems" data-wp-on-window--hashchange="callbacks.hashChange" class="wp-block-accordion-item has-medium-font-size is-layout-flow wp-block-accordion-item-is-layout-flow">
<h6 class="wp-block-accordion-heading" style="font-size:15px;font-style:normal;font-weight:400"><button aria-expanded="false" aria-controls="accordion-item-3-panel" data-wp-bind--aria-expanded="state.isOpen" data-wp-on--click="actions.toggle" id="accordion-item-3" type="button" class="wp-block-accordion-heading__toggle"><span class="wp-block-accordion-heading__toggle-title">IAM users, groups, federation settings, password policies, and related IAM resources are organized into identity domains.</span></button></h6>
<div aria-labelledby="accordion-item-3" data-wp-bind--hidden="state.isHidden" data-wp-on--beforematch="actions.handleBeforeMatch" id="accordion-item-3-panel" role="region" class="wp-block-accordion-panel is-layout-flow wp-block-accordion-panel-is-layout-flow">
<ul class="wp-block-list">
<li style="font-size:14px">You can think of these as logical containers for IAM resources, rather than one flat IAM namespace. Unlike traditional IAM, they are not really synonymous with AWS/GCP and are an OCI-specific feature.</li>
<li style="font-size:14px">Identity domains are a part of determining the overall principal identity. A user called “Scott” can be in two different identity domains, referencing either Scott in IAM policies requires the inclusion of the identity domain because they are two separate principals (ex. “IDD1/Scott” & “IDD2/Scott”).</li>
</ul>
</div>
</div>
<div data-wp-class--is-open="state.isOpen" data-wp-context="{ "id": "accordion-item-4", "openByDefault": false }" data-wp-init="callbacks.initAccordionItems" data-wp-on-window--hashchange="callbacks.hashChange" class="wp-block-accordion-item has-medium-font-size is-layout-flow wp-block-accordion-item-is-layout-flow">
<h6 class="wp-block-accordion-heading" style="font-size:15px;font-style:normal;font-weight:400"><button aria-expanded="false" aria-controls="accordion-item-4-panel" data-wp-bind--aria-expanded="state.isOpen" data-wp-on--click="actions.toggle" id="accordion-item-4" type="button" class="wp-block-accordion-heading__toggle"><span class="wp-block-accordion-heading__toggle-title">While inherent <strong>authorization boundaries were present</strong> for User Manager roles – those same User Manager roles <strong>can still create</strong> long lasting API keys for an Identity Domain Administrator without receiving an error.</span></button></h6>
<div aria-labelledby="accordion-item-4" data-wp-bind--hidden="state.isHidden" data-wp-on--beforematch="actions.handleBeforeMatch" id="accordion-item-4-panel" role="region" class="wp-block-accordion-panel is-layout-flow wp-block-accordion-panel-is-layout-flow">
<p class="wp-block-paragraph"></p>
</div>
</div>
</div>
</div></div>
</div>
</div>
</div></div>
</div>
</div>
<hr class="wp-block-separator has-alpha-channel-opacity"/>
<h2 id="talk-recordings" class="wp-block-heading h3-large">Talks Thus Far</h2>
<div class="wp-block-columns is-layout-flex wp-container-core-columns-is-layout-8f761849 wp-block-columns-is-layout-flex">
<div class="wp-block-column is-vertically-aligned-center is-layout-flow wp-block-column-is-layout-flow" style="flex-basis:34%">
<div id="presentation-video" class="p-2 border border-gray-200 bg-white/50 shadow-lg video-embed-container w-full">
<iframe class="w-full aspect-video" title="BSides San Diego 2026" src="https://www.youtube.com/embed/9Hkk1ggKVFk?feature=oembed" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen="">
</iframe>
</div>
</div>
<div class="wp-block-column px-4 is-layout-flow wp-block-column-is-layout-flow">
<h3 id="h-bsides-san-diego-2026" class="wp-block-heading h3">BSides San Diego 2026</h3>
<p class="pb-0 wp-container-content-f67f277b wp-block-paragraph">If you want to dive deeper into fundamental knowledge this recorded talk from <a href="https://www.netspi.com/presentation/breaking-the-oracle-building-an-offensive-security-toolkit-for-oci/" data-type="conference" data-id="1033" target="_blank" rel="noreferrer noopener">BSides San Diego 2026</a> does an in-depth analysis although of all tools noted here including a lexical parser for policy statements, Burp Suite plugin, and enumeration / graphing python OCI framework.</p>
</div>
</div>
<div class="wp-block-columns is-layout-flex wp-container-core-columns-is-layout-8f761849 wp-block-columns-is-layout-flex">
<div class="wp-block-column is-layout-flow wp-block-column-is-layout-flow">
<h3 id="h-fwd-cloudsec-2026" class="wp-block-heading h3">fwd:cloudsec 2026</h3>
<p class="wp-block-paragraph">For a more interactive walkthrough of OCI identity domains which is the primary focus on this blog, the video (right) covers the identity domains portion of my <a href="https://www.netspi.com/presentation/ocinferno-an-offensive-security-toolkit-for-oci-scott-weston/" data-type="conference" data-id="1050" target="_blank" rel="noreferrer noopener">fwd NA 2026 presentation</a>:</p>
<p class="wp-block-paragraph">The fwd:cloudsec talk covered the path shown below: an administrator role inside an identity domain may not directly have classic OCI IAM permissions, but it may allow control over a user or group that does have permissions through OCI IAM. </p>
</div>
<div class="wp-block-column is-vertically-aligned-center is-layout-flow wp-block-column-is-layout-flow" style="flex-basis:34%">
<div id="presentation-video" class="p-2 border border-gray-200 bg-white/50 shadow-lg video-embed-container w-full">
<iframe class="w-full aspect-video" title="fwd:cloudsec 2026" src="https://www.youtube.com/embed/FxvZrCuzra4?feature=oembed" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen="">
</iframe>
</div>
</div>
</div>
<p class="wp-block-paragraph">In graph terms, this creates a pivot point between identity-domain administration and traditional OCI resource authorization.</p>
<div class="wp-block-columns is-layout-flex wp-container-core-columns-is-layout-8f761849 wp-block-columns-is-layout-flex">
<div class="wp-block-column is-layout-flow wp-block-column-is-layout-flow"><div class="wp-block-image">
<figure data-wp-context="{"imageId":"6afb58b43f10f"}" data-wp-interactive="core/image" data-wp-key="6afb58b43f10f" class="aligncenter size-full wp-container-content-7430e780 wp-lightbox-container"><img loading="lazy" decoding="async" width="1184" height="661" data-wp-class--hide="state.isContentHidden" data-wp-class--show="state.isContentVisible" data-wp-init="callbacks.setButtonStyles" data-wp-on--click="actions.showLightbox" data-wp-on--load="callbacks.setButtonStyles" data-wp-on--pointerdown="actions.preloadImage" data-wp-on--pointerenter="actions.preloadImageWithDelay" data-wp-on--pointerleave="actions.cancelPreload" data-wp-on-window--resize="callbacks.setButtonStyles" src="https://www.netspi.com/wp-content/uploads/2026/10/image001-1.png" alt="" class="wp-image-34643" style="object-fit:cover;object-position:24% 27%" srcset="https://www.netspi.com/wp-content/uploads/2026/10/image001-1.png 1184w, https://www.netspi.com/wp-content/uploads/2026/10/image001-1-300x167.png 300w, https://www.netspi.com/wp-content/uploads/2026/10/image001-1-1024x572.png 1024w, https://www.netspi.com/wp-content/uploads/2026/10/image001-1-768x429.png 768w" sizes="auto, (max-width: 1184px) 100vw, 1184px" /><button
class="lightbox-trigger"
type="button"
aria-haspopup="dialog"
data-wp-bind--aria-label="state.thisImage.triggerButtonAriaLabel"
data-wp-init="callbacks.initTriggerButton"
data-wp-on--click="actions.showLightbox"
data-wp-style--right="state.thisImage.buttonRight"
data-wp-style--top="state.thisImage.buttonTop"
>
<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" fill="none" viewBox="0 0 12 12">
<path fill="#fff" d="M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z" />
</svg>
</button></figure>
</div></div>
<div class="wp-block-column is-layout-flow wp-block-column-is-layout-flow" style="flex-basis:38%">
<figure data-wp-context="{"imageId":"6afb58b43fa83"}" data-wp-interactive="core/image" data-wp-key="6afb58b43fa83" class="wp-block-image size-full wp-container-content-7430e780 wp-lightbox-container"><img loading="lazy" decoding="async" width="1053" height="783" data-wp-class--hide="state.isContentHidden" data-wp-class--show="state.isContentVisible" data-wp-init="callbacks.setButtonStyles" data-wp-on--click="actions.showLightbox" data-wp-on--load="callbacks.setButtonStyles" data-wp-on--pointerdown="actions.preloadImage" data-wp-on--pointerenter="actions.preloadImageWithDelay" data-wp-on--pointerleave="actions.cancelPreload" data-wp-on-window--resize="callbacks.setButtonStyles" src="https://www.netspi.com/wp-content/uploads/2026/10/image002-1.png" alt="" class="wp-image-34642" style="aspect-ratio:1.7777777777777777;object-fit:cover;object-position:58% 35%" srcset="https://www.netspi.com/wp-content/uploads/2026/10/image002-1.png 1053w, https://www.netspi.com/wp-content/uploads/2026/10/image002-1-300x223.png 300w, https://www.netspi.com/wp-content/uploads/2026/10/image002-1-1024x761.png 1024w, https://www.netspi.com/wp-content/uploads/2026/10/image002-1-768x571.png 768w" sizes="auto, (max-width: 1053px) 100vw, 1053px" /><button
class="lightbox-trigger"
type="button"
aria-haspopup="dialog"
data-wp-bind--aria-label="state.thisImage.triggerButtonAriaLabel"
data-wp-init="callbacks.initTriggerButton"
data-wp-on--click="actions.showLightbox"
data-wp-style--right="state.thisImage.buttonRight"
data-wp-style--top="state.thisImage.buttonTop"
>
<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" fill="none" viewBox="0 0 12 12">
<path fill="#fff" d="M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z" />
</svg>
</button></figure>
</div>
</div>
</div>
</div>
<div class="wp-block-columns seperator is-layout-flex wp-container-core-columns-is-layout-8f761849 wp-block-columns-is-layout-flex">
<div class="wp-block-column is-layout-flow wp-block-column-is-layout-flow">
<h2 id="h-quick-oci-101" class="wp-block-heading h3-larger">Quick OCI 101</h2>
<h4 id="h-compartments-tenants" class="wp-block-heading">Compartments/Tenants</h4>
<div class="wp-block-columns is-layout-flex wp-container-core-columns-is-layout-8f761849 wp-block-columns-is-layout-flex">
<div class="wp-block-column is-layout-flow wp-block-column-is-layout-flow">
<p class="wp-block-paragraph">OCI logically organizes cloud resources into compartments. If you are coming from AWS or GCP, you can loosely think of compartments as serving a similar organizational purpose to AWS accounts or GCP projects, although the comparison is not exact. Compartments are used to group resources, scope access, and organize an OCI tenancy.</p>
</div>
<div class="wp-block-column is-layout-flow wp-block-column-is-layout-flow">
<p class="wp-block-paragraph">For example, the Object Storage service exists across the OCI environment, but individual buckets created through that service are placed into specific compartments. A user might create some buckets in CompartmentA and others in CompartmentB, with access controlled separately for each compartment.</p>
</div>
</div>
<p class="wp-block-paragraph">Compartments can also be nested. At the top of this nested hierarchy is the root compartment, commonly referred to as the “tenant compartment”. For simplicity, you can think of the tenant compartment as any other compartment in that you can create resources in it as well. The tenant compartment just has a slightly different Oracle Cloud Identifier (OCID). An OCID as a quick aside is similar to an AWS ARN or GCP resource identifier, it’s just a unique identifier every cloud resource has.</p>
<div class="wp-block-columns is-layout-flex wp-container-core-columns-is-layout-8f761849 wp-block-columns-is-layout-flex">
<div class="wp-block-column is-layout-flow wp-block-column-is-layout-flow"><div class="wp-block-image text-xs ">
<figure data-wp-context="{"imageId":"6afb58b4407a8"}" data-wp-interactive="core/image" data-wp-key="6afb58b4407a8" class="aligncenter size-full wp-lightbox-container"><img loading="lazy" decoding="async" width="1278" height="586" data-wp-class--hide="state.isContentHidden" data-wp-class--show="state.isContentVisible" data-wp-init="callbacks.setButtonStyles" data-wp-on--click="actions.showLightbox" data-wp-on--load="callbacks.setButtonStyles" data-wp-on--pointerdown="actions.preloadImage" data-wp-on--pointerenter="actions.preloadImageWithDelay" data-wp-on--pointerleave="actions.cancelPreload" data-wp-on-window--resize="callbacks.setButtonStyles" src="https://www.netspi.com/wp-content/uploads/2026/10/image003-1.png" alt="" class="wp-image-34641" srcset="https://www.netspi.com/wp-content/uploads/2026/10/image003-1.png 1278w, https://www.netspi.com/wp-content/uploads/2026/10/image003-1-300x138.png 300w, https://www.netspi.com/wp-content/uploads/2026/10/image003-1-1024x470.png 1024w, https://www.netspi.com/wp-content/uploads/2026/10/image003-1-768x352.png 768w" sizes="auto, (max-width: 1278px) 100vw, 1278px" /><button
class="lightbox-trigger"
type="button"
aria-haspopup="dialog"
data-wp-bind--aria-label="state.thisImage.triggerButtonAriaLabel"
data-wp-init="callbacks.initTriggerButton"
data-wp-on--click="actions.showLightbox"
data-wp-style--right="state.thisImage.buttonRight"
data-wp-style--top="state.thisImage.buttonTop"
>
<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" fill="none" viewBox="0 0 12 12">
<path fill="#fff" d="M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z" />
</svg>
</button><figcaption class="wp-element-caption">Ref: <a href="https://docs.oracle.com/en/cloud/foundation/cloud_architecture/governance/images/compartments-and-groups2.png#fullpic" target="_blank" rel="noreferrer noopener">docs.oracle.com/…../images/compartments-and-groups2.png#fullpic</a></figcaption></figure>
</div></div>
<div class="wp-block-column is-layout-flow wp-block-column-is-layout-flow" style="flex-basis:33%"><div class="wp-block-image text-xs">
<figure data-wp-context="{"imageId":"6afb58b440d4b"}" data-wp-interactive="core/image" data-wp-key="6afb58b440d4b" class="aligncenter size-full wp-lightbox-container"><img loading="lazy" decoding="async" width="283" height="172" data-wp-class--hide="state.isContentHidden" data-wp-class--show="state.isContentVisible" data-wp-init="callbacks.setButtonStyles" data-wp-on--click="actions.showLightbox" data-wp-on--load="callbacks.setButtonStyles" data-wp-on--pointerdown="actions.preloadImage" data-wp-on--pointerenter="actions.preloadImageWithDelay" data-wp-on--pointerleave="actions.cancelPreload" data-wp-on-window--resize="callbacks.setButtonStyles" src="https://www.netspi.com/wp-content/uploads/2026/10/image004-1.png" alt="" class="wp-image-34640"/><button
class="lightbox-trigger"
type="button"
aria-haspopup="dialog"
data-wp-bind--aria-label="state.thisImage.triggerButtonAriaLabel"
data-wp-init="callbacks.initTriggerButton"
data-wp-on--click="actions.showLightbox"
data-wp-style--right="state.thisImage.buttonRight"
data-wp-style--top="state.thisImage.buttonTop"
>
<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" fill="none" viewBox="0 0 12 12">
<path fill="#fff" d="M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z" />
</svg>
</button><figcaption class="wp-element-caption"><a href="https://docs.oracle.com/en-us/iaas/Content/Identity/policieshow/Policy_Inheritance.htm" target="_blank" rel="noreferrer noopener" class="text-xs">docs.oracle.com/…../Policy_Inheritance</a></figcaption></figure>
</div></div>
</div>
</div>
</div>
<div class="wp-block-columns seperator is-layout-flex wp-container-core-columns-is-layout-8f761849 wp-block-columns-is-layout-flex">
<div class="wp-block-column is-layout-flow wp-block-column-is-layout-flow">
<h2 id="h-oci-iam-policies" class="wp-block-heading h3-larger">OCI IAM Policies</h2>
<div class="wp-block-columns pb-6 mb-2 is-layout-flex wp-container-core-columns-is-layout-8f761849 wp-block-columns-is-layout-flex">
<div class="wp-block-column is-vertically-aligned-center is-layout-flow wp-block-column-is-layout-flow">
<p class="pb-6 wp-block-paragraph">Policies are the fundamental building block of classic OCI IAM. OCI policies are written as sentence-style statements that describe who can do what, to which resources, and in which compartment.</p>
<p class="wp-block-paragraph"><strong>For example:</strong> “Allow group <code>Group1</code> to manage buckets in <code>CompartmentA</code>“</p>
<p class="pl-5 px-3 pb-0 mt-3 max-w-[90%] has-custom-css wp-custom-css-e0bdac24 wp-block-paragraph">At a high level, IAM policies follow a familiar IAM pattern: a principal is granted a set of permissions over a resource type within a specific scope.</p>
</div>
<div class="wp-block-column is-layout-flow wp-block-column-is-layout-flow" style="flex-basis:38%">
<div class="wp-block-group px-5 py-4 bg-white/50 shadow-sm border border-solid gap-2 text-[17px] max-w-[90%] mx-auto is-vertical is-content-justification-stretch is-nowrap is-layout-flex wp-container-core-group-is-layout-95b532d0 wp-block-group-is-layout-flex">
<p class="wp-block-paragraph">The implementation is different from AWS or GCP, but the general idea is similar. </p>
<p class="pb-0 mb-1 wp-block-paragraph">Because compartments are nested,<br>& policies are attached to compartments, permissions can flow downward from parent compartments to child compartments.</p>
</div>
</div>
</div>
<div class="wp-block-columns is-layout-flex wp-container-core-columns-is-layout-8f761849 wp-block-columns-is-layout-flex">
<div class="wp-block-column is-layout-flow wp-block-column-is-layout-flow">
<p class="wp-block-paragraph"><em>In other words, a policy attached higher in the compartment hierarchy may grant access to resources in compartments beneath it, subject to any conditions included in the policy.</em></p>
<p class="wp-block-paragraph">Interestingly these OCI statements are created and gathered as shown above, as lexical sentences. There is no JSON, YAML, etc. serialization methods OCI offers. This would involve a ton of regex and parsing to even begin analyzing a large list of statements.</p>
<p class="wp-block-paragraph">I built a tool to convert these OCI IAM policy statements into JSON for easier analysis: <a href="https://github.com/netspi/oci-lexer-parser">github.com/netspi/oci-lexer-parser</a>. This can be used in any tools to analyze a list of JSONS instead of a list of freeform sentences.</p>
</div>
<div class="wp-block-column is-layout-flow wp-block-column-is-layout-flow"><div class="wp-block-image">
<figure data-wp-context="{"imageId":"6afb58b441ae7"}" data-wp-interactive="core/image" data-wp-key="6afb58b441ae7" class="aligncenter size-full wp-lightbox-container"><img loading="lazy" decoding="async" width="1428" height="738" data-wp-class--hide="state.isContentHidden" data-wp-class--show="state.isContentVisible" data-wp-init="callbacks.setButtonStyles" data-wp-on--click="actions.showLightbox" data-wp-on--load="callbacks.setButtonStyles" data-wp-on--pointerdown="actions.preloadImage" data-wp-on--pointerenter="actions.preloadImageWithDelay" data-wp-on--pointerleave="actions.cancelPreload" data-wp-on-window--resize="callbacks.setButtonStyles" src="https://www.netspi.com/wp-content/uploads/2026/10/image005-1.png" alt="" class="wp-image-34639" srcset="https://www.netspi.com/wp-content/uploads/2026/10/image005-1.png 1428w, https://www.netspi.com/wp-content/uploads/2026/10/image005-1-300x155.png 300w, https://www.netspi.com/wp-content/uploads/2026/10/image005-1-1024x529.png 1024w, https://www.netspi.com/wp-content/uploads/2026/10/image005-1-768x397.png 768w" sizes="auto, (max-width: 1428px) 100vw, 1428px" /><button
class="lightbox-trigger"
type="button"
aria-haspopup="dialog"
data-wp-bind--aria-label="state.thisImage.triggerButtonAriaLabel"
data-wp-init="callbacks.initTriggerButton"
data-wp-on--click="actions.showLightbox"
data-wp-style--right="state.thisImage.buttonRight"
data-wp-style--top="state.thisImage.buttonTop"
>
<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" fill="none" viewBox="0 0 12 12">
<path fill="#fff" d="M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z" />
</svg>
</button><figcaption class="wp-element-caption"><a href="https://docs.oracle.com/en-us/iaas/Content/Identity/Tasks/managingpolicies.htm" class="text-xs" target="_blank">docs.oracle.com/…../Identity/Tasks/managingpolicies.htm</a><br><a href="https://www.ateam-oracle.com/minimize-oci-iam-policy-statements-part-2" class="text-xs" target="_blank" rel="noreferrer noopener">ateam-oracle.com/minimize-oci-iam-policy-statements-part-2</a></figcaption></figure>
</div></div>
</div>
</div>
</div>
<div class="wp-block-columns seperator is-layout-flex wp-container-core-columns-is-layout-8f761849 wp-block-columns-is-layout-flex">
<div class="wp-block-column is-layout-flow wp-block-column-is-layout-flow">
<h2 id="h-identity-domains" class="wp-block-heading h3-larger">Identity Domains</h2>
<p class="wp-block-paragraph">Moving into more OCI-specific territory, OCI has identity domains. An identity domain is a logical grouping of IAM-related resources such as users, groups, dynamic groups, federation settings, password policies, and related identity configuration.</p>
<p class="wp-block-paragraph">Identity domains are just like any other OCI resource and can be created in compartments with arbitrary names. From what I have seen, a default identity domain at the tenant level is created automatically and is often used when an identity domain is not explicitly referenced. In general, I’ve observed this default identity domain is just called “Default”. Identity domains names are used when identifying a principal.</p>
<div class="wp-block-columns is-layout-flex wp-container-core-columns-is-layout-8f761849 wp-block-columns-is-layout-flex">
<div class="wp-block-column px-3 pl-0 is-layout-flow wp-block-column-is-layout-flow" style="flex-basis:44%">
<div class="wp-block-group px-4 pt-4 pb-4 bg-white/50 shadow-sm border border-solid border-white text-[16px]"><div class="wp-block-group__inner-container is-layout-constrained wp-block-group-is-layout-constrained">
<p class="text-[15px] wp-block-paragraph" id="h-identity-domains-names-are-used-when-identifying-a-principal" style="font-size:16px">An organization might have both IdentityDomainA and IdentityDomainB, each containing a user named WebbinRoot. </p>
<p class="text-[16px] pb-0 mb-0 wp-block-paragraph" id="h-identity-domains-names-are-used-when-identifying-a-principal" style="font-size:16px">Even though the usernames are the same, these are separate IAM identities represented logically as two separate people because they live in different identity domains.</p>
</div></div>
</div>
<div class="wp-block-column is-layout-flow wp-block-column-is-layout-flow">
<p class="wp-block-paragraph">To disambiguate them, OCI references the identity domain as part of the principal name, such as: <br><code>IdentityDomainA/WebbinRoot</code> or <code>IdentityDomainB/WebbinRoot</code></p>
<p class="wp-container-content-da09a7bf wp-block-paragraph">The same concept applies to groups. If <code>IdentityDomainA</code> contains a group named GroupA, an OCI IAM policy referencing that group might look like this: <br><code>Allow group IdentityDomainA/GroupA to use buckets in CompartmentA</code></p>
</div>
</div>
</div>
</div>
<figure data-wp-context="{"imageId":"6afb58b4425c4"}" data-wp-interactive="core/image" data-wp-key="6afb58b4425c4" class="wp-block-image size-full wp-lightbox-container"><img loading="lazy" decoding="async" width="1366" height="485" data-wp-class--hide="state.isContentHidden" data-wp-class--show="state.isContentVisible" data-wp-init="callbacks.setButtonStyles" data-wp-on--click="actions.showLightbox" data-wp-on--load="callbacks.setButtonStyles" data-wp-on--pointerdown="actions.preloadImage" data-wp-on--pointerenter="actions.preloadImageWithDelay" data-wp-on--pointerleave="actions.cancelPreload" data-wp-on-window--resize="callbacks.setButtonStyles" src="https://www.netspi.com/wp-content/uploads/2026/10/image006-1.png" alt="" class="wp-image-34638" srcset="https://www.netspi.com/wp-content/uploads/2026/10/image006-1.png 1366w, https://www.netspi.com/wp-content/uploads/2026/10/image006-1-300x107.png 300w, https://www.netspi.com/wp-content/uploads/2026/10/image006-1-1024x364.png 1024w, https://www.netspi.com/wp-content/uploads/2026/10/image006-1-768x273.png 768w" sizes="auto, (max-width: 1366px) 100vw, 1366px" /><button
class="lightbox-trigger"
type="button"
aria-haspopup="dialog"
data-wp-bind--aria-label="state.thisImage.triggerButtonAriaLabel"
data-wp-init="callbacks.initTriggerButton"
data-wp-on--click="actions.showLightbox"
data-wp-style--right="state.thisImage.buttonRight"
data-wp-style--top="state.thisImage.buttonTop"
>
<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" fill="none" viewBox="0 0 12 12">
<path fill="#fff" d="M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z" />
</svg>
</button></figure>
<div class="wp-block-columns seperator is-layout-flex wp-container-core-columns-is-layout-8f761849 wp-block-columns-is-layout-flex">
<div class="wp-block-column is-layout-flow wp-block-column-is-layout-flow">
<h2 id="h-applications-and-approles" class="wp-block-heading h3-larger">Applications and AppRoles</h2>
<p class="px-6 pb-0 mt-3 has-custom-css wp-custom-css-b9c3c745 wp-block-paragraph" style="font-size:15px"><em>I should note I have found the documentation for app roles, applications, and grants a bit sparse or hard to understand. The descriptions below are how I understand the mechanisms at this point in time but would encourage you to do your own research if a point does not seem to align with behavior.</em></p>
<p class="pt-4 wp-block-paragraph">Within identity domains, OCI supports “applications” and users/groups can be assigned to “AppRoles” on those applications through “grants”. Per the name, AppRoles are not the same thing as classic OCI IAM policies. OCI IAM policies authorize access to OCI resources such as buckets, instances, and compartments. Identity domain AppRoles, on the other hand, authorize actions within the identity domain itself, such as administering users, groups, applications, or identity-domain settings. They involve more direct assignments of users and groups to the specified roles which in turn are scoped or assigned to a specific application.</p>
<div class="wp-block-columns is-layout-flex wp-container-core-columns-is-layout-8f761849 wp-block-columns-is-layout-flex">
<div class="wp-block-column is-layout-flow wp-block-column-is-layout-flow">
<p class="wp-block-paragraph">Now, when you click into an identity domain in the OCI console, you will see there are some predefined roles like “Identity Domain Administrator” or “User Manager” under the “Administrators” tab that are already present upon identity domain creation. As I just mentioned, OCI documentation generally describes AppRoles as being assigned to applications. But the default administrator roles, such as Identity Domain Administrator and User Administrator, are already present in a new identity domain. So, the natural question is: what application are these roles attached to if I did not create one?</p>
<div class="wp-block-image">
<figure class="alignleft size-full is-resized"><a href="https://www.oracle.com/a/ocom/docs/security/what-idcs-customers-should-expect.pdf" target="_blank" rel="_blank"><img loading="lazy" decoding="async" width="567" height="762" src="https://www.netspi.com/wp-content/uploads/2026/10/image008-1-edited-2.png" alt="" class="wp-image-34647" style="aspect-ratio:0.6702412868632708;width:161px;height:auto" srcset="https://www.netspi.com/wp-content/uploads/2026/10/image008-1-edited-2.png 567w, https://www.netspi.com/wp-content/uploads/2026/10/image008-1-edited-2-223x300.png 223w" sizes="auto, (max-width: 567px) 100vw, 567px" /></a></figure>
</div>
<p class="text-[16px] px-2 p-1 wp-block-paragraph" style="font-size:16px">My understanding is that this is related to Oracle’s earlier Identity Cloud Service (IDCS) product being integrated into OCI. As part of that integration, the identity-domain administration model appears to be represented through this built-in IDCS application and its associated AppRoles. The TLDR is the “IDCS_Application” appears to be a system defined pre-existing background application that is tied to all the default administrator roles, so being assigned a role on the IDCS_Application would allow access to all identity resources.</p>
</div>
<div class="wp-block-column is-layout-flow wp-block-column-is-layout-flow" style="flex-basis:35%">
<p class="wp-block-paragraph">Using the Python SDK, we can enumerate the applications and AppRoles in an identity domain. Tools such as OCInferno shown below can also surface this relationship. When doing so, these built-in administrator roles appear as AppRoles associated with a pre-existing IDCS application.</p>
<figure data-wp-context="{"imageId":"6afb58b442cbe"}" data-wp-interactive="core/image" data-wp-key="6afb58b442cbe" class="wp-block-image size-full wp-lightbox-container"><img loading="lazy" decoding="async" width="1080" height="633" data-wp-class--hide="state.isContentHidden" data-wp-class--show="state.isContentVisible" data-wp-init="callbacks.setButtonStyles" data-wp-on--click="actions.showLightbox" data-wp-on--load="callbacks.setButtonStyles" data-wp-on--pointerdown="actions.preloadImage" data-wp-on--pointerenter="actions.preloadImageWithDelay" data-wp-on--pointerleave="actions.cancelPreload" data-wp-on-window--resize="callbacks.setButtonStyles" src="https://www.netspi.com/wp-content/uploads/2026/10/image007-1.png" alt="" class="wp-image-34636" srcset="https://www.netspi.com/wp-content/uploads/2026/10/image007-1.png 1080w, https://www.netspi.com/wp-content/uploads/2026/10/image007-1-300x176.png 300w, https://www.netspi.com/wp-content/uploads/2026/10/image007-1-1024x600.png 1024w, https://www.netspi.com/wp-content/uploads/2026/10/image007-1-768x450.png 768w" sizes="auto, (max-width: 1080px) 100vw, 1080px" /><button
class="lightbox-trigger"
type="button"
aria-haspopup="dialog"
data-wp-bind--aria-label="state.thisImage.triggerButtonAriaLabel"
data-wp-init="callbacks.initTriggerButton"
data-wp-on--click="actions.showLightbox"
data-wp-style--right="state.thisImage.buttonRight"
data-wp-style--top="state.thisImage.buttonTop"
>
<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" fill="none" viewBox="0 0 12 12">
<path fill="#fff" d="M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z" />
</svg>
</button></figure>
</div>
</div>
</div>
</div>
<div class="wp-block-columns seperator is-layout-flex wp-container-core-columns-is-layout-8f761849 wp-block-columns-is-layout-flex">
<div class="wp-block-column is-layout-flow wp-block-column-is-layout-flow">
<h2 id="h-built-in-idcs-application" class="wp-block-heading h3-larger">Built-in IDCS Application</h2>
<h4 id="h-two-workflows-for-one-goal" class="wp-block-heading">Two Workflows for One Goal</h4>
<p class="px-3 wp-block-paragraph">By now, you may have noticed that OCI can expose two separate authorization paths for similar resources: classic OCI IAM policies and Identity Domain application roles. For example, suppose we want to create a long-lived API key for an IAM user named WebbinRoot, who resides in the Default identity domain. Assume that IdentityDomainA also exists elsewhere in the tenancy, such as within CompartmentABC.</p>
<div class="wp-block-columns mb-0 pb-0 is-layout-flex wp-container-core-columns-is-layout-8f761849 wp-block-columns-is-layout-flex">
<div class="wp-block-column px-3 pl-0 is-layout-flow wp-block-column-is-layout-flow">
<p class="px-3 wp-block-paragraph">There are two ways we can potentially obtain the required permissions:</p>
<ol class="wp-block-list even-spaced px-2">
<li><strong>OCI IAM policies</strong>: If the caller has permissions through a classic OCI IAM policy, such as: <code> Allow group CallerGroup to manage users in compartment CompartmentABC </code> the caller can create an API key through the classic OCI IAM API.</li>
<li><strong>Identity Domain roles:</strong> If the caller has been assigned an administrator role such as Identity Domain Administrator in the Default domain, the caller can also obtain user-management permissions over WebbinRoot.</li>
</ol>
<p class="pl-5 wp-block-paragraph" style="font-size:16px"><strong>These are separate and additive authorization models.</strong> <br>A principal can have the relevant OCI IAM policies without having any Identity Domain application roles, or have an Identity Domain role without having the corresponding OCI IAM permissions. In either case, the principal may be able to perform the same logical operation against the same underlying user resource.</p>
</div>
<div class="wp-block-column is-vertically-aligned-center is-layout-flow wp-block-column-is-layout-flow" style="flex-basis:33.5%"><div class="wp-block-image leading-9 text-sm p-1 pb-0 shadow-sm bg-white/50">
<figure data-wp-context="{"imageId":"6afb58b4434b1"}" data-wp-interactive="core/image" data-wp-key="6afb58b4434b1" class="aligncenter size-full wp-lightbox-container"><img loading="lazy" decoding="async" width="845" height="816" data-wp-class--hide="state.isContentHidden" data-wp-class--show="state.isContentVisible" data-wp-init="callbacks.setButtonStyles" data-wp-on--click="actions.showLightbox" data-wp-on--load="callbacks.setButtonStyles" data-wp-on--pointerdown="actions.preloadImage" data-wp-on--pointerenter="actions.preloadImageWithDelay" data-wp-on--pointerleave="actions.cancelPreload" data-wp-on-window--resize="callbacks.setButtonStyles" src="https://www.netspi.com/wp-content/uploads/2026/10/image.png" alt="" class="wp-image-34635" srcset="https://www.netspi.com/wp-content/uploads/2026/10/image.png 845w, https://www.netspi.com/wp-content/uploads/2026/10/image-300x290.png 300w, https://www.netspi.com/wp-content/uploads/2026/10/image-768x742.png 768w" sizes="auto, (max-width: 845px) 100vw, 845px" /><button
class="lightbox-trigger"
type="button"
aria-haspopup="dialog"
data-wp-bind--aria-label="state.thisImage.triggerButtonAriaLabel"
data-wp-init="callbacks.initTriggerButton"
data-wp-on--click="actions.showLightbox"
data-wp-style--right="state.thisImage.buttonRight"
data-wp-style--top="state.thisImage.buttonTop"
>
<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" fill="none" viewBox="0 0 12 12">
<path fill="#fff" d="M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z" />
</svg>
</button><figcaption class="wp-element-caption"><strong>Oracle Doc:</strong> <a href="https://www.oracle.com/a/ocom/docs/security/what-idcs-customers-should-expect.pdf" target="_blank" rel="noreferrer noopener">what-idcs-customers-should-expect.pdf</a></figcaption></figure>
</div></div>
</div>
<h2 id="h-the-api-path-depends-on-the-identity-domain" class="wp-block-heading h3-large">The API Path Depends on the Identity Domain</h2>
<p class="px-2 wp-block-paragraph">Before continuing, it is worth taking a brief aside to explain how the API paths relate to these permission models.</p>
<p class="px-2 max-w-[90%] wp-block-paragraph"> Each authorization model can be exercised through its <strong>own</strong> API endpoints, but there is some nuance around when each API can actually be used. Both authorization models can apply to resources associated with Identity Domains, but the API you use depends on the domain and, in some cases, how the required permissions were granted.</p>
<div class="wp-block-columns is-layout-flex wp-container-core-columns-is-layout-8f761849 wp-block-columns-is-layout-flex">
<div class="wp-block-column px-3 is-layout-flow wp-block-column-is-layout-flow">
<p class="wp-block-paragraph">The classic OCI IAM CLI/API path operates against the Default identity domain. For users in non-Default identity domains, or when using Identity Domain permissions against users in the Default domain, you need to use the Identity Domains SCIM API.</p>
<p class="wp-block-paragraph">This means that even if a principal has the necessary classic OCI IAM policy permissions, the classic /20160918 API does not appear to work for users outside of the Default domain. Instead, the SCIM API must be used. </p>
</div>
<div class="wp-block-column is-layout-flow wp-block-column-is-layout-flow" style="flex-basis:39%">
<p class="pl-5 pt-0 mt-0 wp-block-paragraph" id="h-in-other-words" style="font-size:17px"><strong>In other words: </strong></p>
<div class="wp-block-group p-3 pb-4 pl-0 pt-5 bg-white/50 shadow-sm border border-solid text-[16px] max-w-[90%] mx-auto"><div class="wp-block-group__inner-container is-layout-constrained wp-block-group-is-layout-constrained">
<ul class="wp-block-list even-spaced pb-0 even-left mt-2">
<li style="font-size:16px"><strong>Classic OCI IAM API (/20160918)</strong> <br>→ works with the Default domain. <br> </li>
<li style="font-size:16px"><strong>Identity Domains SCIM API (/admin/v1)</strong> <br>→ can be used for users in Identity Domains</li>
</ul>
<p class="has-text-align-center pb-0 mb-0 p-1 wp-block-paragraph" style="font-size:14px"> ( including the Default domain )</p>
</div></div>
</div>
</div>
<p class="text-[18px] px-2 wp-block-paragraph" id="h-the-following-examples-demonstrate-each-scenario" style="font-size:18px"><strong>The following examples demonstrate each scenario:</strong></p>
</div>
</div>
<h2 id="h-classic-api-permissions-granted-through-an-oci-iam-policy" class="wp-block-heading h3-large">Classic API: Permissions Granted Through an OCI IAM Policy</h2>
<div class="wp-block-uagb-tabs uagb-block-f76fbd87 uagb-tabs__wrap uagb-tabs__hstyle1-desktop uagb-tabs__vstyle6-tablet uagb-tabs__stack1-mobile" data-tab-active="0"><ul class="uagb-tabs__panel uagb-tabs__align-left" role="tablist"><li class="uagb-tab uagb-tabs__active" role="none"><a href="#uagb-tabs__tab0" class="uagb-tabs-list uagb-tabs__icon-position-left" data-tab="0" role="tab"><div>OCI CLI Command</div></a></li><li class="uagb-tab " role="none"><a href="#uagb-tabs__tab1" class="uagb-tabs-list uagb-tabs__icon-position-left" data-tab="1" role="tab"><div>HTTP Request</div></a></li><li class="uagb-tab " role="none"><a href="#uagb-tabs__tab2" class="uagb-tabs-list uagb-tabs__icon-position-left" data-tab="2" role="tab"><div>HTTP Response</div></a></li></ul><div class="uagb-tabs__body-wrap">
<div class="wp-block-uagb-tabs-child uagb-tabs__body-container uagb-inner-tab-0" aria-labelledby="uagb-tabs__tab0">
<div class="wp-block-columns is-layout-flex wp-container-core-columns-is-layout-8f761849 wp-block-columns-is-layout-flex">
<div class="wp-block-column is-layout-flow wp-block-column-is-layout-flow">
<pre class="EnlighterJSRAW" data-enlighter-language="shell" data-enlighter-theme="dracula" data-enlighter-highlight="" data-enlighter-linenumbers="false" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group=""># oci iam user api-key upload \
--user-id ocid1.user.oc1..aaaaaaaawz4zmfs5qug2no24plzqfc4b7vkh3q52pwuepyidbl5wgjmzpkra \
--key-file ~/.oci/oci_api_key_public.pem \
--profile DEFAULT_2
{
"data": {
"fingerprint": "0a:33:67:5e:6d:a8:08:45:8c:c5:c5:36:1a:df:68:dc",
"inactive-status": null,
"key-id": "ocid1.tenancy.oc1..[TRUNCATED]",
"key-value": "-----BEGIN PUBLIC KEY-----[TRUNCATED]\n-----END PUBLIC KEY-----",
"lifecycle-state": "ACTIVE",
"time-created": "2026-08-15T19:08:58.653000+00:00",
"user-id": "ocid1.user.oc1..aaaaaa[TRUNCATED]"
},
"etag": "b5b8a9cc076f46ca887c8a3021e0424c"
}</pre>
</div>
</div>
</div>
<div class="wp-block-uagb-tabs-child uagb-tabs__body-container uagb-inner-tab-1" aria-labelledby="uagb-tabs__tab1">
<div class="wp-block-columns is-layout-flex wp-container-core-columns-is-layout-8f761849 wp-block-columns-is-layout-flex">
<div class="wp-block-column is-layout-flow wp-block-column-is-layout-flow">
<pre class="EnlighterJSRAW" data-enlighter-language="raw" data-enlighter-theme="dracula" data-enlighter-highlight="" data-enlighter-linenumbers="false" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group="">POST /20160918/users/ocid1.user.oc1..aaaaaaaawz4zmfs5qug2no24plzqfc4b7vkh3q52pwuepyidbl5wgjmzpkra/apiKeys HTTP/1.1
user-agent: Oracle-PythonSDK/2.181.1 (python 3.13.12; x86_64-Linux) Oracle-PythonCLI/3.89.1
Accept-Encoding: gzip, deflate, br
accept: application/json
[TRUNCATED]
Content-Length: 471
date: Sat, 15 Aug 2026 19:08:56 GMT
host: identity.us-phoenix-1.oci.oraclecloud.com
x-content-sha256: D0pqMiEm12dTZa1bntB6IkImgAZkYp9WB1eSKkjEr6o=
authorization: Signature algorithm="rsa-sha256",headers="date (request-target) host content-length content-type x-content-sha256",keyId="ocid1.tenancy.oc1..aaaaa[TRUNCATED]/ocid1.user.oc1..aaaaaaaarfw6k63nn[TRUNCATED]/2b:2a:04:5f:ba:93:40:d4:ec:a9:58:42:ca:02:76:90",signature="BGd+SR910eC[TRUNCATED]",version="1"
{"key": "-----BEGIN PUBLIC KEY-----[TRUNCATED]\n-----END PUBLIC KEY-----\n"}</pre>
</div>
</div>
</div>
<div class="wp-block-uagb-tabs-child uagb-tabs__body-container uagb-inner-tab-2" aria-labelledby="uagb-tabs__tab2">
<div class="wp-block-columns is-layout-flex wp-container-core-columns-is-layout-8f761849 wp-block-columns-is-layout-flex">
<div class="wp-block-column is-layout-flow wp-block-column-is-layout-flow">
<pre class="EnlighterJSRAW" data-enlighter-language="raw" data-enlighter-theme="dracula" data-enlighter-highlight="" data-enlighter-linenumbers="false" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group="">HTTP/1.1 200 OK
Date: Sat, 15 Aug 2026 19:08:58 GMT
[TRUNCATED]
Pragma: no-cache
Location: https://identity-control-plane-core.svc.ad1.r2/20160918/users/ocid1.user.oc1..aaaaaaaawz4zmfs[TRUNCATED]/keys/ocid1.tenancy.oc1..aaaaaaaagmctwyv2ud[TRUNCATED]/ocid1.user.oc1..aaaaaaaawz4zmfs[TRUNCATED]/0a:33:67:5e:6d:a8:08:45:8c:c5:c5:36:1a:df:68:dc
Content-Type: application/json
Content-Length: 938
{
"timeCreated" : "2026-08-15T19:08:58.653Z",
"userId" : "ocid1.user.oc1..aaaaaaaawz4zmfs5q[TRUNCATED]",
"fingerprint" : "0a:33:67:5e:6d:a8:08:45:8c:c5:c5:36:1a:df:68:dc",
"keyValue" : "-----BEGIN PUBLIC KEY-----[TRUNCATED]\n-----END PUBLIC KEY-----",
"keyId" : "ocid1.tenancy.oc1..aaaaaaaagmctw[TRUNCATED]/ocid1.user.oc1..aaaaaaaawz4zmfs[TRUNCATED]/0a:33:67:5e:6d:a8:08:45:8c:c5:c5:36:1a:df:68:dc",
"lifecycleState" : "ACTIVE"
}</pre>
</div>
</div>
</div>
</div></div>
<h3 id="h-identity-domains-scim-api-permissions-granted-through-an-identity-domain-role" class="wp-block-heading">Identity Domains SCIM API: Permissions Granted Through an Identity Domain Role</h3>
<div class="wp-block-uagb-tabs uagb-block-f76fbd87 uagb-tabs__wrap uagb-tabs__hstyle1-desktop uagb-tabs__vstyle6-tablet uagb-tabs__stack1-mobile" data-tab-active="0"><ul class="uagb-tabs__panel uagb-tabs__align-left" role="tablist"><li class="uagb-tab uagb-tabs__active" role="none"><a href="#uagb-tabs__tab0" class="uagb-tabs-list uagb-tabs__icon-position-left" data-tab="0" role="tab"><div>OCI CLI Command</div></a></li><li class="uagb-tab " role="none"><a href="#uagb-tabs__tab1" class="uagb-tabs-list uagb-tabs__icon-position-left" data-tab="1" role="tab"><div>HTTP Request</div></a></li><li class="uagb-tab " role="none"><a href="#uagb-tabs__tab2" class="uagb-tabs-list uagb-tabs__icon-position-left" data-tab="2" role="tab"><div>HTTP Response</div></a></li></ul><div class="uagb-tabs__body-wrap">
<div class="wp-block-uagb-tabs-child uagb-tabs__body-container uagb-inner-tab-0" aria-labelledby="uagb-tabs__tab0">
<div class="wp-block-columns is-layout-flex wp-container-core-columns-is-layout-8f761849 wp-block-columns-is-layout-flex">
<div class="wp-block-column is-layout-flow wp-block-column-is-layout-flow">
<pre class="EnlighterJSRAW" data-enlighter-language="shell" data-enlighter-theme="dracula" data-enlighter-highlight="" data-enlighter-linenumbers="false" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group=""># cat /tmp/api_key.json
{
"schemas": [
"urn:ietf:params:scim:schemas:oracle:idcs:apikey"
],
"key": "-----BEGIN PUBLIC KEY-----[TRUNCATED]n-----END PUBLIC KEY-----\n",
"fingerprint": "0a:33:67:5e:6d:a8:08:45:8c:c5:c5:36:1a:df:68:dc",
"user": {
"ocid": "ocid1.user.oc1..aaaaaaaakrwllzzebd[TRUNCATED]"
}
}
oci identity-domains api-key create \
--endpoint "https://idcs-1b46[TRUNCATED].identity.oraclecloud.com" \
--from-json file:///tmp/api_key.json \
--profile TARGETUSER2
{
"data": {
"compartment-ocid": "ocid1.compartment.oc1..aaaaaaaaaxg6mhon[TRUNCATED]",
"delete-in-progress": null,
"description": null,
"domain-ocid": "ocid1.domain.oc1..aaaaaaaayzh65taz6kw[TRUNCATED]",
[TRUNCATED – See HTTP Response Below]
"etag": "e6ac9312b5ea4c908f4742d72b932f04",
"opc-total-items": "-1"
}</pre>
</div>
</div>
</div>
<div class="wp-block-uagb-tabs-child uagb-tabs__body-container uagb-inner-tab-1" aria-labelledby="uagb-tabs__tab1">
<div class="wp-block-columns is-layout-flex wp-container-core-columns-is-layout-8f761849 wp-block-columns-is-layout-flex">
<div class="wp-block-column is-layout-flow wp-block-column-is-layout-flow">
<pre class="EnlighterJSRAW" data-enlighter-language="raw" data-enlighter-theme="dracula" data-enlighter-highlight="" data-enlighter-linenumbers="false" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group="">POST /admin/v1/ApiKeys HTTP/1.1
user-agent: Oracle-PythonSDK/2.181.1 (python 3.13.12; x86_64-Linux) Oracle-PythonCLI/3.89.1
[TRUNCATED]
Content-Length: 699
date: Sat, 15 Aug 2026 19:01:43 GMT
host: idcs-1b46[TRUNCATED].identity.oraclecloud.com
x-content-sha256: NBHRiNEqbBiuSMFDX9ARAMQcUFjQwdOYJ0G5MXKPeqY=
authorization: Signature algorithm="rsa-sha256",headers="date (request-target) host content-length content-type x-content-sha256",keyId="ocid1.tenancy.oc1..aaaaaaaagmctwy[TRUNCATED]/ocid1.user.oc1..aaaaaaaazra4evbt6[TRUNCATED]/51:52:3f:bb:b6:69:79:f6:63:04:22:b5:a9:d4:a2:b1",signature="jIvZWeVV83K[TRUNCATED]",version="1"
{"schemas": ["urn:ietf:params:scim:schemas:oracle:idcs:apikey"], "fingerprint": "0a:33:67:5e:6d:a8:08:45:8c:c5:c5:36:1a:df:68:dc", "key": "-----BEGIN PUBLIC KEY-----[TRUNCATED]\n-----END PUBLIC KEY-----\n", "user": {"ocid": "ocid1.user.oc1..aaaaaaaakrwllzzebd[TRUNCATED]"}}</pre>
</div>
</div>
</div>
<div class="wp-block-uagb-tabs-child uagb-tabs__body-container uagb-inner-tab-2" aria-labelledby="uagb-tabs__tab2">
<div class="wp-block-columns is-layout-flex wp-container-core-columns-is-layout-8f761849 wp-block-columns-is-layout-flex">
<div class="wp-block-column is-layout-flow wp-block-column-is-layout-flow">
<pre class="EnlighterJSRAW" data-enlighter-language="raw" data-enlighter-theme="dracula" data-enlighter-highlight="" data-enlighter-linenumbers="false" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group="">HTTP/1.1 201 Created
Date: Sat, 15 Aug 2026 19:01:45 GMT
Content-Type: application/json;charset=utf-8
Content-Length: 2270
[TRUNCATED]
x-envoy-decorator-operation: admin.idcs-data-plane.svc.cluster.local:9246/*
Server: Oracle Identity Cloud Service
x-frame-options: deny
[TRUNCATED]
{"idcsLastModifiedBy":{"type":"User","value":"173c95[TRUNCATED]","display":"John Cleese","ocid":"ocid1.user.oc1..aaaaaaaazra4evbt6[TRUNCATED]","$ref":"https://idcs-1b46f36384304fe383d6b72c2cae0a26.identity.oraclecloud.com:443/admin/v1/Users/173c95[TRUNCATED]"},"idcsCreatedBy":{"type":"User","ocid":"ocid1.user.oc1..aaaaaaaazra4evbt6[TRUNCATED]","display":"John Cleese","value":"173c95[TRUNCATED]","$ref":"https://idcs-1b46[TRUNCATED].identity.oraclecloud.com:443/admin/v1/Users/173c95[TRUNCATED]"},"meta":{"version":"e6ac9312b5ea4c908f4742d72b932f04","created":"2026-08-15T19:01:45.545Z","lastModified":"2026-08-15T19:01:45.545Z","resourceType":"ApiKey","location":"https://idcs-1b46[TRUNCATED].identity.oraclecloud.com:443/admin/v1/ApiKeys/91135f0997884b02912d3ce723893146"},"fingerprint":"86:f1:55:29:61:7d:86:5d:63:b5:28:1d:e2:82:b4:4d","user":{"value":"da4f387de2b64ad4b407c7b73b72889a","ocid":"ocid1.user.oc1..aaaaaaaakrwllzzebd[TRUNCATED]","display":"Herbert Anchovy","name":"hanchovy","$ref":"https://idcs-1b46[TRUNCATED].identity.oraclecloud.com:443/admin/v1/Users/da4f3[TRUNCATED]"},"id":"91135f0997884b02912d3ce723893146","ocid":"ocid1.credential.oc1..aaaaaaaaoctwpdfjsvbj5qvlqg4uqaskiic2pjarp6jo2ufpyarm7edzujvq","key":"-----BEGIN PUBLIC KEY-----[TRUNCATED]\n-----END PUBLIC KEY-----","schemas":["urn:ietf:params:scim:schemas:oracle:idcs:apikey"],"domainOcid":"ocid1.domain.oc1..aaaaaaaayzh65t[TRUNCATED]","compartmentOcid":"ocid1.compartment.oc1..aaaaaaaaaxg6m[TRUNCATED]","tenancyOcid":"ocid1.tenancy.oc1..aaaaaaaagm[TRUNCATED]"}</pre>
</div>
</div>
</div>
</div></div>
<div class="wp-block-columns is-layout-flex wp-container-core-columns-is-layout-8f761849 wp-block-columns-is-layout-flex">
<div class="wp-block-column is-layout-flow wp-block-column-is-layout-flow">
<h3 id="h-identity-domains-scim-api-permissions-granted-through-an-oci-iam-policy" class="wp-block-heading">Identity Domains SCIM API: Permissions Granted Through an OCI IAM Policy</h3>
<p class="wp-block-paragraph">Interestingly, the same SCIM API can also be used when the caller’s authorization comes from classic OCI IAM policies rather than an Identity Domain administrator role.</p>
<div class="wp-block-uagb-tabs uagb-block-f76fbd87 uagb-tabs__wrap uagb-tabs__hstyle1-desktop uagb-tabs__vstyle6-tablet uagb-tabs__stack1-mobile" data-tab-active="0"><ul class="uagb-tabs__panel uagb-tabs__align-left" role="tablist"><li class="uagb-tab uagb-tabs__active" role="none"><a href="#uagb-tabs__tab0" class="uagb-tabs-list uagb-tabs__icon-position-left" data-tab="0" role="tab"><div>OCI CLI Command</div></a></li><li class="uagb-tab " role="none"><a href="#uagb-tabs__tab1" class="uagb-tabs-list uagb-tabs__icon-position-left" data-tab="1" role="tab"><div>HTTP Request</div></a></li><li class="uagb-tab " role="none"><a href="#uagb-tabs__tab2" class="uagb-tabs-list uagb-tabs__icon-position-left" data-tab="2" role="tab"><div>HTTP Response</div></a></li></ul><div class="uagb-tabs__body-wrap">
<div class="wp-block-uagb-tabs-child uagb-tabs__body-container uagb-inner-tab-0" aria-labelledby="uagb-tabs__tab0">
<div class="wp-block-columns is-layout-flex wp-container-core-columns-is-layout-8f761849 wp-block-columns-is-layout-flex">
<div class="wp-block-column is-layout-flow wp-block-column-is-layout-flow">
<pre class="EnlighterJSRAW" data-enlighter-language="shell" data-enlighter-theme="dracula" data-enlighter-highlight="" data-enlighter-linenumbers="false" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group=""># cat /tmp/api_key.json | jq .
{
"schemas": [
"urn:ietf:params:scim:schemas:oracle:idcs:apikey"
],
"key": "-----BEGIN PUBLIC KEY-----[TRUNCATED]\n",
"fingerprint": "0a:33:67:5e:6d:a8:08:45:8c:c5:c5:36:1a:df:68:dc",
"user": {
"ocid": "ocid1.user.oc1..aaaaaaaazra4evbt[TRUNCATED]"
}
}
oci identity-domains api-key create \
--endpoint "https://idcs-1b46[TRUNCATED].identity.oraclecloud.com" \
--from-json file:///tmp/api_key.json \
--profile ClaudeTest
{
"data": {
"compartment-ocid": "ocid1.compartment.oc1..aaaaaaaaaxg6mho[TRUNCATED]",
"delete-in-progress": null,
"description": null,
"domain-ocid": "ocid1.domain.oc1..aaaaaaaayzh65taz6[TRUNCATED]",
[TRUNCATED – See HTTP Response Below]
"etag": "37d1793a430944da900219b08eb6ef2e",
"opc-total-items": "0"
}</pre>
</div>
</div>
</div>
<div class="wp-block-uagb-tabs-child uagb-tabs__body-container uagb-inner-tab-1" aria-labelledby="uagb-tabs__tab1">
<div class="wp-block-columns is-layout-flex wp-container-core-columns-is-layout-8f761849 wp-block-columns-is-layout-flex">
<div class="wp-block-column is-layout-flow wp-block-column-is-layout-flow">
<pre class="EnlighterJSRAW" data-enlighter-language="raw" data-enlighter-theme="dracula" data-enlighter-highlight="" data-enlighter-linenumbers="false" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group="">POST /admin/v1/ApiKeys HTTP/1.1
user-agent: Oracle-PythonSDK/2.181.1 (python 3.13.12; x86_64-Linux) Oracle-PythonCLI/3.89.1
Accept-Encoding: gzip, deflate, br
accept: application/json, application/scim+json
[TRUNCATED]
Content-Length: 699
date: Sat, 15 Aug 2026 18:54:22 GMT
host: idcs-1b46[TRUNCATED].identity.oraclecloud.com
x-content-sha256: cdKzJmINNqwYtvrTvc22vZ5jja7OCD1Wvuxg1X/BMUs=
authorization: Signature algorithm="rsa-sha256",headers="date (request-target) host content-length content-type x-content-sha256",keyId="ocid1.tenancy.oc1..aaaaaaaagmctwyv2[TRUNCATED]/ocid1.user.oc1..aaaaaaaapol6pbym[TRUNCATED]/86:f1:55:29:61:7d:86:5d:63:b5:28:1d:e2:82:b4:4d",signature="eaU5YIxYb[TRUNCATED]",version="1"
{"schemas": ["urn:ietf:params:scim:schemas:oracle:idcs:apikey"], "fingerprint": "0a:33:67:5e:6d:a8:08:45:8c:c5:c5:36:1a:df:68:dc", "key": "-----BEGIN PUBLIC KEY[TRUNCATED]\n-----END PUBLIC KEY-----\n", "user": {"ocid": "ocid1.user.oc1..aaaaaaaazra4e[TRUNCATED]"}}</pre>
</div>
</div>
</div>
<div class="wp-block-uagb-tabs-child uagb-tabs__body-container uagb-inner-tab-2" aria-labelledby="uagb-tabs__tab2">
<div class="wp-block-columns is-layout-flex wp-container-core-columns-is-layout-8f761849 wp-block-columns-is-layout-flex">
<div class="wp-block-column is-layout-flow wp-block-column-is-layout-flow">
<pre class="EnlighterJSRAW" data-enlighter-language="raw" data-enlighter-theme="dracula" data-enlighter-highlight="" data-enlighter-linenumbers="false" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group="">HTTP/1.1 201 Created
Date: Sat, 15 Aug 2026 18:54:22 GMT
Content-Type: application/json;charset=utf-8
Content-Length: 2171
Connection: keep-alive
[TRUNCATED]
x-envoy-decorator-operation: admin.idcs-data-plane.svc.cluster.local:9246/*
Server: Oracle Identity Cloud Service
x-frame-options: deny
vary: origin
Strict-Transport-Security: max-age=31536000; includeSubDomains
[TRUNCATED]
{"idcsLastModifiedBy":{"type":"User","value":"OCI User","display":"Scott [TRUNCATED]","ocid":"ocid1.user.oc1..aaaaaaaapol6pbym[TRUNCATED]","$ref":"https://idcs-1b46[TRUNCATED].identity.oraclecloud.com:443/admin/v1/Users/OCI User"},"idcsCreatedBy":{"type":"User","ocid":"ocid1.user.oc1..aaaaaaaapol6pbym[TRUNCATED]","display":"Scott Weston","value":"OCI User","$ref":"https://idcs-1b46[TRUNCATED].identity.oraclecloud.com:443/admin/v1/Users/OCI User"},"meta":{"version":"37d1793a430944da900219b08eb6ef2e","created":"2026-08-15T18:54:22.668Z","lastModified":"2026-08-15T18:54:22.668Z","resourceType":"ApiKey","location":"https://idcs-1b46[TRUNCATED].identity.oraclecloud.com:443/admin/v1/ApiKeys/ab3e09ab960142b0b17c038b9d5abe59"},"fingerprint":"86:f1:55:29:61:7d:86:5d:63:b5:28:1d:e2:82:b4:4d","user":{"value":"173c95[TRUNCATED]","ocid":"ocid1.user.oc1..aaaaaaaazra4e[TRUNCATED]","display":"John Cleese","name":"jcleese","$ref":"https://idcs-1b46[TRUNCATED].identity.oraclecloud.com:443/admin/v1/Users/173c95[TRUNCATED]"},"id":"ab3e09ab960142b0b17c038b9d5abe59","ocid":"ocid1.credential.oc1..aaaaaaaahaqlaf4ioxdnm7l2xicdq6elxwkcfpszecjoca7alxsde7mnawiq","key":"-----BEGIN PUBLIC KEY-----[TRUNCATED]\n-----END PUBLIC KEY-----","schemas":["urn:ietf:params:scim:schemas:oracle:idcs:apikey"],"domainOcid":"ocid1.domain.oc1..aaaaaaaayzh65taz[TRUNCATED]","compartmentOcid":"ocid1.compartment.oc1..aaaaaaaaaxg6m[TRUNCATED]","tenancyOcid":"ocid1.tenancy.oc1..aaaaaaaagmctwy[TRUNCATED]"}</pre>
</div>
</div>
</div>
</div></div>
</div>
</div>
<div class="wp-block-columns seperator is-layout-flex wp-container-core-columns-is-layout-8f761849 wp-block-columns-is-layout-flex">
<div class="wp-block-column is-layout-flow wp-block-column-is-layout-flow">
<h2 id="h-finding-the-vulnerability" class="wp-block-heading h3-larger">Finding the Vulnerability</h2>
<p class="wp-block-paragraph">Having gone through the basics of OCI and untangled the classic OCI IAM and Identity Domain AppRole authorization models, I began looking more closely at what each AppRole could actually do.</p>
<p class="wp-block-paragraph">The documentation is somewhat sparse in this area in my opinion, and the capabilities of each administrator role are often left to a degree of common sense and inference. My initial expectation was that Identity Domain AppRoles would provide interesting avenues for lateral movement and privilege escalation within an Identity Domain. For example, if I compromised a user with the <strong>User Administrator</strong> role, could I then target other users in the same Identity Domain who had additional permissions through classic OCI IAM policies?</p>
<p class="wp-block-paragraph">To build the relevant edges in my BloodHound graph for OCInferno (<a href="#talk-recordings">see the talk recordings above</a>), I needed to understand the actual authorization boundaries of each Identity Domain AppRole. Because the documentation did not fully spell out limitations, I resorted to testing the roles individually and building my own authorization matrix.</p>
<p class="wp-block-paragraph">One of the first questions I wanted to answer was whether administrator roles could modify other administrator roles within the same Identity Domain. For example, could a <strong>User Administrator</strong> modify a user who had been assigned the <strong>Identity Domain Administrator</strong> role? If so, that could potentially provide a path from User Administrator to Identity Domain Administrator. And if that worked in one direction, was the reverse also possible?</p>
<p class="wp-block-paragraph">To keep the testing isolated, I assigned my test principals to a dedicated test Identity Domain and gave them <strong>zero traditional OCI IAM permissions</strong>. This meant that any access observed during testing had to come exclusively from their Identity Domain AppRoles.</p>
<p class="wp-block-paragraph">I quickly found that, although these boundaries are not clearly documented, OCI does appear to enforce protections between the different Identity Domain administrator roles. For example, when I authenticated as a user with the <strong>User Administrator</strong> role and attempted to change the email address of a user assigned the <strong>Identity Domain Administrator</strong> role, the request failed.</p>
<p class="wp-block-paragraph">Looking at the underlying network traffic made the boundary even more explicit. The error indicated that the principal did not have permission to modify an Identity Domain Administrator. I unfortunately did not capture a screenshot of the response, but the network-level error was essentially along the lines of: <code>"You can't modify this user because they are an Identity Domain Administrator."</code></p>
<div class="wp-block-columns is-layout-flex wp-container-core-columns-is-layout-8f761849 wp-block-columns-is-layout-flex">
<div class="wp-block-column is-layout-flow wp-block-column-is-layout-flow">
<p class="wp-block-paragraph">While disappointing for my privilege-escalation hopes and dreams, this result made sense. However, it also highlighted an important consideration: <strong>an OCI user is associated with more than just a username, password, and email address.</strong> There are other credentials and authentication mechanisms tied to the user such as static API signing keys.</p>
<p class="wp-block-paragraph">This led me to investigate the <strong>User Manager administrator role,</strong> which should have even fewer permissions than the User Administrator role. While doing so, I came across what appeared to be relevant documentation in Oracle’s endpoint authorization reference: <a href="https://docs.oracle.com/en-us/iaas/Content/Identity/api-getstarted/RequiredRolePerEndpointExt.htm#RRPEUserManagExt" target="_blank" rel="noreferrer noopener">docs.oracle.com</a></p>
</div>
<div class="wp-block-column is-vertically-aligned-center is-layout-flow wp-block-column-is-layout-flow" style="flex-basis:32%">
<div class="wp-block-group p-5 pt-4 bg-white/50 shadow-sm border border-solid text-[16px]"><div class="wp-block-group__inner-container is-layout-constrained wp-block-group-is-layout-constrained">
<p class="pb-0 wp-block-paragraph" style="font-size:16px">This behavior makes sense from a security perspective. If a User Administrator could simply modify or take over an Identity Domain Administrator, the separation between the administrator roles would provide considerably less value.</p>
</div></div>
</div>
</div>
<p class="wp-block-paragraph">It was during this testing that I encountered the unexpected behavior described below, which ultimately led to the issue I referenced in Oracle’s advisory. The procedures for this are listed below. My hypothesis is the API key belongs both to OCI classic IAM policies and Identity Domain AppRoles and the duplication of APIs and permissions led to this being missed.</p>
</div>
</div>
<div class="wp-block-columns seperator is-layout-flex wp-container-core-columns-is-layout-8f761849 wp-block-columns-is-layout-flex">
<div class="wp-block-column is-layout-flow wp-block-column-is-layout-flow">
<h2 id="h-procedures" class="wp-block-heading h3-larger">Procedures</h2>
<div class="wp-block-columns pt-5 not-brdr is-layout-flex wp-container-core-columns-is-layout-8f761849 wp-block-columns-is-layout-flex" id="procedure-1">
<div class="wp-block-column pt-3 is-layout-flow wp-block-column-is-layout-flow" style="flex-basis:33px">
<p class="has-text-align-center bg-black rounded-full text-white pb-0 font-medium text-[22px] border-2 border-solid border-orange border wp-block-paragraph" id="h-1"> 1 </p>
</div>
<div class="wp-block-column is-layout-flow wp-block-column-is-layout-flow">
<h4 id="h-i-created-a-brand-new-identity-domain-at-the-tenant-compartment-level" class="wp-block-heading pt-0 h5">I created a brand new identity domain at the tenant compartment level.</h4>
<p class="pl-5 wp-block-paragraph">Note: I created a starting user, “StartingUserIdentityAdmin” with an email I owned.</p>
<div class="wp-block-columns is-layout-flex wp-container-core-columns-is-layout-8f761849 wp-block-columns-is-layout-flex">
<div class="wp-block-column p-1 pt-0 is-layout-flow wp-block-column-is-layout-flow">
<figure data-wp-context="{"imageId":"6afb58b44570c"}" data-wp-interactive="core/image" data-wp-key="6afb58b44570c" class="wp-block-image size-full mt-0 pt-0 wp-lightbox-container"><img loading="lazy" decoding="async" width="384" height="607" data-wp-class--hide="state.isContentHidden" data-wp-class--show="state.isContentVisible" data-wp-init="callbacks.setButtonStyles" data-wp-on--click="actions.showLightbox" data-wp-on--load="callbacks.setButtonStyles" data-wp-on--pointerdown="actions.preloadImage" data-wp-on--pointerenter="actions.preloadImageWithDelay" data-wp-on--pointerleave="actions.cancelPreload" data-wp-on-window--resize="callbacks.setButtonStyles" src="https://www.netspi.com/wp-content/uploads/2026/10/image010-1-edited-1.png" alt="" class="wp-image-34634" srcset="https://www.netspi.com/wp-content/uploads/2026/10/image010-1-edited-1.png 384w, https://www.netspi.com/wp-content/uploads/2026/10/image010-1-edited-1-190x300.png 190w" sizes="auto, (max-width: 384px) 100vw, 384px" /><button
class="lightbox-trigger"
type="button"
aria-haspopup="dialog"
data-wp-bind--aria-label="state.thisImage.triggerButtonAriaLabel"
data-wp-init="callbacks.initTriggerButton"
data-wp-on--click="actions.showLightbox"
data-wp-style--right="state.thisImage.buttonRight"
data-wp-style--top="state.thisImage.buttonTop"
>
<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" fill="none" viewBox="0 0 12 12">
<path fill="#fff" d="M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z" />
</svg>
</button></figure>
</div>
<div class="wp-block-column p-1 is-layout-flow wp-block-column-is-layout-flow" style="flex-basis:68%">
<figure data-wp-context="{"imageId":"6afb58b448d30"}" data-wp-interactive="core/image" data-wp-key="6afb58b448d30" class="wp-block-image size-full pt-0 mt-0 px-3 wp-lightbox-container"><img loading="lazy" decoding="async" width="832" height="406" data-wp-class--hide="state.isContentHidden" data-wp-class--show="state.isContentVisible" data-wp-init="callbacks.setButtonStyles" data-wp-on--click="actions.showLightbox" data-wp-on--load="callbacks.setButtonStyles" data-wp-on--pointerdown="actions.preloadImage" data-wp-on--pointerenter="actions.preloadImageWithDelay" data-wp-on--pointerleave="actions.cancelPreload" data-wp-on-window--resize="callbacks.setButtonStyles" src="https://www.netspi.com/wp-content/uploads/2026/10/image011-updated-edited.png" alt="" class="wp-image-34633" srcset="https://www.netspi.com/wp-content/uploads/2026/10/image011-updated-edited.png 832w, https://www.netspi.com/wp-content/uploads/2026/10/image011-updated-edited-300x146.png 300w, https://www.netspi.com/wp-content/uploads/2026/10/image011-updated-edited-768x375.png 768w" sizes="auto, (max-width: 832px) 100vw, 832px" /><button
class="lightbox-trigger"
type="button"
aria-haspopup="dialog"
data-wp-bind--aria-label="state.thisImage.triggerButtonAriaLabel"
data-wp-init="callbacks.initTriggerButton"
data-wp-on--click="actions.showLightbox"
data-wp-style--right="state.thisImage.buttonRight"
data-wp-style--top="state.thisImage.buttonTop"
>
<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" fill="none" viewBox="0 0 12 12">
<path fill="#fff" d="M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z" />
</svg>
</button><figcaption class="wp-element-caption">This was called IdentityDomainPOC as shown. </figcaption></figure>
</div>
</div>
</div>
</div>
<div class="wp-block-columns is-layout-flex wp-container-core-columns-is-layout-8f761849 wp-block-columns-is-layout-flex" id="procedure-2">
<div class="wp-block-column pt-3 is-layout-flow wp-block-column-is-layout-flow" style="flex-basis:33px">
<p class="has-text-align-center bg-black rounded-full text-white pb-0 font-medium text-[22px] border-2 border-solid border-orange border wp-block-paragraph"> 2 </p>
</div>
<div class="wp-block-column is-layout-flow wp-block-column-is-layout-flow">
<h4 id="h-clicking-into-the-domain-startinguseridentityadmin-is-an-identity-domain-administrator-as-expected" class="wp-block-heading h5">Clicking into the domain – StartingUserIdentityAdmin is an identity domain administrator ( as expected )</h4>
<div class="wp-block-columns is-layout-flex wp-container-core-columns-is-layout-8f761849 wp-block-columns-is-layout-flex">
<div class="wp-block-column is-vertically-aligned-top is-layout-flow wp-block-column-is-layout-flow">
<figure data-wp-context="{"imageId":"6afb58b4495ea"}" data-wp-interactive="core/image" data-wp-key="6afb58b4495ea" class="wp-block-image size-full pt-0 mt-0 wp-lightbox-container"><img loading="lazy" decoding="async" width="1092" height="681" data-wp-class--hide="state.isContentHidden" data-wp-class--show="state.isContentVisible" data-wp-init="callbacks.setButtonStyles" data-wp-on--click="actions.showLightbox" data-wp-on--load="callbacks.setButtonStyles" data-wp-on--pointerdown="actions.preloadImage" data-wp-on--pointerenter="actions.preloadImageWithDelay" data-wp-on--pointerleave="actions.cancelPreload" data-wp-on-window--resize="callbacks.setButtonStyles" src="https://www.netspi.com/wp-content/uploads/2026/10/image012-1-edited.png" alt="" class="wp-image-34632" srcset="https://www.netspi.com/wp-content/uploads/2026/10/image012-1-edited.png 1092w, https://www.netspi.com/wp-content/uploads/2026/10/image012-1-edited-300x187.png 300w, https://www.netspi.com/wp-content/uploads/2026/10/image012-1-edited-1024x639.png 1024w, https://www.netspi.com/wp-content/uploads/2026/10/image012-1-edited-768x479.png 768w" sizes="auto, (max-width: 1092px) 100vw, 1092px" /><button
class="lightbox-trigger"
type="button"
aria-haspopup="dialog"
data-wp-bind--aria-label="state.thisImage.triggerButtonAriaLabel"
data-wp-init="callbacks.initTriggerButton"
data-wp-on--click="actions.showLightbox"
data-wp-style--right="state.thisImage.buttonRight"
data-wp-style--top="state.thisImage.buttonTop"
>
<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" fill="none" viewBox="0 0 12 12">
<path fill="#fff" d="M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z" />
</svg>
</button></figure>
</div>
<div class="wp-block-column is-layout-flow wp-block-column-is-layout-flow" style="flex-basis:46%">
<p class="pb-0 mb-0 pt-2 px-3 pl-0 wp-block-paragraph"> Note: the user is inherently in the Domain_Administrators group by default in the same domain.</p>
<figure data-wp-context="{"imageId":"6afb58b449abc"}" data-wp-interactive="core/image" data-wp-key="6afb58b449abc" class="wp-block-image size-full wp-lightbox-container"><img loading="lazy" decoding="async" width="1249" height="572" data-wp-class--hide="state.isContentHidden" data-wp-class--show="state.isContentVisible" data-wp-init="callbacks.setButtonStyles" data-wp-on--click="actions.showLightbox" data-wp-on--load="callbacks.setButtonStyles" data-wp-on--pointerdown="actions.preloadImage" data-wp-on--pointerenter="actions.preloadImageWithDelay" data-wp-on--pointerleave="actions.cancelPreload" data-wp-on-window--resize="callbacks.setButtonStyles" src="https://www.netspi.com/wp-content/uploads/2026/10/image013-1.png" alt="" class="wp-image-34631" srcset="https://www.netspi.com/wp-content/uploads/2026/10/image013-1.png 1249w, https://www.netspi.com/wp-content/uploads/2026/10/image013-1-300x137.png 300w, https://www.netspi.com/wp-content/uploads/2026/10/image013-1-1024x469.png 1024w, https://www.netspi.com/wp-content/uploads/2026/10/image013-1-768x352.png 768w" sizes="auto, (max-width: 1249px) 100vw, 1249px" /><button
class="lightbox-trigger"
type="button"
aria-haspopup="dialog"
data-wp-bind--aria-label="state.thisImage.triggerButtonAriaLabel"
data-wp-init="callbacks.initTriggerButton"
data-wp-on--click="actions.showLightbox"
data-wp-style--right="state.thisImage.buttonRight"
data-wp-style--top="state.thisImage.buttonTop"
>
<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" fill="none" viewBox="0 0 12 12">
<path fill="#fff" d="M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z" />
</svg>
</button></figure>
</div>
</div>
</div>
</div>
<div class="wp-block-columns is-layout-flex wp-container-core-columns-is-layout-8f761849 wp-block-columns-is-layout-flex" id="procedure-3">
<div class="wp-block-column pt-3 is-layout-flow wp-block-column-is-layout-flow" style="flex-basis:33px">
<p class="has-text-align-center bg-black rounded-full text-white pb-0 font-medium text-[22px] border-2 border-solid border-orange border wp-block-paragraph"> 3 </p>
</div>
<div class="wp-block-column is-layout-flow wp-block-column-is-layout-flow">
<h4 id="h-create-a-second-user-within-the-identitydomainpoc-domain-this-user-is-placed-in-no-starting-groups-nbsp" class="wp-block-heading h5">Create a second user within the IdentityDomainPOC domain. This user is placed in <u>NO</u> starting groups. </h4>
<div class="wp-block-columns pl-5 ml-5 is-layout-flex wp-container-core-columns-is-layout-8f761849 wp-block-columns-is-layout-flex">
<div class="wp-block-column is-layout-flow wp-block-column-is-layout-flow">
<figure data-wp-context="{"imageId":"6afb58b44a3e6"}" data-wp-interactive="core/image" data-wp-key="6afb58b44a3e6" class="wp-block-image size-full mt-0 pt-0 wp-lightbox-container"><img loading="lazy" decoding="async" width="415" height="480" data-wp-class--hide="state.isContentHidden" data-wp-class--show="state.isContentVisible" data-wp-init="callbacks.setButtonStyles" data-wp-on--click="actions.showLightbox" data-wp-on--load="callbacks.setButtonStyles" data-wp-on--pointerdown="actions.preloadImage" data-wp-on--pointerenter="actions.preloadImageWithDelay" data-wp-on--pointerleave="actions.cancelPreload" data-wp-on-window--resize="callbacks.setButtonStyles" src="https://www.netspi.com/wp-content/uploads/2026/10/image014-1-edited.png" alt="" class="wp-image-34630" srcset="https://www.netspi.com/wp-content/uploads/2026/10/image014-1-edited.png 415w, https://www.netspi.com/wp-content/uploads/2026/10/image014-1-edited-259x300.png 259w" sizes="auto, (max-width: 415px) 100vw, 415px" /><button
class="lightbox-trigger"
type="button"
aria-haspopup="dialog"
data-wp-bind--aria-label="state.thisImage.triggerButtonAriaLabel"
data-wp-init="callbacks.initTriggerButton"
data-wp-on--click="actions.showLightbox"
data-wp-style--right="state.thisImage.buttonRight"
data-wp-style--top="state.thisImage.buttonTop"
>
<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" fill="none" viewBox="0 0 12 12">
<path fill="#fff" d="M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z" />
</svg>
</button></figure>
</div>
<div class="wp-block-column mt-0 pt-0 is-layout-flow wp-block-column-is-layout-flow" style="flex-basis:66.67%">
<figure data-wp-context="{"imageId":"6afb58b44a964"}" data-wp-interactive="core/image" data-wp-key="6afb58b44a964" class="wp-block-image size-full mt-0 pt-0 wp-lightbox-container"><img loading="lazy" decoding="async" width="1237" height="628" data-wp-class--hide="state.isContentHidden" data-wp-class--show="state.isContentVisible" data-wp-init="callbacks.setButtonStyles" data-wp-on--click="actions.showLightbox" data-wp-on--load="callbacks.setButtonStyles" data-wp-on--pointerdown="actions.preloadImage" data-wp-on--pointerenter="actions.preloadImageWithDelay" data-wp-on--pointerleave="actions.cancelPreload" data-wp-on-window--resize="callbacks.setButtonStyles" src="https://www.netspi.com/wp-content/uploads/2026/10/image015-1-edited-1.png" alt="" class="wp-image-34629" srcset="https://www.netspi.com/wp-content/uploads/2026/10/image015-1-edited-1.png 1237w, https://www.netspi.com/wp-content/uploads/2026/10/image015-1-edited-1-300x152.png 300w, https://www.netspi.com/wp-content/uploads/2026/10/image015-1-edited-1-1024x520.png 1024w, https://www.netspi.com/wp-content/uploads/2026/10/image015-1-edited-1-768x390.png 768w" sizes="auto, (max-width: 1237px) 100vw, 1237px" /><button
class="lightbox-trigger"
type="button"
aria-haspopup="dialog"
data-wp-bind--aria-label="state.thisImage.triggerButtonAriaLabel"
data-wp-init="callbacks.initTriggerButton"
data-wp-on--click="actions.showLightbox"
data-wp-style--right="state.thisImage.buttonRight"
data-wp-style--top="state.thisImage.buttonTop"
>
<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" fill="none" viewBox="0 0 12 12">
<path fill="#fff" d="M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z" />
</svg>
</button></figure>
</div>
</div>
</div>
</div>
<div class="wp-block-columns is-layout-flex wp-container-core-columns-is-layout-8f761849 wp-block-columns-is-layout-flex" id="procedure-4">
<div class="wp-block-column pt-3 is-layout-flow wp-block-column-is-layout-flow" style="flex-basis:33px">
<p class="has-text-align-center bg-black rounded-full text-white pb-0 font-medium text-[22px] border-2 border-solid border-orange border wp-block-paragraph"> 4 </p>
</div>
<div class="wp-block-column is-layout-flow wp-block-column-is-layout-flow">
<h4 id="h-add-the-second-user-who-is-in-no-groups-to-the-user-manager-administrator-role" class="wp-block-heading h5">Add the second user, who is in no groups, to the User Manager administrator role. </h4>
<p class="pl-5 wp-block-paragraph">Set the user to be able to manage all users.</p>
<div class="wp-block-columns pl-5 is-layout-flex wp-container-core-columns-is-layout-8f761849 wp-block-columns-is-layout-flex">
<div class="wp-block-column is-layout-flow wp-block-column-is-layout-flow">
<figure data-wp-context="{"imageId":"6afb58b44b361"}" data-wp-interactive="core/image" data-wp-key="6afb58b44b361" class="wp-block-image size-full pt-0 mt-0 wp-lightbox-container"><img loading="lazy" decoding="async" width="1038" height="546" data-wp-class--hide="state.isContentHidden" data-wp-class--show="state.isContentVisible" data-wp-init="callbacks.setButtonStyles" data-wp-on--click="actions.showLightbox" data-wp-on--load="callbacks.setButtonStyles" data-wp-on--pointerdown="actions.preloadImage" data-wp-on--pointerenter="actions.preloadImageWithDelay" data-wp-on--pointerleave="actions.cancelPreload" data-wp-on-window--resize="callbacks.setButtonStyles" src="https://www.netspi.com/wp-content/uploads/2026/10/image016-1-edited-1.png" alt="" class="wp-image-34628" srcset="https://www.netspi.com/wp-content/uploads/2026/10/image016-1-edited-1.png 1038w, https://www.netspi.com/wp-content/uploads/2026/10/image016-1-edited-1-300x158.png 300w, https://www.netspi.com/wp-content/uploads/2026/10/image016-1-edited-1-1024x539.png 1024w, https://www.netspi.com/wp-content/uploads/2026/10/image016-1-edited-1-768x404.png 768w" sizes="auto, (max-width: 1038px) 100vw, 1038px" /><button
class="lightbox-trigger"
type="button"
aria-haspopup="dialog"
data-wp-bind--aria-label="state.thisImage.triggerButtonAriaLabel"
data-wp-init="callbacks.initTriggerButton"
data-wp-on--click="actions.showLightbox"
data-wp-style--right="state.thisImage.buttonRight"
data-wp-style--top="state.thisImage.buttonTop"
>
<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" fill="none" viewBox="0 0 12 12">
<path fill="#fff" d="M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z" />
</svg>
</button></figure>
</div>
<div class="wp-block-column is-layout-flow wp-block-column-is-layout-flow" style="flex-basis:44%">
<figure data-wp-context="{"imageId":"6afb58b44b954"}" data-wp-interactive="core/image" data-wp-key="6afb58b44b954" class="wp-block-image size-full mt-0 pt-0 wp-lightbox-container"><img loading="lazy" decoding="async" width="1245" height="472" data-wp-class--hide="state.isContentHidden" data-wp-class--show="state.isContentVisible" data-wp-init="callbacks.setButtonStyles" data-wp-on--click="actions.showLightbox" data-wp-on--load="callbacks.setButtonStyles" data-wp-on--pointerdown="actions.preloadImage" data-wp-on--pointerenter="actions.preloadImageWithDelay" data-wp-on--pointerleave="actions.cancelPreload" data-wp-on-window--resize="callbacks.setButtonStyles" src="https://www.netspi.com/wp-content/uploads/2026/10/image017-1.png" alt="" class="wp-image-34627" srcset="https://www.netspi.com/wp-content/uploads/2026/10/image017-1.png 1245w, https://www.netspi.com/wp-content/uploads/2026/10/image017-1-300x114.png 300w, https://www.netspi.com/wp-content/uploads/2026/10/image017-1-1024x388.png 1024w, https://www.netspi.com/wp-content/uploads/2026/10/image017-1-768x291.png 768w" sizes="auto, (max-width: 1245px) 100vw, 1245px" /><button
class="lightbox-trigger"
type="button"
aria-haspopup="dialog"
data-wp-bind--aria-label="state.thisImage.triggerButtonAriaLabel"
data-wp-init="callbacks.initTriggerButton"
data-wp-on--click="actions.showLightbox"
data-wp-style--right="state.thisImage.buttonRight"
data-wp-style--top="state.thisImage.buttonTop"
>
<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" fill="none" viewBox="0 0 12 12">
<path fill="#fff" d="M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z" />
</svg>
</button></figure>
</div>
</div>
</div>
</div>
<div class="wp-block-columns is-layout-flex wp-container-core-columns-is-layout-8f761849 wp-block-columns-is-layout-flex" id="procedure-5">
<div class="wp-block-column pt-3 is-layout-flow wp-block-column-is-layout-flow" style="flex-basis:33px">
<p class="has-text-align-center bg-black rounded-full text-white pb-0 font-medium text-[22px] border-2 border-solid border-orange border wp-block-paragraph"> 5 </p>
</div>
<div class="wp-block-column is-layout-flow wp-block-column-is-layout-flow">
<h4 id="h-at-this-point-sign-in-as-both-users-in-separate-browser-sessions" class="wp-block-heading h5">At this point, sign in as both users in separate browser sessions.</h4>
<p class="pl-5 wp-block-paragraph">As seen below, a browser session for <code>StartingUserIdentityAdmin</code> and <code>LowerLevelUser</code>. </p>
<div class="wp-block-columns pl-5 is-layout-flex wp-container-core-columns-is-layout-8f761849 wp-block-columns-is-layout-flex">
<div class="wp-block-column is-layout-flow wp-block-column-is-layout-flow">
<figure data-wp-context="{"imageId":"6afb58b44c370"}" data-wp-interactive="core/image" data-wp-key="6afb58b44c370" class="wp-block-image size-full pt-0 mt-0 pb-0 mb-0 wp-lightbox-container"><img loading="lazy" decoding="async" width="1042" height="451" data-wp-class--hide="state.isContentHidden" data-wp-class--show="state.isContentVisible" data-wp-init="callbacks.setButtonStyles" data-wp-on--click="actions.showLightbox" data-wp-on--load="callbacks.setButtonStyles" data-wp-on--pointerdown="actions.preloadImage" data-wp-on--pointerenter="actions.preloadImageWithDelay" data-wp-on--pointerleave="actions.cancelPreload" data-wp-on-window--resize="callbacks.setButtonStyles" src="https://www.netspi.com/wp-content/uploads/2026/10/image018-1-edited-4.png" alt="" class="wp-image-34624" srcset="https://www.netspi.com/wp-content/uploads/2026/10/image018-1-edited-4.png 1042w, https://www.netspi.com/wp-content/uploads/2026/10/image018-1-edited-4-300x130.png 300w, https://www.netspi.com/wp-content/uploads/2026/10/image018-1-edited-4-1024x443.png 1024w, https://www.netspi.com/wp-content/uploads/2026/10/image018-1-edited-4-768x332.png 768w" sizes="auto, (max-width: 1042px) 100vw, 1042px" /><button
class="lightbox-trigger"
type="button"
aria-haspopup="dialog"
data-wp-bind--aria-label="state.thisImage.triggerButtonAriaLabel"
data-wp-init="callbacks.initTriggerButton"
data-wp-on--click="actions.showLightbox"
data-wp-style--right="state.thisImage.buttonRight"
data-wp-style--top="state.thisImage.buttonTop"
>
<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" fill="none" viewBox="0 0 12 12">
<path fill="#fff" d="M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z" />
</svg>
</button><figcaption class="wp-element-caption"><strong>Identity Domain Administrator Web Session</strong></figcaption></figure>
<figure data-wp-context="{"imageId":"6afb58b44c88b"}" data-wp-interactive="core/image" data-wp-key="6afb58b44c88b" class="wp-block-image size-full mt-0 pt-0 wp-lightbox-container"><img loading="lazy" decoding="async" width="1009" height="454" data-wp-class--hide="state.isContentHidden" data-wp-class--show="state.isContentVisible" data-wp-init="callbacks.setButtonStyles" data-wp-on--click="actions.showLightbox" data-wp-on--load="callbacks.setButtonStyles" data-wp-on--pointerdown="actions.preloadImage" data-wp-on--pointerenter="actions.preloadImageWithDelay" data-wp-on--pointerleave="actions.cancelPreload" data-wp-on-window--resize="callbacks.setButtonStyles" src="https://www.netspi.com/wp-content/uploads/2026/10/image019-1-edited-3.png" alt="" class="wp-image-34626" srcset="https://www.netspi.com/wp-content/uploads/2026/10/image019-1-edited-3.png 1009w, https://www.netspi.com/wp-content/uploads/2026/10/image019-1-edited-3-300x135.png 300w, https://www.netspi.com/wp-content/uploads/2026/10/image019-1-edited-3-768x346.png 768w" sizes="auto, (max-width: 1009px) 100vw, 1009px" /><button
class="lightbox-trigger"
type="button"
aria-haspopup="dialog"
data-wp-bind--aria-label="state.thisImage.triggerButtonAriaLabel"
data-wp-init="callbacks.initTriggerButton"
data-wp-on--click="actions.showLightbox"
data-wp-style--right="state.thisImage.buttonRight"
data-wp-style--top="state.thisImage.buttonTop"
>
<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" fill="none" viewBox="0 0 12 12">
<path fill="#fff" d="M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z" />
</svg>
</button><figcaption class="wp-element-caption"><strong><strong>User Manager Web Session</strong> </strong></figcaption></figure>
</div>
<div class="wp-block-column is-vertically-aligned-center pl-5 is-layout-flow wp-block-column-is-layout-flow" style="flex-basis:40%">
<figure data-wp-context="{"imageId":"6afb58b44ce35"}" data-wp-interactive="core/image" data-wp-key="6afb58b44ce35" class="wp-block-image size-full mt-0 pt-0 pl-5 wp-lightbox-container"><img loading="lazy" decoding="async" width="996" height="648" data-wp-class--hide="state.isContentHidden" data-wp-class--show="state.isContentVisible" data-wp-init="callbacks.setButtonStyles" data-wp-on--click="actions.showLightbox" data-wp-on--load="callbacks.setButtonStyles" data-wp-on--pointerdown="actions.preloadImage" data-wp-on--pointerenter="actions.preloadImageWithDelay" data-wp-on--pointerleave="actions.cancelPreload" data-wp-on-window--resize="callbacks.setButtonStyles" src="https://www.netspi.com/wp-content/uploads/2026/10/image020-1-edited.png" alt="" class="wp-image-34625" srcset="https://www.netspi.com/wp-content/uploads/2026/10/image020-1-edited.png 996w, https://www.netspi.com/wp-content/uploads/2026/10/image020-1-edited-300x195.png 300w, https://www.netspi.com/wp-content/uploads/2026/10/image020-1-edited-768x500.png 768w" sizes="auto, (max-width: 996px) 100vw, 996px" /><button
class="lightbox-trigger"
type="button"
aria-haspopup="dialog"
data-wp-bind--aria-label="state.thisImage.triggerButtonAriaLabel"
data-wp-init="callbacks.initTriggerButton"
data-wp-on--click="actions.showLightbox"
data-wp-style--right="state.thisImage.buttonRight"
data-wp-style--top="state.thisImage.buttonTop"
>
<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" fill="none" viewBox="0 0 12 12">
<path fill="#fff" d="M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z" />
</svg>
</button><figcaption class="wp-element-caption">Note: LowerLevelUser can’t even see other Administrators in the Administrators tab.</figcaption></figure>
</div>
</div>
</div>
</div>
<div class="wp-block-columns is-layout-flex wp-container-core-columns-is-layout-8f761849 wp-block-columns-is-layout-flex" id="procedure-6">
<div class="wp-block-column pt-3 is-layout-flow wp-block-column-is-layout-flow" style="flex-basis:33px">
<p class="has-text-align-center bg-black rounded-full text-white pb-0 font-medium text-[22px] border-2 border-solid border-orange border wp-block-paragraph"> 6 </p>
</div>
<div class="wp-block-column is-layout-flow wp-block-column-is-layout-flow">
<h4 id="h-as-the-lower-level-user-navigate-to-the-identity-domain-user" class="wp-block-heading h5">As the lower level user, navigate to the Identity Domain user. </h4>
<p class="px-2 wp-block-paragraph">Try to change the Identity Domain admin’s email and recovery email. Note this is not allowed.</p>
<div class="wp-block-columns pl-5 is-layout-flex wp-container-core-columns-is-layout-8f761849 wp-block-columns-is-layout-flex">
<div class="wp-block-column is-layout-flow wp-block-column-is-layout-flow" style="flex-basis:65%">
<figure data-wp-context="{"imageId":"6afb58b44d84e"}" data-wp-interactive="core/image" data-wp-key="6afb58b44d84e" class="wp-block-image size-full mt-0 pt-0 px-3 pb-0 mb-0 wp-lightbox-container"><img loading="lazy" decoding="async" width="1007" height="578" data-wp-class--hide="state.isContentHidden" data-wp-class--show="state.isContentVisible" data-wp-init="callbacks.setButtonStyles" data-wp-on--click="actions.showLightbox" data-wp-on--load="callbacks.setButtonStyles" data-wp-on--pointerdown="actions.preloadImage" data-wp-on--pointerenter="actions.preloadImageWithDelay" data-wp-on--pointerleave="actions.cancelPreload" data-wp-on-window--resize="callbacks.setButtonStyles" src="https://www.netspi.com/wp-content/uploads/2026/10/image021-1-edited-3.png" alt="" class="wp-image-34623" srcset="https://www.netspi.com/wp-content/uploads/2026/10/image021-1-edited-3.png 1007w, https://www.netspi.com/wp-content/uploads/2026/10/image021-1-edited-3-300x172.png 300w, https://www.netspi.com/wp-content/uploads/2026/10/image021-1-edited-3-768x441.png 768w" sizes="auto, (max-width: 1007px) 100vw, 1007px" /><button
class="lightbox-trigger"
type="button"
aria-haspopup="dialog"
data-wp-bind--aria-label="state.thisImage.triggerButtonAriaLabel"
data-wp-init="callbacks.initTriggerButton"
data-wp-on--click="actions.showLightbox"
data-wp-style--right="state.thisImage.buttonRight"
data-wp-style--top="state.thisImage.buttonTop"
>
<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" fill="none" viewBox="0 0 12 12">
<path fill="#fff" d="M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z" />
</svg>
</button></figure>
<figure data-wp-context="{"imageId":"6afb58b44dd13"}" data-wp-interactive="core/image" data-wp-key="6afb58b44dd13" class="wp-block-image size-full pt-0 mt-1 px-3 wp-lightbox-container"><img loading="lazy" decoding="async" width="959" height="298" data-wp-class--hide="state.isContentHidden" data-wp-class--show="state.isContentVisible" data-wp-init="callbacks.setButtonStyles" data-wp-on--click="actions.showLightbox" data-wp-on--load="callbacks.setButtonStyles" data-wp-on--pointerdown="actions.preloadImage" data-wp-on--pointerenter="actions.preloadImageWithDelay" data-wp-on--pointerleave="actions.cancelPreload" data-wp-on-window--resize="callbacks.setButtonStyles" src="https://www.netspi.com/wp-content/uploads/2026/10/image022-1-edited-3.png" alt="" class="wp-image-34621" srcset="https://www.netspi.com/wp-content/uploads/2026/10/image022-1-edited-3.png 959w, https://www.netspi.com/wp-content/uploads/2026/10/image022-1-edited-3-300x93.png 300w, https://www.netspi.com/wp-content/uploads/2026/10/image022-1-edited-3-768x239.png 768w" sizes="auto, (max-width: 959px) 100vw, 959px" /><button
class="lightbox-trigger"
type="button"
aria-haspopup="dialog"
data-wp-bind--aria-label="state.thisImage.triggerButtonAriaLabel"
data-wp-init="callbacks.initTriggerButton"
data-wp-on--click="actions.showLightbox"
data-wp-style--right="state.thisImage.buttonRight"
data-wp-style--top="state.thisImage.buttonTop"
>
<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" fill="none" viewBox="0 0 12 12">
<path fill="#fff" d="M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z" />
</svg>
</button></figure>
</div>
<div class="wp-block-column is-vertically-aligned-center p-2 pt-0 is-layout-flow wp-block-column-is-layout-flow" style="flex-basis:26%">
<div class="wp-block-group p-3 pt-3 bg-white/50 shadow"><div class="wp-block-group__inner-container is-layout-constrained wp-block-group-is-layout-constrained"><div class="wp-block-image">
<figure data-wp-context="{"imageId":"6afb58b44e2d8"}" data-wp-interactive="core/image" data-wp-key="6afb58b44e2d8" class="aligncenter size-full wp-lightbox-container"><img loading="lazy" decoding="async" width="326" height="567" data-wp-class--hide="state.isContentHidden" data-wp-class--show="state.isContentVisible" data-wp-init="callbacks.setButtonStyles" data-wp-on--click="actions.showLightbox" data-wp-on--load="callbacks.setButtonStyles" data-wp-on--pointerdown="actions.preloadImage" data-wp-on--pointerenter="actions.preloadImageWithDelay" data-wp-on--pointerleave="actions.cancelPreload" data-wp-on-window--resize="callbacks.setButtonStyles" src="https://www.netspi.com/wp-content/uploads/2026/10/image023-tall.png" alt="" class="wp-image-34622" srcset="https://www.netspi.com/wp-content/uploads/2026/10/image023-tall.png 326w, https://www.netspi.com/wp-content/uploads/2026/10/image023-tall-172x300.png 172w" sizes="auto, (max-width: 326px) 100vw, 326px" /><button
class="lightbox-trigger"
type="button"
aria-haspopup="dialog"
data-wp-bind--aria-label="state.thisImage.triggerButtonAriaLabel"
data-wp-init="callbacks.initTriggerButton"
data-wp-on--click="actions.showLightbox"
data-wp-style--right="state.thisImage.buttonRight"
data-wp-style--top="state.thisImage.buttonTop"
>
<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" fill="none" viewBox="0 0 12 12">
<path fill="#fff" d="M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z" />
</svg>
</button></figure>
</div></div></div>
<p class="has-text-align-center pt-3 has-small-font-size wp-block-paragraph">Note this is not allowed</p>
<div class="wp-block-image">
<figure class="aligncenter size-full"><img loading="lazy" decoding="async" width="295" height="76" src="https://www.netspi.com/wp-content/uploads/2026/10/image024-1-edited-8.png" alt="" class="wp-image-34620" style="object-fit:cover;object-position:2% 10%"/></figure>
</div></div>
</div>
</div>
</div>
<div class="wp-block-columns is-layout-flex wp-container-core-columns-is-layout-8f761849 wp-block-columns-is-layout-flex" id="procedure-7">
<div class="wp-block-column pt-3 is-layout-flow wp-block-column-is-layout-flow" style="flex-basis:33px">
<p class="has-text-align-center bg-black rounded-full text-white pb-0 font-medium text-[22px] border-2 border-solid border-orange border wp-block-paragraph"> 7 </p>
</div>
<div class="wp-block-column is-layout-flow wp-block-column-is-layout-flow">
<h4 id="h-lower-level-user-could-not-prompt-a-password-reset-or-factor-reset-for-the-identity-domain-admin" class="wp-block-heading h5">Lower level user could NOT prompt a password reset or factor reset for the identity domain admin. </h4>
<p class="wp-block-paragraph" id="h-further-testing-lower-level-user-could-also-not-prompt-a-password-reset-or-factor-reset-for-the-identity-domain-admin-seems-to-reinforce-you-shouldn-t-be-able-to-make-an-api-key-for-the-user">Seems to reinforce you shouldn’t be able to make an API key for the user.</p>
<div class="wp-block-columns pl-5 is-layout-flex wp-container-core-columns-is-layout-8f761849 wp-block-columns-is-layout-flex">
<div class="wp-block-column is-layout-flow wp-block-column-is-layout-flow">
<figure data-wp-context="{"imageId":"6afb58b44ef6f"}" data-wp-interactive="core/image" data-wp-key="6afb58b44ef6f" class="wp-block-image size-full mt-0 pt-0 wp-lightbox-container"><img loading="lazy" decoding="async" width="648" height="322" data-wp-class--hide="state.isContentHidden" data-wp-class--show="state.isContentVisible" data-wp-init="callbacks.setButtonStyles" data-wp-on--click="actions.showLightbox" data-wp-on--load="callbacks.setButtonStyles" data-wp-on--pointerdown="actions.preloadImage" data-wp-on--pointerenter="actions.preloadImageWithDelay" data-wp-on--pointerleave="actions.cancelPreload" data-wp-on-window--resize="callbacks.setButtonStyles" src="https://www.netspi.com/wp-content/uploads/2026/10/image025-1.png" alt="" class="wp-image-34619" srcset="https://www.netspi.com/wp-content/uploads/2026/10/image025-1.png 648w, https://www.netspi.com/wp-content/uploads/2026/10/image025-1-300x149.png 300w" sizes="auto, (max-width: 648px) 100vw, 648px" /><button
class="lightbox-trigger"
type="button"
aria-haspopup="dialog"
data-wp-bind--aria-label="state.thisImage.triggerButtonAriaLabel"
data-wp-init="callbacks.initTriggerButton"
data-wp-on--click="actions.showLightbox"
data-wp-style--right="state.thisImage.buttonRight"
data-wp-style--top="state.thisImage.buttonTop"
>
<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" fill="none" viewBox="0 0 12 12">
<path fill="#fff" d="M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z" />
</svg>
</button></figure>
</div>
<div class="wp-block-column is-layout-flow wp-block-column-is-layout-flow">
<figure data-wp-context="{"imageId":"6afb58b44f41a"}" data-wp-interactive="core/image" data-wp-key="6afb58b44f41a" class="wp-block-image size-full mt-0 pt-0 wp-lightbox-container"><img loading="lazy" decoding="async" width="415" height="83" data-wp-class--hide="state.isContentHidden" data-wp-class--show="state.isContentVisible" data-wp-init="callbacks.setButtonStyles" data-wp-on--click="actions.showLightbox" data-wp-on--load="callbacks.setButtonStyles" data-wp-on--pointerdown="actions.preloadImage" data-wp-on--pointerenter="actions.preloadImageWithDelay" data-wp-on--pointerleave="actions.cancelPreload" data-wp-on-window--resize="callbacks.setButtonStyles" src="https://www.netspi.com/wp-content/uploads/2026/10/image026-1.png" alt="" class="wp-image-34618" srcset="https://www.netspi.com/wp-content/uploads/2026/10/image026-1.png 415w, https://www.netspi.com/wp-content/uploads/2026/10/image026-1-300x60.png 300w" sizes="auto, (max-width: 415px) 100vw, 415px" /><button
class="lightbox-trigger"
type="button"
aria-haspopup="dialog"
data-wp-bind--aria-label="state.thisImage.triggerButtonAriaLabel"
data-wp-init="callbacks.initTriggerButton"
data-wp-on--click="actions.showLightbox"
data-wp-style--right="state.thisImage.buttonRight"
data-wp-style--top="state.thisImage.buttonTop"
>
<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" fill="none" viewBox="0 0 12 12">
<path fill="#fff" d="M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z" />
</svg>
</button></figure>
</div>
</div>
</div>
</div>
<div class="wp-block-columns is-layout-flex wp-container-core-columns-is-layout-8f761849 wp-block-columns-is-layout-flex" id="procedure-8">
<div class="wp-block-column pt-3 is-layout-flow wp-block-column-is-layout-flow" style="flex-basis:33px">
<p class="has-text-align-center bg-black rounded-full text-white pb-0 font-medium text-[22px] border-2 border-solid border-orange border wp-block-paragraph"> 8 </p>
</div>
<div class="wp-block-column is-layout-flow wp-block-column-is-layout-flow">
<h4 id="h-as-the-lower-level-user-navigate-to-the-api-keys-tab-choose-to-add-a-key-no-authorization-bugs" class="wp-block-heading h5">As the lower-level user, navigate to the API Keys tab. Choose to add a key ( no authorization bugs )</h4>
<p class="wp-block-paragraph">A User Manager (not even User Administrator) can privilege escalate and become an identity domain admin with one API call.</p>
<div class="wp-block-columns pl-5 is-layout-flex wp-container-core-columns-is-layout-8f761849 wp-block-columns-is-layout-flex">
<div class="wp-block-column is-layout-flow wp-block-column-is-layout-flow" style="flex-basis:52%">
<figure data-wp-context="{"imageId":"6afb58b44fe05"}" data-wp-interactive="core/image" data-wp-key="6afb58b44fe05" class="wp-block-image size-full mt-0 pt-0 wp-lightbox-container"><img loading="lazy" decoding="async" width="971" height="579" data-wp-class--hide="state.isContentHidden" data-wp-class--show="state.isContentVisible" data-wp-init="callbacks.setButtonStyles" data-wp-on--click="actions.showLightbox" data-wp-on--load="callbacks.setButtonStyles" data-wp-on--pointerdown="actions.preloadImage" data-wp-on--pointerenter="actions.preloadImageWithDelay" data-wp-on--pointerleave="actions.cancelPreload" data-wp-on-window--resize="callbacks.setButtonStyles" src="https://www.netspi.com/wp-content/uploads/2026/10/image027-1-edited.png" alt="" class="wp-image-34617" srcset="https://www.netspi.com/wp-content/uploads/2026/10/image027-1-edited.png 971w, https://www.netspi.com/wp-content/uploads/2026/10/image027-1-edited-300x179.png 300w, https://www.netspi.com/wp-content/uploads/2026/10/image027-1-edited-768x458.png 768w" sizes="auto, (max-width: 971px) 100vw, 971px" /><button
class="lightbox-trigger"
type="button"
aria-haspopup="dialog"
data-wp-bind--aria-label="state.thisImage.triggerButtonAriaLabel"
data-wp-init="callbacks.initTriggerButton"
data-wp-on--click="actions.showLightbox"
data-wp-style--right="state.thisImage.buttonRight"
data-wp-style--top="state.thisImage.buttonTop"
>
<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" fill="none" viewBox="0 0 12 12">
<path fill="#fff" d="M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z" />
</svg>
</button></figure>
<figure data-wp-context="{"imageId":"6afb58b450248"}" data-wp-interactive="core/image" data-wp-key="6afb58b450248" class="wp-block-image size-full wp-lightbox-container"><img loading="lazy" decoding="async" width="790" height="633" data-wp-class--hide="state.isContentHidden" data-wp-class--show="state.isContentVisible" data-wp-init="callbacks.setButtonStyles" data-wp-on--click="actions.showLightbox" data-wp-on--load="callbacks.setButtonStyles" data-wp-on--pointerdown="actions.preloadImage" data-wp-on--pointerenter="actions.preloadImageWithDelay" data-wp-on--pointerleave="actions.cancelPreload" data-wp-on-window--resize="callbacks.setButtonStyles" src="https://www.netspi.com/wp-content/uploads/2026/10/image028-add-api-key-edited.png" alt="" class="wp-image-34615" srcset="https://www.netspi.com/wp-content/uploads/2026/10/image028-add-api-key-edited.png 790w, https://www.netspi.com/wp-content/uploads/2026/10/image028-add-api-key-edited-300x240.png 300w, https://www.netspi.com/wp-content/uploads/2026/10/image028-add-api-key-edited-768x615.png 768w" sizes="auto, (max-width: 790px) 100vw, 790px" /><button
class="lightbox-trigger"
type="button"
aria-haspopup="dialog"
data-wp-bind--aria-label="state.thisImage.triggerButtonAriaLabel"
data-wp-init="callbacks.initTriggerButton"
data-wp-on--click="actions.showLightbox"
data-wp-style--right="state.thisImage.buttonRight"
data-wp-style--top="state.thisImage.buttonTop"
>
<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" fill="none" viewBox="0 0 12 12">
<path fill="#fff" d="M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z" />
</svg>
</button></figure>
</div>
<div class="wp-block-column is-layout-flow wp-block-column-is-layout-flow">
<figure data-wp-context="{"imageId":"6afb58b450761"}" data-wp-interactive="core/image" data-wp-key="6afb58b450761" class="wp-block-image size-full mt-0 pt-0 wp-lightbox-container"><img loading="lazy" decoding="async" width="960" height="657" data-wp-class--hide="state.isContentHidden" data-wp-class--show="state.isContentVisible" data-wp-init="callbacks.setButtonStyles" data-wp-on--click="actions.showLightbox" data-wp-on--load="callbacks.setButtonStyles" data-wp-on--pointerdown="actions.preloadImage" data-wp-on--pointerenter="actions.preloadImageWithDelay" data-wp-on--pointerleave="actions.cancelPreload" data-wp-on-window--resize="callbacks.setButtonStyles" src="https://www.netspi.com/wp-content/uploads/2026/10/image029-fingerprint.png" alt="" class="wp-image-34616" srcset="https://www.netspi.com/wp-content/uploads/2026/10/image029-fingerprint.png 960w, https://www.netspi.com/wp-content/uploads/2026/10/image029-fingerprint-300x205.png 300w, https://www.netspi.com/wp-content/uploads/2026/10/image029-fingerprint-768x526.png 768w" sizes="auto, (max-width: 960px) 100vw, 960px" /><button
class="lightbox-trigger"
type="button"
aria-haspopup="dialog"
data-wp-bind--aria-label="state.thisImage.triggerButtonAriaLabel"
data-wp-init="callbacks.initTriggerButton"
data-wp-on--click="actions.showLightbox"
data-wp-style--right="state.thisImage.buttonRight"
data-wp-style--top="state.thisImage.buttonTop"
>
<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" fill="none" viewBox="0 0 12 12">
<path fill="#fff" d="M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z" />
</svg>
</button></figure>
<p class="text-[17px] font-bold pb-0 mb-0 wp-block-paragraph" id="h-the-key-is-valid-as-shown-below-when-i-fetch-the-namespace"><strong>The key is valid when I fetch the namespace</strong> ( below )</p>
<pre class="wp-block-preformatted bash" style="font-size:15px"># cat ~/.oci/config<br>[DEFAULT2]<br>user=ocid1.user.oc1..aaaaaaaab4[REDACTED]<br>fingerprint=bb:fb:f6:1a:a8:fd:d5:6d:68:91:62:37:38:5b:99:2a<br>tenancy=ocid1.tenancy.oc1..aaaaa[REDACTED]<br>region=us-phoenix-1<br>key_file=/home/kali/Downloads/[TRUNCATED]<br># oci os ns get --profile DEFAULT2<br>[TRUNCATED]<br>{<br> "data": "ax[REDACTED]"<br>}</pre>
</div>
</div>
<div class="wp-block-columns pl-5 is-layout-flex wp-container-core-columns-is-layout-8f761849 wp-block-columns-is-layout-flex">
<div class="wp-block-column is-layout-flow wp-block-column-is-layout-flow"></div>
<div class="wp-block-column is-layout-flow wp-block-column-is-layout-flow"></div>
</div>
</div>
</div>
<div class="wp-block-columns is-layout-flex wp-container-core-columns-is-layout-8f761849 wp-block-columns-is-layout-flex" id="procedure-9">
<div class="wp-block-column pt-3 is-layout-flow wp-block-column-is-layout-flow" style="flex-basis:33px">
<p class="has-text-align-center bg-black rounded-full text-white pb-0 font-medium text-[22px] border-2 border-solid border-orange border wp-block-paragraph"> 9 </p>
</div>
<div class="wp-block-column is-layout-flow wp-block-column-is-layout-flow">
<div class="wp-block-columns pl-5 is-layout-flex wp-container-core-columns-is-layout-8f761849 wp-block-columns-is-layout-flex">
<div class="wp-block-column is-layout-flow wp-block-column-is-layout-flow">
<h4 id="h-a-user-manager-could-also-create-smtp-credentials-and-auth-tokens" class="wp-block-heading h5">A User Manager could also create SMTP credentials and Auth tokens</h4>
<div class="wp-block-columns is-layout-flex wp-container-core-columns-is-layout-8f761849 wp-block-columns-is-layout-flex">
<div class="wp-block-column is-layout-flow wp-block-column-is-layout-flow">
<figure data-wp-context="{"imageId":"6afb58b4511d0"}" data-wp-interactive="core/image" data-wp-key="6afb58b4511d0" class="wp-block-image size-full pt-0 mt-0 wp-lightbox-container"><img loading="lazy" decoding="async" width="1022" height="656" data-wp-class--hide="state.isContentHidden" data-wp-class--show="state.isContentVisible" data-wp-init="callbacks.setButtonStyles" data-wp-on--click="actions.showLightbox" data-wp-on--load="callbacks.setButtonStyles" data-wp-on--pointerdown="actions.preloadImage" data-wp-on--pointerenter="actions.preloadImageWithDelay" data-wp-on--pointerleave="actions.cancelPreload" data-wp-on-window--resize="callbacks.setButtonStyles" src="https://www.netspi.com/wp-content/uploads/2026/10/image030-1-edited-1.png" alt="" class="wp-image-34614" srcset="https://www.netspi.com/wp-content/uploads/2026/10/image030-1-edited-1.png 1022w, https://www.netspi.com/wp-content/uploads/2026/10/image030-1-edited-1-300x193.png 300w, https://www.netspi.com/wp-content/uploads/2026/10/image030-1-edited-1-768x493.png 768w" sizes="auto, (max-width: 1022px) 100vw, 1022px" /><button
class="lightbox-trigger"
type="button"
aria-haspopup="dialog"
data-wp-bind--aria-label="state.thisImage.triggerButtonAriaLabel"
data-wp-init="callbacks.initTriggerButton"
data-wp-on--click="actions.showLightbox"
data-wp-style--right="state.thisImage.buttonRight"
data-wp-style--top="state.thisImage.buttonTop"
>
<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" fill="none" viewBox="0 0 12 12">
<path fill="#fff" d="M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z" />
</svg>
</button></figure>
</div>
<div class="wp-block-column is-layout-flow wp-block-column-is-layout-flow">
<figure data-wp-context="{"imageId":"6afb58b451794"}" data-wp-interactive="core/image" data-wp-key="6afb58b451794" class="wp-block-image size-full pt-0 mt-0 wp-lightbox-container"><img loading="lazy" decoding="async" width="1024" height="659" data-wp-class--hide="state.isContentHidden" data-wp-class--show="state.isContentVisible" data-wp-init="callbacks.setButtonStyles" data-wp-on--click="actions.showLightbox" data-wp-on--load="callbacks.setButtonStyles" data-wp-on--pointerdown="actions.preloadImage" data-wp-on--pointerenter="actions.preloadImageWithDelay" data-wp-on--pointerleave="actions.cancelPreload" data-wp-on-window--resize="callbacks.setButtonStyles" src="https://www.netspi.com/wp-content/uploads/2026/10/image031-1-edited-1.png" alt="" class="wp-image-34613" srcset="https://www.netspi.com/wp-content/uploads/2026/10/image031-1-edited-1.png 1024w, https://www.netspi.com/wp-content/uploads/2026/10/image031-1-edited-1-300x193.png 300w, https://www.netspi.com/wp-content/uploads/2026/10/image031-1-edited-1-768x494.png 768w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /><button
class="lightbox-trigger"
type="button"
aria-haspopup="dialog"
data-wp-bind--aria-label="state.thisImage.triggerButtonAriaLabel"
data-wp-init="callbacks.initTriggerButton"
data-wp-on--click="actions.showLightbox"
data-wp-style--right="state.thisImage.buttonRight"
data-wp-style--top="state.thisImage.buttonTop"
>
<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" fill="none" viewBox="0 0 12 12">
<path fill="#fff" d="M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z" />
</svg>
</button></figure>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="wp-block-columns is-layout-flex wp-container-core-columns-is-layout-8f761849 wp-block-columns-is-layout-flex" id="procedure-10">
<div class="wp-block-column pt-3 is-layout-flow wp-block-column-is-layout-flow" style="flex-basis:33px">
<p class="has-text-align-center bg-black rounded-full text-white pb-0 font-medium text-[22px] border-2 border-solid border-orange border wp-block-paragraph"> 10 </p>
</div>
<div class="wp-block-column is-layout-flow wp-block-column-is-layout-flow">
<div class="wp-block-columns pl-5 is-layout-flex wp-container-core-columns-is-layout-8f761849 wp-block-columns-is-layout-flex">
<div class="wp-block-column is-layout-flow wp-block-column-is-layout-flow">
<h4 id="h-ensure-this-was-not-a-policy-granting-permissions-lower-level-user-was-purposefully-placed-in-no-groups" class="wp-block-heading h5">Ensure this was not a policy granting permissions ( lower level user was purposefully placed in NO groups )</h4>
<div class="wp-block-columns is-layout-flex wp-container-core-columns-is-layout-8f761849 wp-block-columns-is-layout-flex">
<div class="wp-block-column is-layout-flow wp-block-column-is-layout-flow">
<p class="wp-block-paragraph"> In addition, the latest policy in IAM statements is from February while this identity domain was created in March highlighting no IAM policies were granted/auto-created. </p>
</div>
<div class="wp-block-column is-layout-flow wp-block-column-is-layout-flow">
<p class="wp-block-paragraph">This image (below) was taken using a higher privileged user in my tenant since, as you know, the identity domain users used in the previous steps do not have permissions to see the policies.</p>
</div>
</div>
<div class="wp-block-group px-2 bg-white/50 shadow mt-0 mb-0 rounded p-2"><div class="wp-block-group__inner-container is-layout-constrained wp-block-group-is-layout-constrained">
<figure data-wp-context="{"imageId":"6afb58b452300"}" data-wp-interactive="core/image" data-wp-key="6afb58b452300" class="wp-block-image size-full pt-0 mt-0 pb-0 mb-0 wp-lightbox-container"><img loading="lazy" decoding="async" width="1426" height="393" data-wp-class--hide="state.isContentHidden" data-wp-class--show="state.isContentVisible" data-wp-init="callbacks.setButtonStyles" data-wp-on--click="actions.showLightbox" data-wp-on--load="callbacks.setButtonStyles" data-wp-on--pointerdown="actions.preloadImage" data-wp-on--pointerenter="actions.preloadImageWithDelay" data-wp-on--pointerleave="actions.cancelPreload" data-wp-on-window--resize="callbacks.setButtonStyles" src="https://www.netspi.com/wp-content/uploads/2026/10/image032-1.png" alt="" class="wp-image-34612" srcset="https://www.netspi.com/wp-content/uploads/2026/10/image032-1.png 1426w, https://www.netspi.com/wp-content/uploads/2026/10/image032-1-300x83.png 300w, https://www.netspi.com/wp-content/uploads/2026/10/image032-1-1024x282.png 1024w, https://www.netspi.com/wp-content/uploads/2026/10/image032-1-768x212.png 768w" sizes="auto, (max-width: 1426px) 100vw, 1426px" /><button
class="lightbox-trigger"
type="button"
aria-haspopup="dialog"
data-wp-bind--aria-label="state.thisImage.triggerButtonAriaLabel"
data-wp-init="callbacks.initTriggerButton"
data-wp-on--click="actions.showLightbox"
data-wp-style--right="state.thisImage.buttonRight"
data-wp-style--top="state.thisImage.buttonTop"
>
<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" fill="none" viewBox="0 0 12 12">
<path fill="#fff" d="M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z" />
</svg>
</button></figure>
</div></div>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="wp-block-columns seperator is-layout-flex wp-container-core-columns-is-layout-8f761849 wp-block-columns-is-layout-flex">
<div class="wp-block-column is-layout-flow wp-block-column-is-layout-flow">
<h2 id="h-oci-vdp-timeline" class="wp-block-heading h3-larger">OCI VDP Timeline</h2>
<p class="px-3 wp-block-paragraph">After submitting the initial report, Oracle handled the issue through its Vulnerability Disclosure Program (VDP). </p>
<p class="pl-5 wp-block-paragraph">The following is a timeline of the disclosure and remediation process.</p>
<div class="wp-block-columns is-layout-flex wp-container-core-columns-is-layout-8f761849 wp-block-columns-is-layout-flex">
<div class="wp-block-column is-layout-flow wp-block-column-is-layout-flow">
<ul class="wp-block-list even-spaced even-left">
<li><strong>March 9, 2026:</strong> Initial vulnerability report submitted to Oracle and a VDP ticket was assigned.</li>
<li><strong>March 24, 2026:</strong> Oracle acknowledged the report, marking it “Under investigation / Being addressed in underlying software.”</li>
<li><strong>April 24, 2026:</strong> Oracle provided an automated status update indicating that the issue remained under investigation.</li>
<li><strong>May 4, 2026:</strong> I followed up with the researcher/VDP process for an update.</li>
<li><strong>May 23, 2026:</strong> I followed up again.</li>
<li><strong>May 28, 2026:</strong> Oracle provided another automated update indicating that the issue was still <strong>under investigation</strong>.</li>
</ul>
</div>
<div class="wp-block-column is-layout-flow wp-block-column-is-layout-flow" style="flex-basis:52%">
<ul class="wp-block-list even-spaced even-left">
<li><strong>May 29, 2026:</strong> Oracle confirmed that the issue was being addressed in the underlying software. Oracle subsequently confirmed that a fix had been developed and was in the process of being deployed.</li>
<li><strong>June 4, 2026:</strong> Oracle reported that the patch had been successfully deployed and indicated that the remediation could proceed to validation.</li>
<li><strong>June 7, 2026:</strong> I tested the reported issue again and found that it was still reproducible. I reported the results back to Oracle.</li>
<li><strong>June 8, 2026:</strong> Oracle informed me that an additional fix had been applied.</li>
<li><strong>June 10, 2026:</strong> I revalidated the issue and confirmed that it was finally resolved in my environment.</li>
<li><strong>October 13, 2026:</strong> NetSPI Technical Blog Published ( this )</li>
</ul>
</div>
</div>
<p class="px-3 wp-block-paragraph">Overall the process took approximately <strong>3 months from the initial report to final validation</strong>. Unfortunately Oracle does not have a dedicated VDP portal similar to other cloud platforms so communications throughout the process was handled primarily through email as part of Oracle’s VDP.</p>
<p class="px-3 wp-block-paragraph"><em><strong>One additional note for others considering research</strong>: Oracle’s VDP process does not currently provide monetary rewards for reports of this type, so there was no monetary bounty associated with this disclosure.</em></p>
</div>
</div>
<div class="wp-block-columns seperator is-layout-flex wp-container-core-columns-is-layout-8f761849 wp-block-columns-is-layout-flex">
<div class="wp-block-column is-layout-flow wp-block-column-is-layout-flow">
<h2 id="h-conclusion" class="wp-block-heading h3-larger">Conclusion</h2>
<p class="wp-block-paragraph">The boundary between OCI IAM and Identity Domain AppRoles provides an interesting avenue for lateral movement and privilege escalation. I incorporated some of these relationships into my OCInferno tool, which can be found here: <a href="https://github.com/NetSPI/OCInferno/" target="_blank" rel="noreferrer noopener">github.com/NetSPI/OCInferno/</a>.</p>
<p class="wp-block-paragraph">It is important to clarify what Oracle’s fix does, and does not, prevent. The fix does <u>not</u> prevent a principal with appropriate OCI IAM permissions from creating API keys for users in an Identity Domain. For example, a policy such as <code>Allow group MyGroup to manage users in MyCompartment</code> can legitimately provide the necessary permissions, because OCI IAM policies and Identity Domain AppRoles represent two distinct authorization boundaries.</p>
<div class="wp-block-columns is-layout-flex wp-container-core-columns-is-layout-8f761849 wp-block-columns-is-layout-flex">
<div class="wp-block-column is-layout-flow wp-block-column-is-layout-flow">
<p class="wp-block-paragraph">What was unexpected was that <strong>AppRole permissions alone could be used to cross this boundary and achieve the same privilege escalation</strong>. That behavior effectively undermined the separation between the Identity Domain administrator roles. Oracle subsequently addressed this behavior so that the AppRole-based privilege escalation path is no longer available.</p>
</div>
<div class="wp-block-column is-layout-flow wp-block-column-is-layout-flow">
<p class="wp-block-paragraph">Ultimately, this research highlights the importance of considering OCI IAM policies and Identity Domain AppRoles not just as separate authorization systems, but as <strong>interacting privilege boundaries</strong>. Understanding how those boundaries intersect can reveal lateral movement and privilege escalation paths that may not be obvious when analyzing either authorization model in isolation.</p>
</div>
</div>
</div>
</div>
<h3 id="h-want-to-explore-oci-yourself" class="wp-block-heading h3">Want to explore OCI yourself?</h3>
<div class="wp-block-columns seperator is-layout-flex wp-container-core-columns-is-layout-8f761849 wp-block-columns-is-layout-flex">
<div class="wp-block-column is-layout-flow wp-block-column-is-layout-flow">
<div class="wp-block-columns is-layout-flex wp-container-core-columns-is-layout-8f761849 wp-block-columns-is-layout-flex">
<div class="wp-block-column is-layout-flow wp-block-column-is-layout-flow" style="flex-basis:45%">
<p class="pb-4 wp-block-paragraph">To visualize OCI permissions and relationships in a BloodHound-style graph, including Identity DomainAppRole relationships discussed in this post <a href="https://github.com/NetSPI/OCInferno/">check out OCInferno</a></p>
</div>
<div class="wp-block-column is-layout-flow wp-block-column-is-layout-flow" style="flex-basis:31%">
<p class="pl-5 pb-0 mt-3 has-custom-css wp-custom-css-59414228 wp-block-paragraph" style="font-size:15px"><em>Built to make relationships easier to enumerate, visualize, and reason about when assessing OCI environments.</em></p>
</div>
<div class="wp-block-column is-layout-flow wp-block-column-is-layout-flow" style="flex-basis:24%"> <section
id="details-card-block_5469a92a89cf9236326aa2eb77a539bb"
class="details-card hover:bg-white shadow-lg mb-4 mt-4 bg-white/50 dc-align-start dc-accent-top dc-accent-bottom dc-accent-left dc-accent-right py-2"
style="--dc-accent-color:#e7e7e7;--dc-accent-thickness:2px;">
<div class="container">
<div class="max-w-[90%] sm:max-w-[40rem] md:max-w-[54.5rem] lg:max-w-[67.5rem] mx-auto">
<div class="dc-items divide-y divide-white/10">
<a href="https://github.com/NetSPI/OCInferno" target="_blank" rel="noopener noreferrer" class="dc-item flex items-center gap-2 py-2 dc-item--link" style="--dc-img-size:32px;--dc-label-size:13px;--dc-val-size:18px;">
<div class="dc-item-image shrink-0">
<img
src="https://www.netspi.com/wp-content/uploads/2024/04/github.svg"
class="block object-contain dc-item-image__img"
alt=""
/>
</div>
<div class="dc-item-content flex flex-col">
<span class="dc-item-value font-medium leading-snug">
OCInferno GitHub </span>
</div>
</a>
</div>
</div>
</div>
<div class="dc-accent-bar dc-accent-bar--top" aria-hidden="true"></div>
<div class="dc-accent-bar dc-accent-bar--bottom" aria-hidden="true"></div>
<div class="dc-accent-bar dc-accent-bar--left" aria-hidden="true"></div>
<div class="dc-accent-bar dc-accent-bar--right" aria-hidden="true"></div>
</section>
</div>
</div>
</div>
</div>
<h3 id="h-ready-to-test-your-oci-security" class="wp-block-heading h3-large">Ready to test your OCI security?</h3>
<div class="wp-block-columns seperator is-layout-flex wp-container-core-columns-is-layout-8f761849 wp-block-columns-is-layout-flex">
<div class="wp-block-column is-layout-flow wp-block-column-is-layout-flow" style="flex-basis:45%">
<p class="wp-block-paragraph">If you’re interested in testing OCI security in a real-world environment, reach out to the <a href="https://www.netspi.com/contact/" data-type="page" data-id="44">NetSPI</a> team to learn more about their OCI security research and cloud pentesting services.</p>
</div>
<div class="wp-block-column is-layout-flow wp-block-column-is-layout-flow">
<div class="wp-block-columns is-layout-flex wp-container-core-columns-is-layout-8f761849 wp-block-columns-is-layout-flex">
<div class="wp-block-column is-layout-flow wp-block-column-is-layout-flow" style="flex-basis:53%"> <section
id="details-card-block_991bd211b20ef5793cf3100dc4f81baa"
class="details-card hover:bg-white shadow-lg mb-4 mt-4 bg-white/50 dc-align-start dc-accent-top dc-accent-bottom dc-accent-left dc-accent-right py-2"
style="--dc-accent-color:#f56a00;--dc-accent-thickness:2px;">
<div class="container">
<div class="max-w-[90%] sm:max-w-[40rem] md:max-w-[54.5rem] lg:max-w-[67.5rem] mx-auto">
<div class="dc-items divide-y divide-white/10">
<a href="https://www.netspi.com/netspi-ptaas/" target="_blank" rel="noopener noreferrer" class="dc-item flex items-center gap-2 py-2 dc-item--link" style="--dc-img-size:32px;--dc-label-size:13px;--dc-val-size:18px;">
<div class="dc-item-image shrink-0">
<img
src="https://www.netspi.com/wp-content/uploads/2025/10/NetSPI-logo-N.svg"
class="block object-contain dc-item-image__img"
alt=""
/>
</div>
<div class="dc-item-content flex flex-col">
<span class="dc-item-value font-medium leading-snug">
NetSPI PTaaS </span>
</div>
</a>
</div>
</div>
</div>
<div class="dc-accent-bar dc-accent-bar--top" aria-hidden="true"></div>
<div class="dc-accent-bar dc-accent-bar--bottom" aria-hidden="true"></div>
<div class="dc-accent-bar dc-accent-bar--left" aria-hidden="true"></div>
<div class="dc-accent-bar dc-accent-bar--right" aria-hidden="true"></div>
</section>
</div>
<div class="wp-block-column is-layout-flow wp-block-column-is-layout-flow" style="flex-basis:47%"> <section
id="details-card-block_27a0606b0d3bbe21017b7de9aa7066f1"
class="details-card hover:bg-white shadow-lg mb-4 mt-4 bg-white/50 dc-align-start dc-accent-top dc-accent-bottom dc-accent-left dc-accent-right py-2"
style="--dc-accent-color:#e7e7e7;--dc-accent-thickness:2px;">
<div class="container">
<div class="max-w-[90%] sm:max-w-[40rem] md:max-w-[54.5rem] lg:max-w-[67.5rem] mx-auto">
<div class="dc-items divide-y divide-white/10">
<a href="https://www.netspi.com/netspi-ptaas/cloud-penetration-testing/" target="_blank" rel="noopener noreferrer" class="dc-item flex items-center gap-2 py-2 dc-item--link" style="--dc-img-size:32px;--dc-label-size:13px;--dc-val-size:18px;">
<div class="dc-item-image shrink-0">
<img
src="https://www.netspi.com/wp-content/uploads/2025/11/cloudblack.svg"
class="block object-contain dc-item-image__img"
alt=""
/>
</div>
<div class="dc-item-content flex flex-col">
<span class="dc-item-value font-medium leading-snug">
Cloud Pentesting </span>
</div>
</a>
</div>
</div>
</div>
<div class="dc-accent-bar dc-accent-bar--top" aria-hidden="true"></div>
<div class="dc-accent-bar dc-accent-bar--bottom" aria-hidden="true"></div>
<div class="dc-accent-bar dc-accent-bar--left" aria-hidden="true"></div>
<div class="dc-accent-bar dc-accent-bar--right" aria-hidden="true"></div>
</section>
</div>
</div>
</div>
</div>
<p>The post <a href="https://www.netspi.com/blog/technical-blog/cloud-pentesting/administrating-the-administrator-an-oci-identity-domains-permission-bypass/">Administrating the Administrator, An OCI Identity Domains Permission Bypass</a> appeared first on <a href="https://www.netspi.com">NetSPI</a>.</p>