Open edX penetration testing scope

A practical scope for penetration testing a self-hosted Open edX site, covering the LMS, Studio, MFEs, APIs, Django admin, XBlocks, LTI launches, storage and the Tutor host, with rules for testing in production.

On this page

Open edX penetration testing scope: what to include before you hire a tester

If you run a self-hosted Open edX site and need a penetration test for a security review, a customer audit or a planned release, the scope must cover every service a learner or administrator can reach, not just the public login page. In practice that means the LMS, Studio, the micro-frontends, the APIs, the Django admin interfaces, the plugins you have added, the LTI launch paths, the object storage behind course assets, and the host that runs Tutor. Write the scope list down before you approach a tester, because the tester will price and plan against whatever you put on it.

The attack surface is wide because of how the platform is built. The edx-platform repository describes a modular monolith with independently deployable applications and React-based micro-frontends, and it delivers two core services: Studio (CMS) for course authors and the LMS for learners. Both run on Django, and both expose their own admin interface at /admin/. A Tutor deployment adds Docker containers, a reverse proxy, a database, a cache, and optionally Kubernetes. Each layer has its own authentication, configuration and exposure, so a finding in one layer can matter for another. Ask the tester to map every hostname and container in the deployment before testing starts, and confirm which of them are reachable from the internet and which are internal only.

Baseline the test against the release you actually run, and confirm that release with the vendor documentation. The Open edX release notes state that the latest named release is the only supported release and that the project cannot support more than one at a time. Verawood is the current named release, so a site on an older release has known gaps that the community no longer patches. A tester who is told the version in advance can check the advisories that apply to it. Record the exact edx-platform and Tutor versions in the scope document, and note any custom patches or forks, since those are the code paths least likely to match public advisories.

The platform is licensed under the GNU Affero General Public License version 3, which matters in two ways for scoping. First, you may test your own deployment and share the findings internally, but any code changes you make to edx-platform can carry source-availability obligations if you offer the modified software to users over a network, so involve counsel before you expose a modified fork to a third party. Second, the tester will need your written permission to test each hostname, and that permission should name the production or staging environments explicitly. Confirm with your tester whether production testing is in scope, which accounts they will use, and how they will avoid creating or deleting real learner records.

Which Open edX components belong in the penetration test scope

A penetration test of Open edX is only as useful as its boundary. The components below are the surfaces where learner data, staff authority and course content meet, so each one should be named explicitly in the statement of work. Test them as connected paths, since a weakness in an SSO callback or a plugin often matters more than a single page.

LMS learner surface

The LMS serves enrollment, course delivery, grades, profiles and account pages to learners, and it is the most exposed surface on the platform. Test authentication flows, session handling, enrollment and access checks for gated content, and whether one learner can reach another learner's data by changing identifiers in URLs or API calls. Include password reset and account recovery, since these are common entry points.

Studio authoring

Studio is where course teams build content, and it carries staff permissions that can change what learners see. Test role boundaries between course creators, course staff and global staff, and confirm that a user in one course cannot edit another course. Check import and export of course archives, since uploaded content is a common path for unsafe input.

MFEs and backing APIs

Micro-frontends call REST and JSON APIs that the browser uses directly, so each endpoint needs the same authorization review as the page that uses it. Map which APIs the MFEs call, then test object-level access, cross-origin settings, token scope and error responses that leak internal detail. Confirm which APIs are public by design and which should require authentication.

Django admin on LMS and Studio

Both domains expose a Django admin interface at /admin/, which gives direct access to user, enrollment and configuration records. Include both instances in scope, confirm whether they are reachable from the public internet, and test which accounts can log in and what staff and superuser flags allow. Review whether admin sign-in goes through the same SSO path as other users.

XBlocks and installed plugins

Custom XBlocks and Tutor plugins run code inside the platform, so they can carry flaws that the core project never saw. Inventory every installed block, plugin and Django app with its version and source, then test any that accept user input, render HTML or call external services. Ask the team which plugins they forked, since patched forks often fall outside upstream security fixes.

LTI launches and object storage

LTI launches pass signed identity and context data between Open edX and external tools, so test signature verification, nonce handling and whether launch parameters can be replayed or tampered with. Object storage holds course assets and uploads, so check bucket access policy, whether files are publicly readable by default, and whether signed URLs expire. Confirm which external tools are approved for each course.

Tutor host and container runtime

The Tutor host runs the containers, reverse proxy, environment files and generated secrets that the rest of the platform depends on. Test exposed ports, container privileges, host access to the Docker socket, and whether configuration and secret files are readable by unintended users. Confirm the Tutor and Open edX versions in use, because the operating system and container images need the same patch review as the application.

How the Open edX trust boundaries map to test targets

The diagram starts with learner and staff browsers entering through the reverse proxy, which fans out to the LMS, Studio and the MFEs with their APIs. Each of those applications shares a trust boundary with the data stores behind it: MySQL, MongoDB and Memcached or Redis, plus object storage for uploads. Sign-in crosses into the identity provider, and LTI launches cross from external tool consumers into the LMS. Check each crossing for authentication, authorization and data exposure, because a finding at a boundary often matters more than one inside a single component.

Test targets sit on the edge, in the application tier, and at the data and identity boundaries.

How scope changes for LMS, Studio and identity-integrated sites

A learner-facing catalog and course site is mostly an LMS exercise. Testing centers on public and authenticated learner paths: course discovery, enrollment, the learner dashboard, progress and certificate pages, and the APIs behind the React micro-frontends. Studio is usually out of scope on this kind of site only if it is reachable from a separate, restricted network. Confirm that first, because a Studio domain that resolves from the internet belongs in scope regardless of how little authors use it.

  • Enrollment and commerce paths: Test enrollment, unenrollment and any paid-course flow for access control errors, such as reading another learner's enrollment or certificate by changing an identifier.
  • Public versus authenticated endpoints: Map which API routes return data without a session and confirm that none expose learner records, grades or email addresses.
  • Account recovery and registration: Include password reset, email verification and registration abuse, since these are the most common entry points on public learner sites.
  • Django admin reachability: Check whether /admin/ is reachable on the LMS domain from the internet and record the answer, even if the site is otherwise a catalog.
  • Rate limits and enumeration: Test login, reset and registration responses for account enumeration and absent throttling.

Before testing, ask your platform team to confirm which hostnames are public, which APIs are unauthenticated by design, and whether Studio is network-restricted.

Testing approaches and when each fits an Open edX site

This table compares four ways to test an Open edX site: external black-box, authenticated grey-box, white-box review of configuration and custom code, and internal host assessment. Read each row against your own risk picture, since most sites need more than one approach to cover the LMS, Studio, plugins and the Tutor host together.

ApproachWhat it finds wellWhat it missesWhen it fits
Black-box external testingExposed LMS and Studio endpoints, weak TLS, default admin paths such as /admin/ reachable from the internet, and misconfigured object storage URLsRole-based flaws between learner and staff accounts, XBlock and plugin logic behind login, and secrets stored on the hostConfirming what an outsider sees before launch or after a change to DNS, proxies or ingress
Authenticated grey-box testingBroken access control between learners, course staff and global staff, insecure direct object references in course and enrollment APIs, and LTI launch handlingProblems in code paths no test account reaches, and host-level weaknesses such as file permissions on config filesMost LMS and Studio assessments, especially where several course team roles and SSO sign-in flows exist
White-box review of Tutor configuration and custom codeGenerated secrets in config.yml, debug settings left enabled, custom XBlock and plugin code, and hooks that alter settings or templatesRuntime behavior that depends on data, network position or third-party identity providersSites with custom XBlocks, Tutor plugins or forked MFEs where the code and configuration are available to the tester
Internal assessment of the Tutor hostContainer and host privilege, exposed Docker or Kubernetes APIs, backup handling, and access paths from the workstation networkApplication logic flaws visible only through the web interfaceSelf-hosted sites where the operator controls the servers and a compromise of the host would expose learner data

How to test a live Open edX site without harming learners

Treat a live Open edX site as a production system with real learners, grades and certificates, and agree the testing rules in writing before any tester sends a request. The site owner should sign off on the testing window, the source addresses and accounts the testers will use, the request rate ceilings for the LMS, Studio, MFEs and API endpoints, and the specific actions that are off limits. Rate limits matter more on Open edX than on many sites because a single crawl of course pages can load the web workers, the database and the shared cache at once. Ask the tester to state the request rate they plan to use, and confirm that the load balancer and any API gateway in front of the site will not block the test traffic in a way that hides real findings or triggers alerts nobody is watching.

Use dedicated test organizations, test courses and test accounts created for the engagement, never real learner records, and never probe with credentials taken from production users. Prohibit mass enrollment, bulk emails to real learners, course deletion, certificate issuance outside the test set and changes to the Django admin on the LMS and Studio domains unless the owner has approved a named change. Tell the Celery operations team and the mail team when the window opens, because enrollment, grading and email tasks can queue up or send unexpected messages during fuzzing. Ask for a rollback and backup plan before testing starts: a recent database backup of MySQL and MongoDB, a tested restore procedure, the Tutor project configuration and the object storage state, plus a named person who can stop the test. Confirm these steps with your own operations team, since the backup tooling depends on how your Tutor host is set up.

For most organizations the better first target is an isolated staging copy built with Tutor from the same configuration as production, with anonymized or synthetic data. A staging copy lets testers run destructive checks, such as account takeover attempts and admin path brute forcing, without risk to learners. It also lets you confirm that the findings reproduce after the fix. Production testing should still be limited to a short list of checks that cannot be fully reproduced elsewhere, such as edge caching behavior and real identity provider flows, and it requires written approval from the site owner for each window. Ask the testing provider to show how the staging copy differs from production, because gaps in secrets, identity provider settings or plugins can make results misleading.

How to write and approve the Open edX pen test scope

This sequence turns an Open edX site into a written, approved test scope that names every surface, role and rule before any tester sends a request. Each step ends with a record that the client and the tester can both check.

  1. Inventory the Tutor deployment and release

    The client's platform or infrastructure owner records how the site is deployed, including the Tutor version, the Open edX release it runs, the hosting model (single server or Kubernetes), and any custom images. Open edX states that the latest named release is the only supported release, so the first check is whether the running release matches that supported release. If it does not, the scope should say so, because findings on an unsupported release may need a different remediation path. Done when the inventory names the release and the deployment method, and the owner has confirmed both against the running environment rather than the documentation.

  2. List domains and public endpoints

    Build a list of every hostname and path that answers traffic for the platform. For a typical Open edX site this includes the LMS, Studio, the micro-frontends, the Django admin paths on the LMS and Studio domains, API endpoints, the preview domain, and any marketing or certificate domains. Include DNS records that point to the platform and any staging or legacy hosts still reachable from the internet. Check the list against the load balancer and reverse proxy configuration, since some hostnames exist only there. Done when the owner signs off a single table of hostnames, paths and their purpose, with unknown hosts either added or explicitly excluded.

  3. Define authenticated roles to test

    Name each account type the tester should be given, such as anonymous visitor, enrolled learner, course staff, course team with Studio access, platform staff, and a site administrator. For each role, record how it is created, which courses or organizations it touches, and whether it signs in through local passwords or through a delegated identity provider. Testers need at least one account per role to check access control between them. Confirm that test accounts are separate from production users and that their credentials are handled under the agreed rules. Done when the role matrix is complete and the client has created or approved each test account.

  4. List XBlocks, plugins and custom code

    Record every installed XBlock, Django app plugin, Tutor plugin, custom micro-frontend, theme and LTI tool that runs on the platform, with its source and version. Compare the list with the Tutor configuration and the built images, because plugins are sometimes installed in an image but not listed in the project. Mark which items the client wrote, which come from third parties, and which are unmaintained. Custom code usually carries the most unreviewed input handling, so it often needs its own test items. Done when the list matches what is actually running in the images, and the owner has confirmed the source of each item.

  5. Agree rules of engagement and exclusions

    Write down what the tester may do, what it may not do, and which systems sit outside the scope. Third-party systems need explicit treatment: the client can test its own sign-in configuration, but the identity provider, payment processor, email relay, and object storage vendor usually belong to those vendors and need their own permission or must stay excluded. Record the testing techniques allowed on production, such as whether denial-of-service and data modification are excluded, and how test data will be created and removed. Name an escalation contact for critical findings. Done when both parties sign the rules of engagement, and every third-party system is listed as in scope, out of scope, or pending written approval from its owner.

  6. Set test windows and safe production limits

    Agree the dates and time windows in which testing may run, and whether production learners will be affected. Confirm that a non-production copy exists, is current, and runs the same release and plugins, since that copy is often the safer place for intrusive tests. Document monitoring during testing so the operations team can tell test traffic from an incident, and agree how to pause testing. Any timeline should come from the client's own change calendar and the tester's written plan, not from assumptions. Done when the windows, the environment used for each test type, and the pause procedure are written into the scope and the operations lead has acknowledged them.

  7. Confirm the retest and sign-off process

    Define how findings are reported, how severity is assigned, who owns each fix, and how the tester verifies that a fix works. Agree whether the retest covers only critical and high findings or the full list, and whether it runs against the same environment. Record who has authority to accept a risk instead of fixing it. Because security patches reach operators through the Open edX release process, the fix plan should state which release and Tutor version each remediation targets. Done when the approver has signed the scope document, the retest terms are attached, and the owner has a named contact for each finding category.

Security and operational risks to plan around during testing

Penetration testing against a live Open edX platform can disturb learners, corrupt reports and expose the secrets it is meant to protect. The cards below cover the risks that recur across LMS, Studio, MFE and host testing, and the handling steps that keep the test useful and contained.

Test traffic on shared caches and workers

Open edX multi-node deployments rely on a shared Django cache backend such as Redis or Memcached, and Celery workers handle background jobs for many learners at once. Load-heavy or malformed requests from a test can evict cache entries, fill queues or slow grading for real users. Agree rate limits, test windows and a stop condition with the platform owner, and confirm which cache and worker pools the test can reach before it starts.

Test data leaking into reports

Testers working against a live site will see real learner names, emails, grades and course content while they probe endpoints. Those values can end up in screenshots, proof-of-concept scripts and tickets that travel far beyond the engagement. Ask for synthetic learner accounts and seeded courses where possible, redact captured responses at the point of collection, and set a rule that report evidence contains the minimum personal data needed to reproduce a finding.

Insecure storage of test account credentials

Penetration tests on Open edX need accounts for each role, including learner, course team, instructor, staff and Django admin users. If those credentials are passed around in chat, email or unencrypted spreadsheets, the test itself becomes an exposure. Issue test accounts with unique passwords, store them in the client's secret manager or an approved vault, set an expiry date, and disable every test account when the engagement closes.

Findings that expose Tutor secrets

Tutor generates passwords and keys into config.yml and the project root, and a single exposed file can give an attacker database, SSO or secret key material. A test that reads server files, error pages or misconfigured paths may surface those values in its output. Set an instruction that testers stop and report immediately on any secret, do not copy it into notes, and route the finding to the client for rotation under their own change process.

Keeping test artifacts under client control

Scan outputs, captured traffic, screenshots, exploit scripts and the test notes are themselves sensitive, since they map the platform's weaknesses. Agree in writing where artifacts are stored, who can access them, how long they are kept and how they are destroyed. Deliver the report and evidence into a client-controlled repository, and confirm that the tester's own working copies are removed at the agreed end date.

Open edX penetration testing cost, time and what you must provide

What drives the cost of an Open edX penetration test?

The cost follows the size of the written scope, mainly the number of user roles to test, the volume of custom code, and the number of integrations in play. A stock Tutor site with a few roles and no custom XBlocks or plugins is a smaller job than a multi-site platform with custom micro-frontends, LTI tools, SAML or OAuth2 sign-in, and object storage to examine. Each additional role (learner, instructor, course team, staff, admin) needs its own authorization tests, and each custom plugin or XBlock needs code review as well as runtime testing. Ask any provider for a quote that lists the in-scope components, the roles, the environments, and whether source code review is included. DeployOpen agrees scope, deliverables and timelines in writing before work starts, and provides a quote from that scope.

How long does an Open edX penetration test take?

Duration is set by the same factors as cost: the number of components, roles, custom code and integrations, plus how quickly access and documentation arrive. Testing time is only part of the calendar. Time also goes to scoping calls, environment access setup, test account creation, and the findings report, and a retest after fixes adds a further cycle. Ask for the timeline as a written part of the scope, with dependencies named, such as when test accounts and a staging copy will be available. No duration figure is given here because none has been researched for this work.

Can our own team run the penetration test on Open edX?

Your team can run internal security testing, and many do, but the case for an independent tester is that the people who built or operate the platform tend to test the assumptions they already hold. Internal staff are well placed for configuration review, patch-level checks and reviewing their own role model. An external tester brings a separate view of authorization gaps, injection paths and misconfigured admin access. If you test internally, document the method, keep the findings and fixes in a tracked register, and consider an independent review for the highest-risk components. DeployOpen runs security testing for web applications, APIs, cloud and infrastructure, and can scope the work with your team rather than replacing it.

What access and documentation does the tester need for Open edX?

The tester needs enough access to reproduce what a real user or attacker could do, and no more than the agreed scope requires. Typical inputs are a staging or agreed test environment, one test account per role, a current Tutor project or configuration with secrets handled through a secure channel, a list of custom XBlocks, plugins, themes and micro-frontends with their repositories, the integration map (SSO, LTI, object storage, analytics, payments), and the network diagram showing which hosts and admin paths are reachable. Ask the provider how credentials will be shared and deleted after the test. Do not send live passwords by email. Confirm the Django admin reachability and Tutor host details with your own operations team before the first test window.

Is it advisable to penetration test a production Open edX site?

Testing a production site is possible but carries risk, so it should be a deliberate decision rather than a default. Active tests such as fuzzing, brute force attempts, account lockouts or heavy crawling can disrupt learners, corrupt course data, or trigger email and enrolment side effects. A common approach is to test a staging copy built from the same Tutor configuration and plugins, then run a limited, agreed set of read-only or low-impact checks against production during a defined window with a rollback plan and a named contact. Confirm backup status before any test, and agree in writing which actions are excluded, such as payment flows or bulk account changes.

How is a retest scoped after an Open edX penetration test?

A retest checks whether the reported findings are fixed and whether the fixes introduced new problems. It is normally scoped to the findings in the report, plus a limited regression pass on the code and configuration that changed. Scope it in writing before the first test: name the findings included, the environment used, whether new fixes arrive as Tutor configuration changes, plugin releases or upgrades, and whether a retest report will be issued. A retest should not be treated as a new full test unless the platform changed substantially. DeployOpen includes retesting as part of its security testing work where agreed in the written scope.

Does a penetration test count as a compliance audit for Open edX?

No. A penetration test is a technical test that finds exploitable weaknesses at a point in time. It is not an audit, an attestation or a certification. Compliance assessments are performed by independent auditors or certification bodies, who may use penetration test results as evidence of control testing but decide for themselves what is sufficient. DeployOpen tests security and prepares systems, controls and evidence for compliance assessments, but does not issue audit reports, attestations or certifications. Ask your auditor which evidence they accept and in what format before you commission the test.

How DeployOpen scopes and delivers Open edX security testing

Every Open edX penetration test starts with a written scope agreed before any testing begins. DeployOpen lists each target by name: the LMS and Studio domains, the MFEs and their API endpoints, the Django admin interfaces at /admin/ on each domain, the LTI provider and consumer paths, the object storage buckets used for course assets, and the Tutor host or Kubernetes cluster that runs the stack. Each item carries its owner, its environment (staging, production or a copy of production), and the account types the testers will use. The scope also states what is excluded, such as third-party identity providers that the client does not control or XBlocks and plugins the client did not ask to be reviewed. Rules of engagement cover testing windows, rate limits, who is notified when a finding is confirmed, and what happens if a test degrades learner access. Ask for the rules in writing and confirm who on your side can stop a test.

Test accounts are set up with the client before the work starts. DeployOpen normally asks for learner, course staff, course creator and platform staff accounts, with the Django staff and superuser flags documented per account, so that both unauthenticated and privileged paths are exercised. Credentials are shared through the client's secret handling process, not by email, and are revoked at the end of the engagement. The deliverable is a findings report that rates each issue, gives a reproduction path, and proposes a fix that fits the Tutor configuration or code the client runs. A retest of the confirmed findings follows once fixes are deployed, and the report records which items are closed. DeployOpen runs security testing and prepares evidence for compliance assessments, but it does not issue audit reports, attestations or certifications. Where an auditor needs a formal opinion, the client engages that body separately. Ongoing testing after go-live can be arranged as a retainer, with the scope reviewed as new named releases and plugins are added. Confirm the retainer terms and retest allowance in the quote.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.