drupal/phpconfig - SA-CONTRIB-2018-055
This module enables you to add or overwrite PHP configuration on a drupal website.
The module doesn't sufficiently allow access to set these configurations, leading to arbitrary PHP configuration execution by an attacker.
This vulnerability is mitigated by the fact that an attacker must have a role with the permission "administer phpconfig".
After updating the module, it's important to review the permissions of your website and if 'administer phpconfig' permission is given to a not fully trusted user role, we advise to revoke it.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Composer package | drupal/phpconfig | < 1.1.0 | 1.1.0 |
| Drupal module | drupal/phpconfig | < 1.1.0 | 1.1.0 |
References
- Weakness (CWE)
-- Platform
- Composer, Drupal
- Package
drupal/phpconfig- Disclosed
- 08.08.2018
- Updated
- 11.10.2026 12:18
Sources and licenses
OSV / GitHub Advisory Database - DRUPAL-CONTRIB-2018-055 - CC BY-SA 2.0; code GPL-2.0-or-later
Vulnerability history: drupal/phpconfig
All published vulnerabilities of this package (Drupal module), newest first. Shows whether this is a one-off slip or a package that needs watching.
This is the only known vulnerability of this package.
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.