ESB-2018.1834 - [Win][UNIX/Linux] phpMyAdmin: Multiple vulnerabilities 2018-06-22

Printable version
PGP/GPG verifiable version

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

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

                               ESB-2018.1834
                        phpMyAdmin security updates
                               22 June 2018

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

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

Product:           phpMyAdmin
Publisher:         phpMyAdmin
Operating System:  UNIX variants (UNIX, Linux, OSX)
                   Windows
Impact/Access:     Cross-site Scripting            -- Remote with User Interaction
                   Access Confidential Data        -- Existing Account            
                   Execute Arbitrary Code/Commands -- Existing Account            
Resolution:        Patch/Upgrade
CVE Names:         CVE-2018-12613 CVE-2018-12581 

Original Bulletin: 
   https://www.phpmyadmin.net/security/PMASA-2018-3/
   https://www.phpmyadmin.net/security/PMASA-2018-4/

Comment: This bulletin contains two (2) phpMyAdmin security advisories.

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

PMASA-2018-3

Announcement-ID: PMASA-2018-3

Date: 2018-06-19

Updated: 2018-06-21

Summary

XSS in Designer feature

Description

A Cross-Site Scripting vulnerability was found in the Designer feature, where
an attacker can deliver a payload to a user through a specially-crafted 
database name.

Severity

We consider this attack to be of moderate severity.

Affected Versions

phpMyAdmin versions prior to 4.8.2.

Solution

Upgrade to phpMyAdmin 4.8.2 or newer or apply patch listed below.

References

Thanks to William Desportes for discovering this flaw.

Assigned CVE ids: CVE-2018-12581

CWE ids: CWE-661

Patches

The following commits have been made on the 4.8 branch to fix this issue:

    6943fff87324bd54c3a37a5160a5fb77498c355e

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

PMASA-2018-4

Announcement-ID: PMASA-2018-4

Date: 2018-06-19

Updated: 2018-06-21

Summary

File inclusion and remote code execution attack

Description

A flaw has been discovered where an attacker can include (view and potentially
execute) files on the server.

The vulnerability comes from a portion of code where pages are redirected and
loaded within phpMyAdmin, and an improper test for whitelisted pages.

An attacker must be authenticated, except in these situations:

 o $cfg['AllowArbitraryServer'] = true: attacker can specify any host he/she
   is already in control of, and execute arbitrary code on phpMyAdmin

 o $cfg['ServerDefault'] = 0: this bypasses the login and runs the vulnerable
   code without any authentication

Severity

We consider this to be severe.

Mitigation factor

Configuring PHP with a restrictive `open_basedir` can greatly restrict an 
attacker's ability to view files on the server. Vulnerable systems should not
be run with the phpMyAdmin directives $cfg['AllowArbitraryServer'] or 
$cfg['ServerDefault']

Affected Versions

phpMyAdmin 4.8.0 and 4.8.1 are affected.

Solution

Upgrade to phpMyAdmin 4.8.2 or newer or apply patch listed below.

References

Huang Henry, an independent security researcher, has reported this 
vulnerability to Beyond Securitys SecuriTeam Secure Disclosure program.

Assigned CVE ids: CVE-2018-12613

CWE ids: CWE-661

Patches

The following commits have been made on the 4.8 branch to fix this issue:

    7662d02939fb3cf6f0d9ec32ac664401dcfe7490

- --------------------------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

iQIVAwUBWyxNdWaOgq3Tt24GAQgygA/8DHc+EhaCTWkdo0DHN2wUwkB57UC4GWB0
XUqo89TYZ53qKkS8DLz53oReS4h4CTA78ADvudxfFTNCdm4MIPP5LKkq0mv0i936
Gy5KL6omvCQIR5yGbhZmVbmCniB+NsRBK37TGp3YVR8NllQuvqkRztrPfVHKEdK+
NW4UCD+JFBrlzG2ZnjUAwElra2K55+bULrgB6JjLV5d6yYUgdX1IsHrpM/Z1VnGu
Jt11CNl1QwMulHKMbsCGCq7yjSFOq/68Dt6FvUW9O0+uo2KobBTcqkWJNYc66Rqw
0ewJqh7ZiLtCVC3AUoFyjxMoYNz6AjLSmTJMOM8VKxR2BFeIS3yx9YYnNOcl282p
aXSOzEtXAnlrp4lhwcc4ubdEnEljJR9jKqytRlUX2Ky285vkw5INkbD4hkKZCYwe
BOT2YoZSRURpCd7OK8p51b8tWZyHorauYbGwPMWdsMv81urdG/36QXuxhu7vdpkT
QSxTG/acwIe2KLW2jCY1lUkbI8GnTKdd2c59KsCsEdLgBgWRB6eub+bY66ks+3K5
8iqFyXCBNadD6mkMBupM3rgepujdHdjL5HKPYROJzrHOkffpu3A6LvbQcdCDF8cO
eSK8azE83T2+R0jGgwb+Nt3PibvqNpadlarJe3XYRJs+5rhNAyrl+9+5N94PLDmK
CMZZcvIa7cM=
=yjvM
-----END PGP SIGNATURE-----

« Back to bulletins