Lucian Constantin
CSO Senior Writer

Three popular Drupal modules get patches for site takeover flaws

News
Jul 13, 20162 mins

The vulnerabilities could allow attackers to execute rogue PHP code on web servers

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

Lucian Constantin writes about information security, privacy, and data protection for CSO. Before joining CSO in 2019, Lucian was a freelance writer for VICE Motherboard, Security Boulevard, Forbes, and The New Stack. Earlier in his career, he was an information security correspondent for the IDG News Service and Information security news editor for Softpedia.

Before he became a journalist, Lucian worked as a system and network administrator. He enjoys attending security conferences and delving into interesting research papers. He lives and works in Romania.

You can reach him at lucian_constantin@foundryco.com or @lconstantin on X. For encrypted email, his PGP key's fingerprint is: 7A66 4901 5CDA 844E 8C6D 04D5 2BB4 6332 FC52 6D42

More from this author