Three popular Drupal modules get patches for site takeover flaws

13.07.2016
The security team of the popular Drupal content management system worked with the maintainers of three third-party modules to fix critical vulnerabilities that could allow attackers to take over websites.

The flaws allow attackers to execute rogue PHP code web servers that host Drupal websites with the RESTWS, Coder or Webform Multiple File Upload modules installed. These modules are not part of Drupal's core, but are used by thousands of websites.

The RESTWS module is a popular tool for creating Rest application programming interfaces (APIs) and is currently installed on over 5,800 websites. Unauthenticated attackers can exploit the remote code execution vulnerability in its page callback functionality by sending specially crafted requests to the website.

There is no mitigating factor and upgrading to the module's latest version, which fixes the flaw, is highly recommended.

Coder is another popular module and allows Drupal administrators to check their code against various coding standards and best practices. It is installed on over 4,950 websites and it too contains a remote code execution vulnerability that can be exploited by unauthenticated attackers.

The module does not even need to be enabled in order for the flaw to be exploitable, its mere presence on the file system being enough.

Finally, the Webform Multiple File Upload module allows website administrators to receive multiple files from users and is installed on some 3,000 websites. It too has a vulnerability that could lead to remote code execution, but the flaw's exploitation depends on which libraries are available on  the website.

Furthermore, an attacker needs to be able to submit a web form with specifically crafted input and, depending on the site configuration, this might require authentication. Since there are mitigating factors that could limit the flaw's impact, it was rated only as critical instead of highly critical.

The Drupal CMS powers over one million websites, including 1 in 10 of the most popular 10,000 websites on the Internet that are based on a known content management system. It is commonly used by businesses.

Lucian Constantin

Zur Startseite