File Extractor - Critical - Arbitrary PHP code execution - SA-CONTRIB-2021-033
Project: File Extractor
Date: 2021-September-22
Security risk: Critical 15∕25
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
If you use the File Extractor 3.0.0, upgrade to File Extractor 3.0.1
If you use the File Extractor 4.0.0, upgrade to File Extractor 4.0.1
We value your opinion. Please add your feedback.