
Website Security
Pantheon achieves ISO 27001 certification
Learn how Pantheon's ISO 27001 certification provides enterprise teams with recognized validation of its information security management systems.
Enhance your DevOps database security with seven key practices. Automate compliance, encrypt data, leverage AI for threat detection & more. Boost protection now
WordPress and Drupal are fantastic content management systems because of their versatility and strength. Both platforms are widely used, storing a lot of sensitive data. Unfortunately, this makes them prime targets for cyberattacks. That’s why securing the database is necessary to protect against unauthorized access, SQL injection attacks and data breaches.

DevOps practices are a reliable solution to enhance database security for your WordPress and Drupal sites. Essentially, it’s a set of practices that combines software development (Dev) and IT operations (Ops). By integrating development, testing and deployment processes, DevOps ensures a smooth workflow that boosts productivity and fortifies security.
A major component of DevOps is that it treats security as code, meaning security policies and configurations are version-controlled, tested and deployed alongside the application code. This helps maintain consistent security across environments. It also consistently checks updates for vulnerabilities before going live, reducing the risk of human error and maintaining security.
If you’re an IT professional, this guide is essential reading. We'll discuss seven essential practices that will help you build a robust database security strategy within your DevOps framework, keeping your data safe and giving you peace of mind 24/7.
Software vulnerabilities are bugs, flaws or weaknesses in database software that attackers can exploit to gain unauthorized access or cause damage. These vulnerabilities can exist in the software code or arise from misconfigurations, outdated software, or the lack of patches and updates.
One of the most notorious examples is the Equifax breach in 2017. In this breach, attackers exploited an unpatched software vulnerability in the Apache Struts web application framework, exposing the personal information of approximately 147 million people.
Quick Mitigation Strategies
Injection attacks, mainly SQL injection, happen when attackers manipulate database queries to gain unauthorized access or alter data. They achieve this by manipulating inputs or tampering with parameters.
For instance, in the ResumeLooters attack, cybercriminals used SQL injection to gain access to resumes and personal data stored on several online job portal databases. This resulted in significant negative effects, including personal information theft, privacy violations and damage to the job portals’ reputation.
Quick Mitigation Strategies
Malware includes viruses, worms, ransomware and spyware that can infect databases and cause data theft, corruption or unavailability.
Change Healthcare, a healthcare technology company, suffered a malware attack in February 2024 that disrupted its services and compromised sensitive data, including patient records. To prevent the stolen data from being leaked, a $22 million ransom was paid.
Quick Mitigation Strategies
DoS attacks occur when attackers flood a database with excessive requests, disrupting service and making the database unavailable to legitimate users. Common techniques include volumetric attacks and application-layer attacks.
For example, Swiss websites experienced significant disruption during the World Economic Forum due to coordinated DoS attacks. These attacks overwhelmed the targeted websites with excessive traffic, rendering them inaccessible to legitimate users.
Quick Mitigation Strategies
Human error, such as misconfigurations, weak passwords and accidental data deletion, can significantly compromise database security. Here are a few common scenarios:
The Verizon 2024 Data Breach Investigations Report found that 68% of breaches involved a human element. A notable case was the Pegasus Airline incident, where 23 million files, some with sensitive data, were accidentally exposed due to human error.
Quick Mitigation Strategies
Insider threats involve employees or contractors intentionally misusing their access to compromise database security, often motivated by financial gain, espionage or personal grievances.
The Tesla data breach is a prime example. Two former employees leaked thousands of personal records to a German news outlet.
Quick Mitigation strategies
Understanding the TTPs cybersecurity professionals observe in database attacks helps teams stay ahead of threats. When cybersecurity experts analyze these Tactics, Techniques, and Procedures, they can better predict and prevent future attacks on WordPress and Drupal databases. This intelligence-driven approach complements DevOps practices by integrating security awareness throughout the development lifecycle.
As organizations strive to meet these demands, integrating strong security measures within DevOps pipelines has become a critical priority. Let’s take a look at how Pantheon tackles the challenges faced by DevOps teams navigating WordPress and Drupal database security:
Imagine getting an email from a CISO (Chief Information Security Officer) asking if the site’s data is stored in the right country. You’ll need to be on top of that, especially if the site operates globally or in regulated industries.
Many countries and regions have enforced strict data protection laws, such as GDPR in Europe and CCPA in California. These regulations often have specific requirements about where data can be stored and processed.
Unfortunately, there's often tension between the DevOps goal of rapid delivery and the need to ensure compliance, which can slow down processes. But, at Pantheon, we make it easy for organizations to manage data storage locations and comply with relevant data residency requirements.

Pantheon provides multiple global regions for hosting websites, including the United States, Australia, Canada and the European Union. This allows organizations to choose where their data is stored to comply with specific data residency requirements. Additionally, Pantheon complies with various data protection regulations, including GDPR, and provides features to help customers meet their compliance obligations, which can help address the CISO’s concerns about data storage locations.
The site’s region can be easily checked through the Pantheon dashboard or using Terminus commands.
Even better, we offer a Client Data Processing Agreement that outlines our data handling practices and commitments to data protection. We also implement robust security practices, including SOC 2 Type 2 compliance. This can ensure the adequacy of organizations’ information security systems.
Several major security breaches have already occurred due to compromised DevOps pipelines. For example, an attack on Codecov exfiltrated secrets from thousands of build pipelines. This indicates that DevOps pipelines are increasingly becoming targets for hackers because they provide access to sensitive information, intellectual property, and the ability to inject malicious code into software that will be distributed to many users.
Here are some common attack vectors:
Hacker attacks aren’t a pressing problem for teams using Pantheon. Pantheon provides a secure, containerized infrastructure with built-in security features like DDoS protection, intrusion prevention, and a web application firewall (WAF) to protect against common attack vectors.
Pantheon's Secure Integration feature allows for encrypted connections to internal data sources behind firewalls. We also provide managed HTTPS certificates and enforce secure connections between environments. All your websites will have high-grade encryption (TLS 1.3) and will be deployed worldwide with Pantheon’s Global CDN.
Last but certainly not least, Pantheon offers granular user access controls and role-based permissions to limit potential attack surfaces. Our SAML integration enables additional security features such as multi-factor authentication and single sign-on (SSO). This also allows customers to enforce minimum password strengths and authentication audit logs.
Many DevOps pipelines rely heavily on open-source tools and libraries. These dependencies can contain publicly disclosed vulnerabilities that make the pipeline vulnerable to attack if left unpatched. Exploiting known vulnerabilities in outdated or unpatched pipeline components is a low-hanging fruit for attackers. They can exploit these weak points to gain unauthorized access to source code, build systems, artifact repositories, etc.

To tackle this problem, Pantheon automatically applies security patches and updates to the underlying platform, reducing the risk of vulnerabilities. With its Dev, Test, Live workflow and Multidev environments, teams can securely code and test before deploying to production.
Additionally, Pantheon provides Integrated Composer functionality for both Drupal and WordPress sites. This enables one-click updates from the dashboard for Upstream updates and Composer dependencies on Composer-managed sites.
DevOps environments are highly dynamic with tightly connected components. Human error, software/hardware failures, cloud outages, ransomware attacks or disasters can all lead to data loss. With proper backups, companies can retain valuable source code, configurations and project data. These data loss incidents can cause missed opportunities and financial losses.
Regular, automated backups allow you to quickly restore data and get systems back online if an incident occurs, minimizing downtime and disruption to development workflows. Without backups, recovery could take weeks or could even be impossible.
Luckily, Pantheon's automatic backups provide a convenient, reliable and customizable way to protect your site's data at the infrastructure level.

Pantheon allows you to enable automatic daily and weekly backups.
Daily backups are kept for seven days, while weekly backups are kept for about a month (32 days by default). The weekly backup retention period can be customized using the --keep-for option when enabling automatic backups.
The backups are stored offsite on Google Cloud Storage for redundancy and reliability and no file size limitations exist. These automatic backups include separate archives for the site's code, database and files. You can use any automatic backup to restore the environment directly from the Pantheon Dashboard. The restoration process will overwrite the environment's current code, database, and files with the backed-up versions.
The Backup Log in the Pantheon Site Dashboard shows the status of in-progress backups. Long-running backups may indicate a need to optimize the site.

Expert Tips:
Pantheon's New Relic integration provides real-time visibility into application performance, allowing developers to identify and resolve issues quickly. New Relic's proactive anomaly detection uses machine learning (ML) to identify emerging issues early, minimizing downtime and ensuring system stability.

Pantheon's New Relic integration.
This feature helped Clarivate's team to optimize and fine-tune its site-wide performance. It alerted them that a WordPress plugin was making excessive database calls, affecting performance. Based on that, they switched strategies and improved their site significantly.
Additionally, New Relic's full-stack observability gives developers insights into application, infrastructure, and service performance metrics to optimize the system effectively. Distributed tracing and service maps help quickly diagnose issues across microservices.
Outdated CMS versions, plugins, modules and themes pose significant security risks. Vulnerabilities in these components are common attack vectors. That’s why we highly recommend minimizing plugins/modules and regularly updating the CMS and all components to maintain website security.
The Autopilot feature automatically detects and deploys updates for WordPress and Drupal CMS solutions to make things easier for Pantheon users. This keeps sites secure without manual intervention. Key capabilities include:
A complete data center outage, whether from a natural disaster or significant system failure, can bring down a company's website, leading to costly downtime, data loss and damaged reputation. Minutes or hours of downtime can have a severe business impact.
To mitigate this risk, we have engineered a high-availability Multizone Failover solution that provides:
This multizone active/passive architecture ensures high availability and disaster recovery for mission-critical sites. The recovery point objective (acceptable data loss) is 5 minutes, and the recovery time objective (time to restore service) is 15 minutes.
With Pantheon's Multizone Failover, DevOps and security teams can deliver highly available, resilient sites without architecting and managing their own complex disaster recovery systems.
To keep your database secure, it's crucial to use robust access control and authentication. Here are some essential practices:
Ensuring the integrity and quality of data is essential to prevent security breaches. Key practices include:
A strong disaster recovery plan can ensure data availability and integrity in a security incident. The main components include:
Human error is a huge element in many security breaches. Effective employee security awareness training can mitigate this risk. Key practices include:
With many potential threats, ranging from software vulnerabilities and injection attacks to malware, DoS attacks, human error and insider threats, it’s clear that database security is a critical concern for WordPress and Drupal sites. These threats can have extreme consequences if not addressed properly, making DevOps teams have to prioritize security in their workflows.
One of the most effective ways to secure your database is to choose a hosting provider with built-in security standards. Pantheon is the fastest hosting platform for WordPress and Drupal sites.
Our WebOps infrastructure provides enhanced security through automated updates, guaranteeing that your software is always up-to-date with the latest patches. The Advanced Global CDN with WAF adds another layer of protection against common attack vectors, while New Relic’s continuous monitoring helps detect and respond to potential threats in real time.
Watch our demo to discover how Pantheon can simplify your DevOps workflows and provide peace of mind with top-notch security!

Website Security
Learn how Pantheon's ISO 27001 certification provides enterprise teams with recognized validation of its information security management systems.

Artificial Intelligence
A look at the questions Pantheon web teams raised when php2shell hit, from patch verification and site takedowns to AI-assisted defense.

Website Security
A critical PHP vulnerability was a stress test of whether your web platform can absorb disruption while your team keeps working. Read about Pantheon’s response.