CVE-2021-23888 – McAfee ePolicy Orchestrator HTML Injection
An unvalidated client-side URL redirect in McAfee ePolicy Orchestrator allowed an attacker to load an untrusted site in an IFRAME on the dashboard by manipulating the URL fragment. This could be used for phishing or to leak the authenticated user's NetNTLM hash.
ricardojba.github.io
Published on ricardojba.github.io
On Purple Team internal assessments, I’m commonly tasked to test critical company infrastructure and software. On this occasion our team was tasked to test the McAfee ePolicy Orchestrator deployment used by our company.
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the client-side code that constructs the IFRAME source from the URL fragment failed to validate or restrict the destination, allowing a double-slash prefix to load an external site.
Impact
An attacker could conduct a convincing phishing attack or leak the authenticated user's NetNTLM hash, provided the victim clicks a crafted link while logged in and the attacker's site does not set X-Frame-Options to deny framing.
What the attacker needed
Victim is logged into ePO; victim clicks a crafted link; attacker controls a site without X-Frame-Options DENY
The fix
The vulnerability was fixed in McAfee ePolicy Orchestrator 5.10 Update 10.
How it was found
- Log in to the ePO dashboard and observe the URL fragment that specifies the page to load.
- Replace the fragment with a double slash followed by an external domain.
- The dashboard loads the external site in the IFRAME below the top control bar.
- For a more convincing phishing link, use the licensing endpoint with a returnURL parameter that points to the crafted fragment.
- Send the crafted URL to a logged-in ePO user; after any action on the licensing page, they are redirected to the external site.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
The dashboard builds part of its address from the URL after the # symbol. The application did not check that this part was a safe internal page, so an attacker could put a link to their own website there. When a logged-in user opened the crafted link, the attacker's site appeared inside the dashboard, which could trick the user into entering credentials or leak a password hash.
What is Open redirect?
A trusted site forwards users to any address an attacker picks; rarely paid alone, often the missing link in a chain.