Zammad security hardening

Specific hardening tasks for a production Zammad, from 2FA, password and session policy to API tokens, proxies, the search index, external services, auditing and patching.

Enforcing two-factor authentication in Zammad

Rolling out 2FA for Zammad agents and admins: security keys versus authenticator apps, recovery codes, enforcing by role, admin resets for locked-out users, and how 2FA relates to logins through SAML or OIDC.

Zammad password policy and account lockout

Setting password length, complexity and lockout thresholds in Zammad, why admin-set passwords bypass policy, unlocking accounts, LDAP users whose failed logins do not lock, and moving staff to SSO to avoid local passwords.

Zammad session timeouts and session management

Shortening Zammad's 4-week default sessions per role, reviewing and ending active sessions under System, Sessions, GeoIP-based suspicious login alerts, and what session data Zammad stores.

Securing Zammad API access with tokens

Locking down Zammad's REST API: personal access tokens with limited permissions and expiry for integrations, turning off password access, OAuth applications, dedicated service users, and token rotation.

Zammad trusted proxies and client IP detection

Configuring RAILS_TRUSTED_PROXIES so Zammad sees real client addresses behind load balancers and Docker networks, which features depend on it such as rate limiting and session location, and restarts when proxy IPs change.

Protecting Zammad's Elasticsearch index

Keeping the Zammad search index from becoming the leak: network isolation, authentication, read-only accounts for reporting tools, TLS, and treating index snapshots with the same care as the database.

Disabling Zammad's external services for privacy

Deciding which Zammad cloud services to keep: Gravatar-based avatars and logos, GeoCalendar, GeoIP and OpenStreetMap geo location, what data each sends, and the trade-offs of switching them off in a sovereign or air-gapped deployment.

Reviewing the Zammad admin audit log

Using Zammad's read-only audit log for change review: what admin actions, account changes and switch-to-user sessions are recorded, the fixed 12-month retention, the audit log API, and exporting entries for longer retention.

Zammad security updates and patch management

Keeping Zammad patched: following the releases page, parallel security fixes for supported lines, holding Zammad during OS updates, maintenance mode for update windows, and testing updates on a staging copy.

Penetration testing a self-hosted Zammad

Scoping a security test of Zammad: the customer portal, chat widget, web form and knowledge base on the internet side, the REST API and tokens, SSO and 2FA flows, Elasticsearch exposure, and what to fix before a customer security review.

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.