Penetration testing a SuiteCRM instance

Scope a SuiteCRM penetration test around the login, API, upload and legacy entry points, with test accounts per role and a retest after each patch.

On this page

Why a SuiteCRM penetration test needs a defined scope

A penetration test of a self-hosted SuiteCRM 8 instance covers the authenticated and unauthenticated entry points your team controls, run against a staging copy under written rules of engagement. That answer matters because a CRM holding customer records, pipeline data and contact details has many doors: the login page, the API, file upload paths, the admin console, email integrations and any legacy folders carried over from an earlier install. A test that does not name which of these are in scope, which accounts the testers hold and what they may do to the data will either miss the risky paths or disrupt the business. Teams usually need one before go-live, after a migration from SuiteCRM 7 or another CRM, or when a customer questionnaire or regulator asks for independent evidence.

A penetration test is not a vulnerability scan, a code audit or a compliance certificate. A scan reports known patterns automatically, a code review examines the source, and an audit report or attestation is issued by an independent auditor, not by the tester. A penetration test is a time-boxed, manual attempt to chain weaknesses into real impact, such as reading another sales team's records or reaching the admin area from a standard user account. Confirm with the provider whether the output is a findings report with retest, and whether they will issue any statement about the instance. Migration deserves particular attention, because the SuiteCRM migration documentation warns that moving from version 7 may remove non-core files under the public/legacy folder, and customizations need review. Treat those leftovers as in scope from the start.

Before the test starts, agree the boundaries in writing: target hostnames, the staging copy and its refresh date, which role accounts the testers will receive, whether SSO and two-factor flows are included, permitted test volumes, and a contact for stopping the test. Ask the provider to explain how they will keep test data separate from real customer records. Plan the retest window now as well, since fixes to SuiteCRM will need to be verified after patches land, and the scope should say which findings will be retested and by when.

Black-box, grey-box and authenticated testing compared

A black-box test starts with no credentials and no internal knowledge beyond the public address of the instance. The tester sees what an outside attacker sees: the login page, the public API surface, any upload form reachable without authentication and any legacy entry point that answers requests. This approach is useful for confirming that nothing sensitive is exposed to the internet and that the perimeter, reverse proxy and trusted host handling behave as intended. It gives limited evidence about what a logged-in user can reach, so it rarely covers the authorization flaws that matter most in a CRM with many roles.

  • Effort: Setup is light because no accounts are created, but the tester spends more time on discovery and on working out which paths exist.
  • Evidence: Findings tend to be exposure issues, such as reachable admin paths, verbose errors or unauthenticated endpoints.
  • Coverage gaps: Module-level access, record ownership and workflow actions behind login are largely untested.
  • Fit: Suitable as a periodic external check or as a first step before a fuller test.
  • Ask the provider: Which paths will be tested without login, and how will the tester confirm that legacy entry points were found.

Before accepting a black-box scope, check that the internet-facing surface is inventoried and that someone on your team will answer questions about what counts as in scope.

Scope options and when each fits

This table compares common scope options for a SuiteCRM penetration test, with what each covers, what you provide and when it fits. Read it to match the boundary to the risk you need to answer, then refine the choice with the testers before work starts.

Scope optionWhat is coveredWhat you provide and when it fits
External only, unauthenticatedPublic login page, password reset, public entry points and exposed headers, tested as an outsider with no accountTarget hostnames and written authorization. Fits when you need to know what an internet attacker can reach before any login
Authenticated per roleEach role tested from its own account: sales, service, marketing and admin, checking object and module access between rolesOne test account per role with realistic data, plus the role matrix. Fits when your role model or security groups carry the main access risk
API-focusedAPI v8 authentication, token handling, object-level authorization and any custom endpoints or entry points your team builtAPI documentation, client credentials for test tenants and a list of custom integrations. Fits when external systems or portals depend on the API
Upload and file path reviewFile upload handling, file type checks, storage locations and how uploaded files are served back to usersSample upload policies, storage configuration (local or S3 or Azure) and any custom upload code. Fits after you add document handling or email attachments
Legacy path reviewLegacy entry points and files under the public and legacy folders, including customizations that survived a SuiteCRM 7 to 8 migrationInventory of custom files, migration records and the list of retained legacy entry points. Fits during or shortly after a migration
Infrastructure and hosting reviewWeb server, PHP and database configuration, host header handling, TLS, secret storage and admin interfaces on the hostsAccess to staging hosts or configuration files, and hosting diagrams. Fits when you run SuiteCRM on servers or clusters you manage
Post-patch retestOnly the findings from an earlier test, rechecked after fixes are deployed, often on the same release lineThe earlier report, the release and patch versions tested and access to a staging copy. Fits after remediation of a prior engagement

How to prepare a SuiteCRM test engagement

This sequence turns a vague request to test SuiteCRM into a written scope, a staging copy that matches production, and test accounts for each role, so that findings reflect the system you actually run.

  1. Agree written scope and rules of engagement

    The client's security lead and the testing team agree in writing which hosts, entry points and user roles are in scope, which are excluded, what testing methods are allowed, when testing may run, and who to contact if a finding looks like an active compromise. Confirm that the login, API, upload and legacy entry points you intend to test are named explicitly, along with any third-party identity provider or mail service the instance depends on. The step is done when both parties have signed the scope document and the contact list is shared.

  2. Confirm the production version and inventory the stack

    Record the exact SuiteCRM version running in production, along with the PHP, Apache and database versions, the authentication type in use (local, LDAP or SAML) and any custom modules, extensions or public/legacy files. Compare these against the SuiteCRM 8 compatibility matrix so the staging stack can match them. The output is a short inventory signed off by the platform owner, and any gap between production and the supported matrix is noted as a finding to explain in the report rather than fixed silently.

  3. Build a staging instance from the same release

    Deploy a staging instance using the same SuiteCRM release as production, with matching PHP, Apache and MariaDB or MySQL versions from the compatibility matrix. Load a recent copy of production configuration with secrets replaced by test values, and use anonymized or synthetic records so no real customer data leaves production controls. Verify the match by comparing the version string in the admin area and the component versions on both hosts. The step is complete when the staging version matches production and the testers have confirmed the instance loads and the login page responds.

  4. Create one test account per role and a separate admin

    Create a test user for each role the business uses, such as sales, service, marketing and read-only users, with the same module access and security group membership as the real role. Create a separate administrator account for admin-only tests, and keep it distinct from any named human admin. Record each account, its role and its expected permissions in the test plan so later results can be compared against what each role should be able to see and change. Done when a tester has logged in as each account and confirmed the expected module access.

  5. Confirm backups and a rollback path for staging

    Take a full backup of the staging database and the file storage before testing begins, and confirm that the restore procedure works on a separate host. Testing can change data, lock accounts, trigger file uploads and corrupt configuration, so the team needs a known-good state to return to between test rounds. Ask the platform owner to confirm the backup schedule for production as well, because the findings may include a recommendation about backup coverage. Done when a test restore has been completed and the team knows how long a rollback takes.

  6. Set monitoring and logging before testing starts

    Enable application, web server and database logs on staging, and forward them to a place the testers and the client's security team can read. Set alerts for failed logins, admin actions, errors on upload and API paths, and disk or process health, so that the testing team can separate their own activity from unexpected behavior and the client can see what the tests generated. Agree on how the client's security operations team will be told when a test is running, so an alert is not handled as a real incident. Done when a test event appears in the logs and the alert route has been confirmed by both parties.

  7. Confirm readiness and freeze the test baseline

    Walk through the test plan with the client, confirm the scope document, role accounts, backups and monitoring are in place, and record the staging version, configuration hash and account list as the baseline. Any change to staging after this point is logged, so the results can be tied to a known state. Retesting after patches is then run against a new baseline with the same plan. The step is done when the client has signed the readiness check and the testers have a dated baseline record.

Vulnerability classes to test in a SuiteCRM 8 instance

A SuiteCRM 8 instance combines a PHP and Symfony application, a database, a web server and several entry points, so a test should cover more than the login page. The classes below are areas to test in every engagement, not claims about specific current bugs. Each one needs test accounts and evidence from the running instance.

Broken access control between roles

Test whether a user can read, edit, export or delete records in modules, fields or ownership scopes that their role should not reach. Use one test account per role, plus a user in a security group that overlaps with another team. Check direct object references in URLs and API calls, not only what the user interface shows. Record each object ID the tester can reach that belongs to another team.

Compatibility matrix

Authentication and session weaknesses

Test the login form, password reset, lockout behavior and session handling after logout, password change and role change. If the instance uses LDAP or SAML, confirm what happens when the identity provider session ends, because SAML logout behavior in SuiteCRM 8.7.0 and later can leave the CRM session open. Check whether two-factor prompts can be skipped by replaying a session after the first factor.

Injection in API and search inputs

Send crafted values to API v8 endpoints, list view filters, search boxes and saved report parameters. Look for SQL injection, server-side template issues and unsafe handling of sort fields, which are often passed as raw identifiers. Compare responses for valid and malformed input and check error messages for stack traces or query fragments. Confirm which legacy entry points remain reachable.

Unsafe file upload and handling

Test attachments, document uploads, email import and any import wizard. Upload files with mismatched extensions, double extensions, oversized content and embedded scripts, then request them directly from the web root. Check whether stored files keep their original names, whether download links enforce the same access rules as the parent record, and whether files under public or legacy folders can be executed.

Host header and configuration issues

Send requests with altered Host headers and through any proxy or load balancer in front of the instance to see whether password reset links, redirects or cached pages use attacker-controlled hosts. Confirm the trusted hosts setting is configured for the real public names. Review debug settings, exposed installer or phpinfo pages, directory listing and HTTP methods the web server accepts.

Secrets exposure

Look for database credentials, SAML or LDAP bind passwords, API keys and application secrets in files reachable over HTTP, in backups, in logs and in error output. Check file permissions on the environment file and key material, and whether secrets appear in the admin interface or exported configuration. Ask the client which secrets are stored outside plain env files and which are not.

How a test moves from written scope to verified retest

The test starts with a written scope that names the internet-facing entry points, the reverse proxy, the SuiteCRM application and the database as separate trust boundaries. The tester builds a staging copy that matches production, then works through each role's test account, so access checks are run as each user type. Findings go back to the client with fixes, and the retest runs on the patched release, not the original build. Check that the staging build and the production build match on version, configuration and proxy rules before any results are trusted.

Flow from written scope through staging, role testing, findings and retest across trust boundaries.

Why retesting after patches matters for SuiteCRM

A retest should check the specific fixes, not repeat the whole test. SuiteCRM 8 minor releases arrive roughly every eight weeks, and patch releases contain only security and bug fixes with no database changes. That pattern makes a targeted retest practical: the tester can take each finding from the report, map it to the change that claims to fix it, and confirm the fix on the patched build. Ask the provider to list every finding with its status, the release that addressed it, and the test steps that will be repeated. Findings that touch the login, API, upload or legacy entry points should be retested first, because those are where the original test concentrated.

Agree the retest window and the tested version in writing before the first test starts. Record the exact SuiteCRM 8 version, the PHP and database versions, and the commit or release tag of the build under test, so the retest can be compared against the same baseline. Confirm which version the client will run during the retest, and whether any patch is applied to a staging copy first. Set a window that allows the client to deploy the fix, and agree what happens if a fix slips past it. Also confirm whether the client's customizations under the public/legacy folder were reviewed, since a patch or migration may change that code path.

Confirm the version on the live system at the end of the retest. The retest report should state the version that was retested and the version running in production, and flag any difference. Check the current release notes and the lifecycle page before the window closes, because a patch that a finding depends on may be superseded by a later release. Ask the provider to rerun the role-based test accounts against the final build, since a fix for one role can change access behavior for another. Plan for this check to recur after each patch cycle, not only after the first test.

Security and operational risks during testing

A penetration test against a live CRM creates its own risks: load on shared infrastructure, exposure of customer data, accounts locked out mid-test, and sensitive material left behind in reports. Agree on how each of these is controlled before the first request is sent, and write the answers into the rules of engagement.

Test traffic on shared hosts

A SuiteCRM 8 instance often shares a web server, database or worker host with other applications, and scanners can generate far more requests than a user session does. Ask the tester to state request rates, concurrency limits and the hours when active testing may run. Confirm that the Messenger worker and scheduler jobs will keep running during the test, and that someone on your side can stop the test from the infrastructure dashboard if response times climb.

Real customer records in test data

Testers who log in with accounts that can see live accounts, contacts, cases or opportunities create a data handling problem even when they do not change anything. Use a staging copy built from a restored backup with personal data masked, or a seeded dataset that matches your record structure. If testing must touch production, limit it to pre-created accounts, confirm who can view the screenshots and where the evidence is stored.

Lockout from throttling

Brute-force checks against the login form can trigger the login throttling controls, which lock out the test accounts and sometimes real users sharing the same source address. Agree in advance which accounts the tester may lock, the throttle settings in place during the test and who unlocks accounts if the test stops. Record the throttle state before and after testing so the retest starts from a known baseline.

Test credentials and tokens

Each role test needs a dedicated account, and the passwords, API tokens and SAML or LDAP test identities should live in a secrets store, not in the scope document or a shared spreadsheet. Set an expiry date for every test account and disable them at the end of the engagement. Ask the tester how they store captured session cookies and tokens, and confirm they will delete them from their systems at close.

Findings that expose live secrets

A report can contain database credentials, SAML private key material, mail server passwords or personal data copied from a response. Ask for redaction of secrets in the findings and in any proof-of-concept output, and for the full evidence to be encrypted and delivered through a channel you control. Agree on who receives critical findings on the day they are confirmed, not at the end of the engagement.

Retest after patches

Fixes applied to SuiteCRM or its custom modules should be verified against the original finding, not assumed to work. Ask for a retest scope that repeats the exact requests and role accounts used in the first round, and confirm that retest traffic follows the same limits as the original test. Track each finding to closure in a list that names the owner and the release or configuration change that resolved it.

SuiteCRM LTS page

Questions buyers ask before testing SuiteCRM

What drives the cost of a SuiteCRM penetration test?

The main cost driver is how much attack surface the written scope covers and how many user roles must be tested. A test of the login page, the API, the upload handling and any legacy entry points takes more work than a test of one screen, because each entry point needs its own setup, probing and evidence. Cost also rises with the number of hosts, whether the instance sits behind a proxy or load balancer, whether single sign-on through LDAP or SAML is in use, and how many custom modules or extensions were built on top of the core. Ask for a quote that lists each entry point, each role tested, the environments covered and whether retesting is included, because those items are what the price follows.

How long do preparation and testing take for SuiteCRM?

Duration depends on the scope, the readiness of the target and how quickly the client answers questions. Preparation includes agreeing rules of engagement, confirming a staging instance that matches production, creating test accounts and collecting architecture details. Testing time grows with the number of roles, customizations and integrations that need to be exercised. Delays most often come from a staging copy that is out of date, missing accounts for some roles, or a patch level that changes during the engagement. Ask the testing partner to set out the phases and the points where the client must respond, and agree a schedule in writing before work starts.

What must our team provide before a SuiteCRM penetration test starts?

Most of the preparation falls on the client, and it should be settled before testing begins. The usual items are:

  • A staging instance built from the same SuiteCRM version, configuration and customizations as production, with the migration or patch state known.
  • Test accounts for each role in the role model, including a standard user, a restricted user and an administrator, plus any accounts that use LDAP or SAML sign-on.
  • The list of entry points in scope, such as the login pages, API endpoints, upload features and any legacy paths under the public folder.
  • Named contacts for technical questions, change approval and emergency stops.
  • Written authorization covering the hosts, the testing window and any third-party services the instance calls.

Confirm with your own environment owners which items you hold and which you will need to create.

Can our internal security team run a SuiteCRM penetration test themselves?

An internal team can test a SuiteCRM instance if it has people with web application testing skills, time to work through the entry points and a clear way to record evidence. The harder parts are being independent of the people who configured the system, knowing how to test each role without causing data loss, and retesting after fixes with the same rigor. Many organizations use internal staff for routine checks between formal tests and bring in an outside team for the scoped assessment. Decide which parts you will own by matching your team's skills against the entry points and role list in the scope document.

How are retests of SuiteCRM findings priced?

Retest cost depends on how many findings are being checked, how complex each fix is and whether the fix needs a new test environment. A retest that confirms a small configuration change usually involves less work than one that checks a code change across several roles or entry points. Ask whether the initial quote includes a retest window, how many retest rounds are covered and what happens if a fix introduces a new issue. Also confirm which SuiteCRM version the retest runs against, since patch releases with only security and bug fixes and no database changes are simpler to verify than minor releases. Confirm these terms in writing before the engagement starts.

Does a penetration test need a staging copy of SuiteCRM?

Testing against a staging copy is the safer choice for most SuiteCRM engagements, because active testing can create records, lock accounts, trigger throttling or change data. The staging instance should match production in SuiteCRM version, PHP and database versions, authentication settings and customizations. Where testing on production is considered, it needs explicit approval, a data backup plan and a restricted set of tests. Check the compatibility matrix for the versions your staging build must match, and record any differences so the findings can be read in the right context.

Will a penetration test confirm that SuiteCRM is compliant?

No. A penetration test shows which weaknesses an attacker could exploit in the tested scope at the time of testing. It does not issue an audit report, an attestation or a certification, and it does not cover controls outside that scope. Independent auditors and certification bodies make those determinations. Test findings can still support compliance work by providing evidence for specific controls, so ask your assessor which evidence they will accept and agree the scope with them before testing starts.

How DeployOpen scopes and retests SuiteCRM tests

DeployOpen runs security testing on the self-hosted SuiteCRM 8 instance you operate, inside your own infrastructure. The work starts with a written scope that names the login, API, upload and legacy entry points, then ends with a findings report, fixes and a retest.

How we scope

  • Written scope names each entry point to test: login, API, file upload and legacy paths.
  • Test accounts are agreed for each role your team actually uses, not only administrators.
  • Scope records which environment is tested, such as staging or a copy of production data.

How we test

  • Testing covers the application, its APIs and the hosting layer around it under the agreed scope.
  • Authentication tests check login protection, SAML or LDAP sign-on and session handling after logout.
  • Role tests confirm that each account type sees and changes only the modules its role allows.

How we hand over

  • The findings report ranks each issue, explains how it was reproduced and recommends a specific fix.
  • Fixes are applied or handed to your team with clear steps for the affected configuration or code.
  • A retest after patches confirms each fixed finding is closed and records any that remain open.

How we support

  • Engagements are fixed-scope, with scope, deliverables and timelines agreed in writing before work starts.
  • Ongoing support, upgrades and continuous testing are available as a retainer after the first engagement.
  • Ask for a quote that lists testing hours, retest rounds and any environment setup as separate line items.

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.