DRUPAL-CONTRIB-2018-055 This module enables you to add or overwrite PHP configuration on a drupal website.
An attacker with the administer phpconfig permission can execute arbitrary PHP configuration, potentially leading to code execution or privilege escalation.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is DRUPAL-CONTRIB-2018-055?
DRUPAL-CONTRIB-2018-055 is a missing authorization vulnerability in drupal/phpconfig, published on 8 Aug 2018. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
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.
Which versions are affected by DRUPAL-CONTRIB-2018-055?
Linux distribution packages (1)
drupal/phpconfig Packagist:https://packages.drupal.org/8 | All versions | 1.1.0 |
How do I fix DRUPAL-CONTRIB-2018-055?
Upgrade to a fixed version.
Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.
Is DRUPAL-CONTRIB-2018-055 being exploited?
There is no known exploitation of DRUPAL-CONTRIB-2018-055 in the wild and no public exploit code.