ESB-2018.2294 - [Win][UNIX/Linux] Drupal PHP Configuration: Execute arbitrary code/commands - Existing account 2018-08-09

Printable version
PGP/GPG verifiable version

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

===========================================================================
             AUSCERT External Security Bulletin Redistribution

                               ESB-2018.2294
        PHP Configuration - Critical - Arbitrary PHP code execution
                           - SA-CONTRIB-2018-055
                               9 August 2018

===========================================================================

        AusCERT Security Bulletin Summary
        ---------------------------------

Product:           Drupal PHP Configuration
Publisher:         Drupal
Operating System:  Windows
                   UNIX variants (UNIX, Linux, OSX)
Impact/Access:     Execute Arbitrary Code/Commands -- Existing Account
                   Overwrite Arbitrary Files       -- Existing Account
                   Create Arbitrary Files          -- Existing Account
Resolution:        Patch/Upgrade

Original Bulletin: 
   https://www.drupal.org/sa-contrib-2018-055

- --------------------------BEGIN INCLUDED TEXT--------------------

PHP Configuration - Critical - Arbitrary PHP code execution -
SA-CONTRIB-2018-055

Project:
PHP Configuration
Version:
8.x-1.0
7.x-1.0
Date:
2018-August-08
Security risk:
Critical 17/25 AC:Basic/A:Admin/CI:All/II:All/E:Theoretical/TD:All
Vulnerability:
Arbitrary PHP code execution
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.

Solution:

Install the latest version:

  o If you use the PHP Configuration module for Drupal 7.x, upgrade to PHP
    Configuration
    7.x-1.1
  o If you use the PHP Configuration module for Drupal 8.x, upgrade to PHP
    Configuration
    8.x-1.1

Also see the PHP Configuration project page.

Reported By:

  o Balazs Janos Tatar Provisional security team member

Fixed By:

  o bappa.sarkar The module maintainer

Coordinated By:

  o mpotter of the Drupal Security Team

Contact and more information

The Drupal security team can be reached by email at security at drupal.org or
via the contact form.

Learn more about the Drupal Security team and their policies, writing secure
code for Drupal, and securing your site.

- --------------------------END INCLUDED TEXT--------------------

You have received this e-mail bulletin as a result of your organisation's
registration with AusCERT. The mailing list you are subscribed to is
maintained within your organisation, so if you do not wish to continue
receiving these bulletins you should contact your local IT manager. If
you do not know who that is, please send an email to auscert@auscert.org.au
and we will forward your request to the appropriate person.

NOTE: Third Party Rights
This security bulletin is provided as a service to AusCERT's members.  As
AusCERT did not write the document quoted above, AusCERT has had no control
over its content. The decision to follow or act on information or advice
contained in this security bulletin is the responsibility of each user or
organisation, and should be considered in accordance with your organisation's
site policies and procedures. AusCERT takes no responsibility for consequences
which may arise from following or acting on information or advice contained in
this security bulletin.

NOTE: This is only the original release of the security bulletin.  It may
not be updated when updates to the original are made.  If downloading at
a later date, it is recommended that the bulletin is retrieved directly
from the author's website to ensure that the information is still current.

Contact information for the authors of the original document is included
in the Security Bulletin above.  If you have any questions or need further
information, please contact them directly.

Previous advisories and external security bulletins can be retrieved from:

        https://www.auscert.org.au/bulletins/

===========================================================================
Australian Computer Emergency Response Team
The University of Queensland
Brisbane
Qld 4072

Internet Email: auscert@auscert.org.au
Facsimile:      (07) 3365 7031
Telephone:      (07) 3365 4417 (International: +61 7 3365 4417)
                AusCERT personnel answer during Queensland business hours
                which are GMT+10:00 (AEST).
                On call after hours for member emergencies only.
===========================================================================
-----BEGIN PGP SIGNATURE-----
Comment: http://www.auscert.org.au/render.html?it=1967

iQIVAwUBW2uABWaOgq3Tt24GAQgGqw//YTtIBbnbJRVm0o/RQpXjuu7nk3u1cTTr
qAPtxCjRfPmMhFeYF1l8FKZs+CnhdFwW8NNzAF73XgWrxsqdJ6OBrRx3JAJCsD9l
fWK78GVZqfUPsak4c7wMlcK54sr/qRqnQhTpn/7veEOjVQhnKByOp3fEFeN5CUdZ
7LrGYF1mDHk6RWEs710FvMIVTLHaMA12gfdRIIv/2Kz6Pj8Lq2RQtIArBhRxjeU4
HNC6GSlO9u/4JUbOH6T52JgrmggY5Qm0eqki2dCW9lX/nbEq2BQcmJTdOJKhhhNn
A+1/dwpzLenR/PCrtWec1XynLcStcmyejCmYT2rjn/fs6QUr/YMXmwZZz3qyG2CP
w9YE9fVjRmBJWX6rcKmDIWg02xnvbfNp2B0cB6yF3f/rFTVB4L5g7pJvltFQXlfx
xIgKSncIG0mf2r23chIzAPo37gtNZySnhgmAuvMR8MQavXI/fvDi2TDrLpriloUl
OqJ0fgOYpsvxZRRk0yyCK9yrpixUtvxJxPJFUI/1Mt/wCSwqm4SFeZq+g8VHcjw9
1UqRtO/ADCa6tZae6jUz2dqZ13a5TA9JCm8LGMIIXO2RdJk8k/30MHM/GVCLRazQ
qgsxZIO6YBnvlTkfAm0M+WSEPYGM3n+4m0/bOMQjz6n6V5CED6YnuSpctlGre/2c
niNm9DaF1k4=
=amG1
-----END PGP SIGNATURE-----

« Back to bulletins