WordPress · Drupal · Site Maintenance · Technical SEO · Editorial Policy

How to Check an Adobe Experience Manager Site for Backdoors

A backdoor on an enterprise CMS is rarely a single obvious file. It is usually a quiet way back in: an account nobody recognises, a token that was never revoked, a scheduled job that runs code, or a bundle that was installed outside your normal release process. This guide walks through where to look in Adobe Experience Manager (AEM) and how to clean up safely.

How much you can inspect yourself depends on how AEM is hosted, so start there.

Know which hosting model you are checking

AEM runs in two main ways, and the audit differs for each.

  • AEM as a Cloud Service: Adobe applies updates continuously. Code reaches the environments through a Cloud Manager pipeline from a Git repository, so the repository and the pipeline history are your source of truth for custom code.
  • On-premise or Adobe Managed Services: the customer or a partner installs service packs and security fixes. Here the running instance can drift from source control, so the live repository needs a closer look.

Either way, AEM is Java-based. A backdoor will not look like a PHP file in a web root. It will look like an OSGi bundle, a Sling servlet, a content package, a workflow step, a user, or a changed dispatcher rule.

Before you change anything

Preserve evidence first, then act. A short sequence keeps you from destroying the trail.

  1. Record who has administrative access to the instance, to Cloud Manager and to the Git repository.
  2. Export logs from the author and publish tiers and from the dispatcher, and keep a copy off the server.
  3. Take a content package backup or a snapshot where your hosting arrangement allows it.
  4. Decide whether the site should stay live. If you suspect active misuse, restricting author access to a known network is a sensible holding step.

Review accounts and permissions

Unknown administrators are the most common sign of unauthorised access, so check people before code.

On the author instance, open the Security tools under Tools and review users and groups. Look for accounts you did not create, accounts with generic names, and members of powerful groups such as administrators. Compare the list against your staff and partner roster.

Also review the groups that grant write access to the repository, and any service users created for integrations. A service user with broad permissions and no owner is a risk even if nothing malicious has happened yet.

On Cloud Service, people sign in through Adobe identities, and product access is managed in the Adobe Admin Console. Review who holds the product profiles that grant author or administrator rights, and remove people who have left.

Review tokens, keys and connected apps

Credentials that never expire are the quiet backdoors. Check each place a credential can live.

  • Integration and service credentials: on Cloud Service, the Developer Console lists integrations and their credentials. Revoke any you cannot tie to a current project.
  • Replication agents: in the replication configuration, confirm that each agent points to a host you recognise and uses credentials you know about. An extra agent can copy content to a destination you do not control.
  • Cloud configurations and OSGi settings: third-party service keys, SMTP or mail credentials, and outbound connection settings are often stored in configuration. Search for values you cannot explain.
  • Environment variables and secrets in Cloud Manager: check who can read and change them, and when they were last rotated.

Anything whose owner you cannot identify should be treated as untrusted and replaced, not just disabled.

Look for scheduled tasks, workflows and outbound calls

AEM can run code on a timer or in response to events, which makes it a good hiding place.

Check the following:

  • Sling scheduled jobs and OSGi services that register schedulers, visible through the Web Console on instances where you have access.
  • Workflow models and launchers. A launcher that fires on every content change and triggers an unfamiliar workflow step deserves scrutiny.
  • Event handlers and listeners registered by bundles you do not recognise.
  • Any outbound HTTP calls from custom code to hosts outside your known services.

Compare what you find against your documented architecture. If a job exists and nobody can say what it does, find out before you delete it, then remove it through your normal release process.

Verify custom code and modified files

On Cloud Service, compare the deployed code against the Git repository and the Cloud Manager pipeline history. Production code is meant to arrive through the pipeline, so anything else is a finding. Cloud Manager also runs code quality checks during a pipeline, which helps catch risky patterns in new changes, though it does not replace a review of existing code.

On-premise and Managed Services instances need a broader comparison:

  1. List the installed OSGi bundles in the Web Console and compare them with your build output. Unknown bundles, or known bundles whose contents differ, need investigation.
  2. Open the Package Manager and review installed content packages, who uploaded them and when.
  3. Inspect the application and configuration folders in the repository for components, servlets and configurations that are absent from source control.
  4. Review the dispatcher configuration, including filter rules and cache rules. A single permissive filter can expose administrative paths to the public internet.

Confirm that administrative interfaces such as the Web Console and the repository editor are not reachable from the public publish tier. Your dispatcher filters should deny them by default.

Remove, rotate and harden

Once you have a list of findings, clean up in an order that closes the door before you tidy the room.

  1. Disable or delete unknown users, then change passwords for every account that remains privileged.
  2. Revoke and reissue integration credentials, replication agent credentials and any third-party keys stored in configuration.
  3. Remove unauthorised bundles, packages and scheduled jobs, ideally by redeploying a clean build rather than hand-editing a live instance.
  4. Apply the latest security fixes available for your deployment. Adobe publishes security bulletins and the matching fixes on its security page, and on-premise teams must install them themselves.
  5. Restrict administrative paths at the dispatcher and enforce multi-factor sign-in through your identity provider where it is supported.
  6. Keep monitoring logs for the same indicators for a while after cleanup, since an attacker may retry.

If you cannot explain how someone got in, treat the instance as untrusted until you can. On Cloud Service you can rebuild an environment from a clean repository. On self-managed hosting, restoring from a backup taken before the first sign of trouble is often safer than patching a compromised system.

For reference, Adobe’s security bulletins are at helpx.adobe.com/security, and product documentation is on Experience League. For general web risk categories, see the OWASP Top Ten.

Frequently asked questions

Is AEM as a Cloud Service safer to audit than a self-managed install?

It is easier to audit in one respect. Code arrives through a pipeline from a Git repository, so you can compare what is running with what was approved. You still need to review users, integrations and secrets, because those sit with you.

Who should install security fixes?

On Cloud Service, Adobe applies platform updates. On on-premise and Adobe Managed Services setups, the customer or the partner installs service packs and security fixes, so someone on your side must own that task and track Adobe’s bulletins.

Should I delete a suspicious bundle straight away?

Save a copy for analysis and note when and how it appeared, then remove it. Deleting first can make it harder to learn how it was installed and which credentials were exposed.

We use essential cookies to make this site work and remember your preferences. We do not use advertising or analytics cookies. Privacy Policy. Cookie Policy.