DRUPAL-CONTRIB-2021-033

See a problem?
Import Source
https://github.com/DrupalSecurityTeam/drupal-advisory-database/blob/main/advisories/file_extractor/DRUPAL-CONTRIB-2021-033.json
JSON Data
https://api.osv.dev/v1/vulns/DRUPAL-CONTRIB-2021-033
Published
2021-09-22T16:55:24Z
Modified
2026-09-10T03:45:47Z
Summary
[none]
Details

This module enables you to extract the textual content of files for use on a website, e.g. to display it or use it in search indexes.

The module doesn't sufficiently protect the administrator-defined commands that 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.

References
Credits

Affected packages

Packagist:https://packages.drupal.org/8 / drupal/file_extractor

Package

Name
drupal/file_extractor
Purl
pkg:composer/drupal/file_extractor?repository_url=https:%2F%2Fpackages.drupal.org%2F8

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
2.0.3
Database specific
Show details
{
    "constraint": "<2.0.3"
}
Type
ECOSYSTEM
Events
Introduced
3.0.0
Last Affected
3.0.0
Database specific
Show details
{
    "constraint": "3.0.0"
}
Type
ECOSYSTEM
Events
Introduced
4.0.0
Last Affected
4.0.0
Database specific
Show details
{
    "constraint": "4.0.0"
}

Database specific

affected_versions
"<2.0.3 || 3.0.0 || 4.0.0"
source
"https://github.com/DrupalSecurityTeam/drupal-advisory-database/blob/main/advisories/file_extractor/DRUPAL-CONTRIB-2021-033.json"