View online: https://www.drupal.org/sa-contrib-2021-033
Project: File Extractor [1] Date: 2021-September-22 Security risk: *Critical* 15∕25 AC:Complex/A:Admin/CI:All/II:All/E:Theoretical/TD:Default [2] Vulnerability: Arbitrary PHP code execution
Description: This module enables you to extract the textual content of files for use on a website, e.g. to display it or or use it in search indexes.
The module doesn't sufficiently protect the administrator-defined commands which are executed on the server, which leads to post-authentication remote code execution by a limited set of users.
This vulnerability is mitigated by the fact that an attacker must have a role with the permission "Administer File Extractor" to access the settings form. Sites are encouraged to review which roles have that permission and which users have that role, to ensure that only trusted users have that permission.
Solution: Install the latest version:
* If you use the File Extractor 2.0.2 or below, upgrade to File Extractor 2.0.3 [3] * If you use the File Extractor 3.0.0, upgrade to File Extractor 3.0.1 [4] * If you use the File Extractor 4.0.0, upgrade to File Extractor 4.0.1 [5]
Reported By: * Florent Torregrosa [6]
Fixed By: * Florent Torregrosa [7]
Coordinated By: * Damien McKenna [8] of the Drupal Security Team
[1] https://www.drupal.org/project/file_extractor [2] https://www.drupal.org/security-team/risk-levels [3] https://www.drupal.org/project/file_extractor/releases/2.0.3 [4] https://www.drupal.org/project/file_extractor/releases/3.0.1 [5] https://www.drupal.org/project/file_extractor/releases/4.0.1 [6] https://www.drupal.org/user/2388214 [7] https://www.drupal.org/user/2388214 [8] https://www.drupal.org/u/damienmckenna