Penetration testing an openDesk deployment

Penetration testing a self-hosted openDesk covers login, each web application, federation, mail flows and Kubernetes policy. This page shows how to scope the test, what drives its cost and effort, and how fixes are coordinated with ZenDiS and component suppliers.

On this page

When penetration testing an openDesk deployment is worth commissioning

Commission a penetration test before a self-hosted openDesk goes into production, after a major upgrade, or after you change federation or network policy. The test should cover the Nubus and Keycloak login, each bundled web application, the federation and mail flows, and the Kubernetes and network controls openDesk expects. openDesk bundles Element, Nextcloud, OX App Suite, XWiki, OpenProject, CryptPad, Jitsi and Collabora, and each adds its own login handling, file handling, APIs and administrative interfaces. DeployOpen tests applications, APIs, cloud and infrastructure, but it does not issue audit reports or certifications. Those come from independent auditors and certification bodies, so the test output is evidence for them to review.

Each trigger changes what the test should examine. Before go-live, confirm whether you run the Community Edition, which ZenDiS supports only through the community on openCode with no SLA, or the Enterprise Edition, which ZenDiS recommends for production and which adds closed-source modules such as the Guard app for Nextcloud and Element AdminBot. Those modules are in scope only if you enable them, so list them in the statement of work. After an upgrade, remember that only the latest minor version is supported and that in-place upgrades between majors are not guaranteed, so test the release you actually run. When federation changes, test whether users from your external OIDC identity provider match the intended Keycloak account by username or by an attribute such as mailPrimaryAddress, because a mismatch can give one person another person's access.

Ask the provider to confirm three things in writing before you sign. First, which release and edition the test targets, and whether the tested images match your production images by tag and digest. Second, which Kubernetes and ingress assumptions apply, since openDesk supports haproxy-ingress and the deprecated Ingress nginx, and whether the services you run yourself, such as PostgreSQL 15, MariaDB 10, Redis 7, the SMTP relay and ClamAV over ICAP, are in scope. Third, how fixes are routed. Findings in a bundled component may need coordination with ZenDiS or the component supplier, so agree in advance who fixes what and who performs the retest once fixes are in place.

Which openDesk surfaces a penetration test should cover

A typical openDesk deployment has six surfaces, and they connect through identity, mail and the cluster, so a flaw in one often shows up in another. List which surfaces your team runs itself and which the tester must reach through staging access before the scope is agreed in writing.

Portal and Keycloak login

The portal and the Keycloak-based login that Nubus provides are the front door for every user and the first target for credential attacks. Testers examine the sign-in flow, session lifetimes, password and two-factor handling, and whether disabled accounts lose access to every application. The client provides test accounts for each role, a staging DNS name for the portal, and an administrator who can disable a test account during the test.

Each bundled web application

Element, Nextcloud, OX App Suite, XWiki, OpenProject, CryptPad, Notes, Collabora and Jitsi each handle their own sessions, sharing and uploads, so each application is a separate target. Testers check access control between users and groups, sharing links, file upload paths and editor input handling. The client provides test users in at least two groups and a staging DNS record per application. Enterprise-only components such as the Guard app and Admin Console are in scope only if the deployment includes them.

External OIDC federation

openDesk can federate sign-in with your existing OIDC identity provider, matching users by username or another attribute such as mailPrimaryAddress. Testers check how attribute matching behaves when two accounts share a value, whether a user removed upstream keeps a session in openDesk, and whether redirect and token handling resist manipulation. The client provides an OIDC test client on the identity provider, redirect URIs for the staging portal, and test users with the attribute values to be matched.

Federation guide

Mail flows through OX, Dovecot and Postfix

Mail touches more components than any other flow in openDesk, moving from OX App Suite through Dovecot for mailbox access and Postfix for submission and delivery. Testers examine authenticated submission, relay restrictions, sender spoofing and header injection, mailbox access over IMAP and the web client, and how attachments reach the malware scanning path. The client provides test mailboxes on a staging mail domain, DNS access to publish test records, and a confirmed relay target so test messages never reach external recipients.

Kubernetes and network policy checks

openDesk runs on Kubernetes, so the cluster and its network policies are part of the attack surface. Testers verify that pods run under the restricted Pod Security Standards profile, that network policies block traffic between components with no need to reach each other, and that service account tokens are mounted only where a workload needs them. The client provides a staging cluster on Kubernetes v1.33 or later, read access to the openDesk namespaces, and a role that can list network policies and pod specifications.

Supply chain of charts and images

openDesk signs and validates most Helm charts against GPG keys, pins every container image by tag and digest, and signs the images it builds with cosign. Testers confirm that deployed charts verify, that running images match their pinned digests, and that cosign signatures check against the published key. Charts the project does not verify, and images pulled from mirrors, go into the findings log with their provenance noted. The client provides the Helmfile repository at the deployed release and the image list taken from the running cluster.

Security documentation

Test approaches for openDesk and when each fits

This table compares four ways to test an openDesk deployment by what each finds, what it needs from your team and when it fits. Read each row against the scope you agreed, since external exposure, role-based access, cluster configuration and identity federation are each covered by a different approach. Combining approaches covers more of the scope, and two decisions stay with the client: whether the tester gets cluster access, and whether test accounts mirror production roles and data.

ApproachWhat it findsWhat it needs from the clientWhen it fits
Black-box testing from outside the networkExposed portal, login and web application behavior as an outside attacker sees it, including TLS settings, authentication flows, input handling and any administrative paths that answer from the internetAgreed external scope and target hostnames, written authorization, an allowed source address through any filtering, and a named contact who can stop the testEarly scoping, or when the main question is what an internet-facing attacker can reach. It gives little view of roles or in-cluster paths.
Authenticated testing with one account per openDesk roleAuthorization gaps between roles inside each application, such as data visible to the wrong role, actions a role should not reach and object-level checks that are missingOne test account per openDesk role in a production-like identity setup, with logins through the portal and Keycloak, and a written list of the permissions each role should haveMost engagements need this approach. It fits when the concern is who can see or change what across Nextcloud, OX App Suite, OpenProject, XWiki and Element.
Cluster-aware review with read access to manifests, network policies and running configurationWeak pod security contexts, overly broad network policies, secrets in manifests, unpinned images and drift between the rendered manifests and the running configurationRead access to the Helmfile environment values, rendered manifests, network policy objects and running configuration in the openDesk namespaces, ideally through a read-only kubeconfigIt fits when you need evidence for Kubernetes hardening or segmentation, or when an assessor will ask about pod security and network policies. It does not test application logic.
Federation testing against a staging identity providerTrust and mapping flaws between your identity provider and the Keycloak-based openDesk IdP, including claim handling, account matching by username or attribute, session and logout behavior, and whether accounts disabled upstream keep accessA staging identity provider configured for OIDC federation, test users with known attributes, and agreement that federation changes are made only in stagingIt fits before federation goes live or when the matching attribute changes. Testing against production users risks changing real accounts, so a staging copy is the usual starting point.

How the parts of openDesk connect and where the test boundary sits

The diagram starts at a browser on the client network and follows each request through the ingress controller into the openDesk namespace, where the Nubus portal and Keycloak handle sign-in for the bundled applications. The key hand-offs leave the cluster: OIDC federation to the organization's own identity provider, mail relay through the SMTP relay, and file scanning through ClamAV over ICAP. PostgreSQL, MariaDB, Redis and object storage appear as external services the client operates. Edges marked in scope form the core test. Confirm the federation, mail and ClamAV edges in writing before testing them, since those systems may belong to other parties.

Traffic paths into the openDesk namespace, with test scope on each edge.

How to run a penetration test on openDesk without breaking mail or federation

This sequence lets a test team assess an openDesk deployment in a staging copy of production, using written scope, test identities and a mail path that cannot reach staff. It ends with triaged findings, applied fixes and a retest against the same release, so production mail and federation are not disturbed.

  1. Sign rules of engagement and scope

    Write the rules of engagement and scope before any test traffic is sent. List each in-scope item: the portal, the Keycloak login, each web application, federation and mail flows, and Kubernetes and network policy checks. Agree in writing the testers, permitted hosts and domains, out-of-bounds actions, the severity scale for findings, the client contact for incidents, and how fixes will be routed to ZenDiS or component suppliers. Done when both parties have signed the document and its host list matches the deployment's ingress records.

  2. Confirm the running release is current

    Compare the deployed openDesk version with the latest entry on the openDesk releases page. Only the latest minor version is supported, and a finding against an older minor version may already be fixed in the current one, so an upgrade may need to come first. Record the release tag, chart versions and image tags in the test plan, and check any skipped minor versions against the release management notes for required intermediate steps. Done when the test plan names one release tag and the deployment repository shows the same tag.

  3. Verify chart signatures and pinned digests

    Before any test, confirm that the Helm charts in the deployment match their GPG signatures and that each container image is pinned by tag and digest to the release under test. Also verify cosign signatures on images openDesk builds, against the published key. Compare the digests in the running cluster with the deployment files and record any mismatch. A mismatch pauses testing until it is explained. Done when a dated verification log shows every signed chart and image passing, and each unverifiable chart or mirrored upstream image is listed as a known exception in the test plan.

  4. Build staging and test identities

    Stand up a staging deployment that mirrors production: the same release, chart values and ingress, and separate instances of the external PostgreSQL, MariaDB, Redis, object storage, ClamAV and TURN services. Create one test account per role in Nubus, plus a test federation identity in the external identity provider if federation is in scope. Use no production user data. Done when staging passes the same health checks as production and a login with each test account succeeds.

  5. Lock mail to a test domain and relay

    Agree the test mail domain and the SMTP relay the test may use. Point staging at a relay that delivers only to addresses you control, and use a test mail domain that no staff member or customer receives mail at. Send a canary message to a seeded test address and confirm in the relay log that it ended at the sink. Done when the canary log and the signed agreement are on file before any mail test starts.

  6. Agree Keycloak lockout thresholds for login tests

    Agree lockout thresholds for Keycloak login tests with the identity owners before any password or brute-force test runs. Set the thresholds in the staging realm only, and confirm that the production realm's brute-force settings are unchanged and that the test accounts are the only accounts the tests can target. Record the threshold, lockout duration and unlock method in the rules of engagement. Done when a single controlled failed-login sequence against a test account locks it at the recorded threshold and the account unlocks by the recorded method.

  7. Run tests and triage findings by severity

    Run tests in the agreed order: portal and Keycloak login, each web application, federation and mail flows, then Kubernetes and network policy checks. If a test triggers a malware scanner or an alert, stop that test, note the time and affected host, and tell the client's security operations contact before continuing; do not clear a quarantine or silence an alert without written agreement. Grade every finding with the severity scale from the rules of engagement and record reproduction steps and an owner. Done when each finding has a severity, reproduction steps and an owner, and no test traffic has reached a production mailbox or realm.

  8. Fix, retest and confirm the release

    Route each fix to its owner: changes to openDesk configuration go to ZenDiS, defects in bundled components go to the component supplier, and changes to your own overrides go into your deployment repository. Apply fixes in staging, rerun the failed test and the neighboring regression tests, and repeat the digest and signature checks for any changed image or chart. Done when every finding has a retest result tied to a release tag and the closing report lists anything accepted as a known risk.

How fixes get coordinated with ZenDiS and component suppliers

Every finding has an owner, and the owner decides who writes the fix. Sort each one before it is reported. An exposed ingress rule or a missing network policy override set in your own values files is client configuration, so you own the fix and its change record. A problem in openDesk's Helmfile and Helm charts, its pinned image references or its release process belongs to ZenDiS GmbH, which owns the openDesk deployment and release process. A flaw in the application code of Nextcloud, OX App Suite or XWiki belongs to that component's supplier, so the fix travels upstream and reaches you through an openDesk release. Ask the tester to name the owner on every finding and explain why, because a misassigned finding stalls in triage.

A finding that can be acted on has a title, a severity, the affected component and endpoint, numbered reproduction steps, the expected and actual results, and the exact openDesk release and image digests that were tested. The digests matter because openDesk pins every container image by tag and digest, so a fix is only proven against the artifact that carried the bug. Agree in the statement of work who performs triage, who files the upstream report with a component supplier and whether implementation is in scope. Where it is, the tester should retest in a staging cluster running the same release before anything reaches production, and the client keeps the change record for its own audit trail.

Retest closes the loop. When a fix ships in a patch or minor release, the tester repeats the original reproduction steps against the new release and records the digests again. openDesk releases patches on demand and minor versions monthly, and only the latest minor version is supported, so a fix may reach you only after you upgrade. Check the release management guidance before you plan the move, because in-place upgrades between majors are not guaranteed and skipping several minor versions may need intermediate steps. A finding stays open until the retest passes or the client signs a documented risk acceptance.

Enterprise or Community: who answers for a fix

ZenDiS recommends openDesk Enterprise Edition for production. It uses the same open-source core licenses as Community but adds closed-source modules, an Enterprise-only registry and license file, and SLA-backed 2nd and 3rd level support and patches. For a penetration test, this decides who answers for a fix: findings in Enterprise-only components move through that support path, so the report should name the owner of each fix before remediation starts.

  • Nextcloud and Guard: Nextcloud Enterprise security patches and the Guard app are Enterprise-only. A finding in either depends on that patch stream, so the retest must run on the build that stream delivers.
  • Other Enterprise-only features: Collabora branding and automatic load scaling, Element AdminBot, GroupSync and Admin Console, OX S3 storage, advanced full-text search, OpenProject Enterprise add-ons and XWiki Pro apps. Include the ones you run in scope.
  • Support levels: 2nd and 3rd level support are contractual. Ask in writing how a finding in core code escalates from your first contact to the component supplier, and what response commitments the contract states.
  • Delivery model: Enterprise is sold as SaaS or for on-premises installation. On-premises patch installation sits in your change process, so the test should cover the update path you actually use.
  • License and registry: Check that the test environment uses the same Enterprise registry access and license file as production, so the tested build matches what you run.

Before scoping, confirm the license tier, the support contract and which components it covers.

Protecting people, mail and data during the test

Each card covers one way a penetration test can affect people, mail, files or the platform itself. For every card, confirm the named control in writing before the first test request, and treat the list as the minimum for the engagement scope.

Keycloak lockouts hit live users

Password guessing against the Keycloak login counts toward brute-force protection, so repeated test attempts can lock the accounts staff use every day. Use dedicated test accounts that are not synced from your live directory, and agree in writing how long a lockout lasts, who unlocks accounts and when testing pauses. Confirm the lockout threshold and unlock owner before the first login attempt.

Test mail reaches external recipients

Phishing-style and notification tests send mail through the SMTP relay, and the relay delivers to any address it is allowed to reach. Ask for the relay to be pointed at a sink or restricted to test domains for the engagement, and record who approves any exception. Confirm in writing that no test message leaves for addresses outside the agreed list.

Test uploads trigger malware quarantine

File upload tests in Nextcloud and other attachment paths pass through ClamAV over ICAP, so a payload can trigger a detection, a quarantine or an alert to your security operations team. Agree the test file types in advance, confirm which teams receive detections, and ask who restores quarantined files. Confirm the scanner, quarantine owner and alert recipients before uploads begin.

Test data leaks into reports

Testers collect session tokens, test credentials, screenshots and sometimes personal data from mailboxes and files, and those artifacts end up in reports and tickets. Agree where evidence is stored, how it is redacted, who can read it and when it is deleted. Confirm the evidence storage location and deletion date in writing before testing starts.

Debug mode and admin consoles exposed

Debug settings and the Keycloak admin console or storage console can give an attacker, or a tester, far more access than the login flow. Confirm that debug mode is off in the target environment, that admin consoles are reachable only from the administrator network, and who can approve a temporary exception. Confirm that debug mode stays off and console access is restricted before the tester connects.

Test traffic breaks network policies

Scanners and load generators can trigger rate limits, exhaust connection pools or hit a component whose network policy blocks the tester's source address, causing a partial outage. Agree the test window, request rates, source addresses and a rollback owner, and confirm that any policy changes made for the test are reverted afterward. Confirm a stop and rollback procedure in writing before the first scan.

openDesk security docs

What a penetration test of openDesk costs and what drives the effort

What drives the cost and effort of an openDesk penetration test?

The agreed scope drives most of the cost and effort, and the main inputs are the components in scope, the number of authenticated roles, the complexity of any federation, the access the tester gets to the cluster, the number of mail flows, and the number of retest rounds. Each web application in scope adds login, authorization and input testing work, so a deployment with more bundled components takes more time to cover. Federation with an external identity provider adds flows that must be tested from both sides. Cluster access determines whether the tester can check Kubernetes and network policy settings directly or only from outside. Every retest round after fixes adds effort, and fix coordination with ZenDiS or a component supplier can extend the timeline. Ask for a quote that lists each of these inputs separately so you can see what changes the price.

Is a penetration test of openDesk sold as a fixed-scope engagement?

Yes, most engagements are fixed-scope, with the scope, deliverables and timeline agreed in writing before work starts. DeployOpen does not publish a price list, so a quote follows from the written scope. To compare offers, check that the written scope names each component and web application in scope, the authenticated roles, the federation and mail flows, whether cluster and network policy checks are included, and how many retest rounds are covered. Anything left out of the written scope is outside what the quote covers, so ask for the exclusions to be listed as well. Ask what happens if the scope changes during testing, including how new findings or added components are priced and agreed in writing.

How long does a penetration test of openDesk take?

The agreed scope sets the duration, so the length depends on what is written into the engagement, and no standard period applies to every deployment. The main inputs are the same as those that drive cost: the components and web applications in scope, the authenticated roles, the federation and mail flows, cluster access and the number of retest rounds. Ask for the planned start, test window, reporting date and retest window to be written into the agreement. Retests depend on fixes, so ask how fix dates from ZenDiS or a component supplier are tracked and whether the retest window waits for them. Your change freeze, test account readiness and staging availability also shape the calendar, so confirm those dates with your team before signing.

What must our team provide before a penetration test of openDesk begins?

Before testing starts, you provide test accounts, a staging environment, DNS records, cluster access and named contacts. Test accounts should cover each authenticated role in scope, including administrators, and should be created through the same identity path your users use, such as the openDesk IdP or your federated identity provider. The staging environment should run the same release and configuration as production so that findings apply to the system you run. Cluster access needs to be defined in writing, including the read-only or administrative level, the namespaces in scope and who approves each change. Name a technical contact who can answer questions about the deployment, a contact who approves testing windows and an owner who receives findings and decides on fixes. Confirm these lists in the scope document before the test window opens.

Can our own team test openDesk instead of hiring an outside tester?

Yes, your own team can test openDesk, but with limits, and an outside party adds independent review. Internal testing suits routine checks between engagements, such as reviewing login flows, role changes and exposed services on staging. The limits are mainly these: internal staff often share assumptions with the people who built the deployment, may have less time for every component and may lack the cluster privileges an outside tester is given. An independent tester brings a separate view, a documented method and written findings with suggested fixes. Agree the boundaries in writing whichever route you choose, including which environments may be tested and when. DeployOpen's work is delivered inside the client's own cloud accounts, data centers or air-gapped networks, so the test environment stays under your control.

Does a penetration test of openDesk certify our deployment?

No, a penetration test is not a certification, and it does not produce an audit report or attestation. Independent auditors and certification bodies issue those, and DeployOpen does not issue audit reports, attestations or certifications. What a test gives you is evidence about the system as it behaves at test time: the findings, the fixes applied and the retest results. Assessors may ask for that evidence when they review your controls, but they decide what it proves. Ask any provider to state in writing what the report covers and what it does not cover, and keep the test date and scope with your compliance records. Before a framework assessment, check with your assessor which evidence they accept.

Can we keep penetration testing openDesk through a retainer?

Yes, continuous testing is available as a retainer, alongside ongoing support and upgrades. A one-off engagement shows how the deployment looks at one point in time. A retainer keeps testing going as the deployment changes, for example after a new release, a configuration change or a new component. Because openDesk moves between releases, testing after upgrades is a sensible part of the plan. Scope the retainer in writing as well: state which components, roles and flows are retested, how often, how new findings are reported and how fixes are coordinated with ZenDiS or component suppliers. Pricing follows the written scope, and DeployOpen does not publish a price list.

Limits to confirm before you scope the test

Several openDesk limits shape the test before any tool runs: the supported release, the Kubernetes baseline, hardware architecture, the production services you provide and what a report can be used for. Confirm each one in writing so the scope, timeline and retest plan match what the platform supports.

Test the release you run

Only the latest minor version of openDesk is supported, and the project plans minor releases monthly. Scope the test against the exact release your environment will run, and record that version in the statement of work. If you upgrade during or after the engagement, treat the new version as a change that needs a retest of the affected areas, and confirm with ZenDiS which minor version is current when testing starts.

Release management docs

Major version upgrades

In-place upgrades between major versions are not guaranteed, and skipping several minor versions may need intermediate steps. If your test plan includes an upgrade, make it a separate work item with its own baseline, documented steps and rollback plan, and keep it out of the main test window. Ask ZenDiS which upgrade path applies from your current release to the target before you agree the start date.

Kubernetes baseline and tooling

openDesk requires a CNCF-certified Kubernetes cluster at v1.33 or later, along with an ingress controller, cert-manager, an RWO volume provisioner, Helm 3.17.3 or later below v4, and Helmfile 1.0.0 or later. The documented baseline is tested on kubespray clusters, and OpenShift is outside that tested set. If your organization runs another distribution, record it in the scope, check each component version against the requirements, and agree in writing who owns any gap the test uncovers in the platform itself.

Requirements docs

ARM hardware for evaluation

The minimum evaluation deployment needs 12 x64 CPU cores, 32 GB of RAM and more than 10 GB of disk. ARM is not supported yet, so an arm64 node pool cannot host the evaluation. Confirm node architecture before you book capacity. Also confirm whether the test needs an environment closer to production, since the evaluation minimum describes a starting point for trying the platform out.

Client-provided production services

For production, openDesk expects external services, including PostgreSQL 15, MariaDB 10, Redis 7, Memcached, Cassandra, an SMTP relay, ClamAV over ICAP, object storage and a TURN server. The client provides these, so the scope must name which ones are in the target, who owns their configuration and logs, and whether the tester may probe them directly. Agree that list before testing, since an unscoped database or mail relay can change what the report covers.

Test results are not audits

A penetration test report records what testers found in the systems they were allowed to reach, along with evidence and retest results. It is not an audit report, an attestation or a certification, and DeployOpen does not issue any of those. Independent auditors and certification bodies make those decisions. Ask your assessor now which test evidence they will accept, so the scope and report format serve the assessment you face.

How DeployOpen scopes, runs and retests an openDesk penetration test

DeployOpen runs penetration tests of openDesk inside your own infrastructure, against the deployment you operate. Work starts with a written scope that names each application, login path and network control under test. Findings, fixes and retest steps are agreed in writing before testing begins, and ongoing testing can run as a retainer.

How we scope

  • The written scope lists each openDesk web application, the portal and Keycloak login path, and the in-scope hosts.
  • Federation and mail flows are listed separately, with the identity provider and mail relay each test may touch.
  • Confirm in the scope which openDesk release and edition are under test, since upgrades and fixes depend on both.

How we build

  • Testing runs against the deployment inside your cloud accounts, data centers or isolated network.
  • Kubernetes checks cover pod security settings, service accounts and network policies, including paths that should stay blocked.
  • Each finding gets a reproduction, affected component, severity and a suggested fix, logged as the testing progresses.

How we hand over

  • The report documents scope, method, each finding with evidence, and the fix or mitigation proposed for it.
  • Fixes that belong to ZenDiS or a component supplier are routed to them with the reproduction steps attached.
  • Retest of fixed findings is included only if the written scope says so, so confirm it before signing.

How we support

  • Retesting after patches is available as a retainer, with continuous testing of the same scope if you choose.
  • Upgrades between openDesk releases can change the attack surface, so retests should follow the release you run.
  • Ask for the support boundary in writing, including which openDesk edition and which vendor fixes your retainer covers.

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.