February 26, 2019 By Shane Schick 2 min read

A highly critical flaw in the Drupal content management system (CMS) could allow attackers to take over sites and web servers, developers behind the open-source project warned.

In a security advisory that urged users to update their software, Drupal developers said the flaw (CVE-2019-6340) could facilitate remote code execution (RCE) attacks. The problem stems from files that are not properly sanitizing RESTful web services and other nonform sources. According to the advisory, users at risk of RCE attacks include those running Drupal 8.6x and 8.5x and earlier.

How to Protect Yourself From the Drupal Vulnerability

The advisory made no mention of the flaw being exploited in the wild so far, and since it was discovered by developers on the project team, there may be enough time for most users to protect themselves.

Admins can reduce the risk by disabling the Drupal 8 core RESTful Web Services (rest) module and configuring web servers not to allow PATCH or POST requests. Other web services that should be shut down include the JSON:API and Service module in Drupal 8 and RESTful Web Services module in version 7.

Next, admins should update to the most recent branches of the open-source CMS’s core, which include Drupal 8.6.10 and 8.5.11.

Finally, since the flaw could impact third-party projects associated with the CMS, admins should consider installing security updates for these as well. A list of possibilities linked within the advisory include Font Awesome Icons, Translation Management Tool, Metatag, Paragraphs, JASON:API and RESTful Web Services. This should be done even if users are running Drupal 7, the developers warned.

Why CMS Security Is Critical

Even if no one has exploited this Drupal vulnerability yet, there’s already evidence vulnerabilities of this type can pose serious security risks to all kinds of organizations.

A few months ago, for example, IBM’s Managed Security Services (MSS) team discovered a series of attacks against Drupal users that leveraged Shellbot to open backdoors and compromise sites en masse. Much like WordPress, the open-source CMS represents a valuable target for cybercriminals because it is so commonly used across a wide range of private- and public-sector organizations.

Beyond installing patches and updates, IBM experts suggest conducting validation checks on all web applications and using two-factor authentication (2FA) to fend off automated brute-force attacks.

More from

SoaPy: Stealthy enumeration of Active Directory environments through ADWS

10 min read - Introduction Over time, both targeted and large-scale enumeration of Active Directory (AD) environments have become increasingly detected due to modern defensive solutions. During our internship at X-Force Red this past summer, we noticed FalconForce’s SOAPHound was becoming popular for enumerating Active Directory environments. This tool brought a new perspective to Active Directory enumeration by performing collection via Active Directory Web Services (ADWS) instead of directly through Lightweight Directory Access Protocol (LDAP) as other AD enumeration tools had in the past.…

Smoltalk: RCE in open source agents

26 min read - Big shoutout to Hugging Face and the smolagents team for their cooperation and quick turnaround for a fix! Introduction Recently, I have been working on a side project to automate some pentest reconnaissance with AI agents. Just after I started this project, Hugging Face announced the release of smolagents, a lightweight framework for building AI agents that implements the methodology described in the ReAct paper, emphasizing reasoning through iterative decision-making. Interestingly, smolagents enables agents to reason and act by generating…

4 ways to bring cybersecurity into your community

4 min read - It’s easy to focus on technology when talking about cybersecurity. However, the best prevention measures rely on the education of those who use technology. Organizations training their employees is the first step. But the industry needs to expand the concept of a culture of cybersecurity and take it from where it currently stands as an organizational responsibility to a global perspective.When every person who uses technology — for work, personal use and school — views cybersecurity as their responsibility, it…

Topic updates

Get email updates and stay ahead of the latest threats to the security landscape, thought leadership and research.
Subscribe today