Skip to content
Access control Write-up Intermediate

AEM CRX Bypass: The 0-day that took control over some enterprise AEM CRX Package Manager

An authentication bypass in Adobe Experience Manager's CRX Package Manager allowed unauthorised users to view and download packages when default security controls were manually disabled. Attackers could exploit this to access sensitive repository content.

labs.detectify.com

Published on labs.detectify.com

Adobe Experience Manager (AEM) is a widely used content management solution for building digital customer experiences, like websites, mobile apps and forms.

The author, on labs.detectify.com

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 authentication check for the Package Manager was bypassed because the dispatcher filter rules could be evaded using a combination of special characters, and the default security controls on the Package Manager content tree were manually disabled.

Impact

An unauthorised user could view and download packages, leading to information disclosure, but only if default security controls were manually removed; AEM Cloud Service customers are not impacted.

What the attacker needed

Default security controls manually removed; AEM on-premise or managed service

The fix

Adobe recommends setting strict permissions on the Package Manager content tree (by default /etc/packages) and blocking public access to the CRX console endpoints (/crx/*).

How it was found

  1. Ensure default security controls on the Package Manager content tree are manually turned off.
  2. Send a request to the Package Manager endpoint that bypasses dispatcher filter rules using a combination of special characters.
  3. List the packages the user session has access to.

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.

Adobe Experience Manager (AEM) is a system for building websites. It has a feature called Package Manager that lets administrators export and import content. Normally, access to this feature is protected, but if the protection is turned off, someone could bypass the login and see or download the packages, which might contain sensitive information.

What is Access control?

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

Similar reports

View all

Same bug class and techniques, clearest first.

Broken access control

The lesson behind this report.

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