Bug 906487 (CVE-2014-8960)

Summary: VUL-0: CVE-2014-8960: phpMyAdmin: XSS vulnerability in error reporting functionality.
Product: [openSUSE] openSUSE Distribution Reporter: Andreas Stieger <Andreas.Stieger>
Component: SecurityAssignee: Security Team bot <security-team>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P4 - Low CC: chris, ecsos, jsegitz, security-team
Version: 13.2   
Target Milestone: ---   
Hardware: All   
OS: openSUSE 13.2   
URL: http://www.phpmyadmin.net/home_page/security/PMASA-2014-15.php
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Bug Depends on:    
Bug Blocks: 908363, 908364    

Description Andreas Stieger 2014-11-20 21:23:41 UTC
http://www.phpmyadmin.net/home_page/security/PMASA-2014-15.php

Announcement-ID: PMASA-2014-15

Date: 2014-11-20
Summary: XSS vulnerability in error reporting functionality.
Description: 
With a crafted file name it is possible to trigger an XSS in the error reporting page.

Severity

We consider this vulnerability to be non critical.
Mitigation factor

This vulnerability can be triggered only by someone who is logged in to phpMyAdmin, as the usual token protection prevents non-logged-in users from accessing the required page.
Affected Versions

Versions 4.1.x (prior to 4.1.14.7) and 4.2.x (prior to 4.2.12) are affected.
Solution

Upgrade to 4.1.14.7 or newer, or 4.2.12 or newer, or apply the patch listed below.
References

Thanks to Johannes Dahse (https://twitter.com/FluxReiners) for reporting this vulnerability.

Assigned CVE ids: CVE-2014-8960

CWE ids: CWE-661 CWE-79
Patches

The following commits have been made to fix this issue:

    9364e2eee5681681caf7205c0933bc18af11e233

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

    c641ad40c37bc562226c8a25cce77a273a07756b
Comment 1 Bernhard Wiedemann 2014-11-20 22:00:28 UTC
This is an autogenerated message for OBS integration:
This bug (906487) was mentioned in
https://build.opensuse.org/request/show/262534 Factory / phpMyAdmin
Comment 2 Andreas Stieger 2014-11-20 22:46:05 UTC
Please review maintenance request:
https://build.opensuse.org/request/show/262545
Comment 3 Bernhard Wiedemann 2014-11-20 23:00:51 UTC
This is an autogenerated message for OBS integration:
This bug (906487) was mentioned in
https://build.opensuse.org/request/show/262544 Factory / phpMyAdmin
Comment 4 Marcus Meissner 2014-12-05 08:39:01 UTC
released
Comment 5 Swamp Workflow Management 2014-12-05 09:06:14 UTC
openSUSE-SU-2014:1561-1: An update that fixes four vulnerabilities is now available.

Category: security (moderate)
Bug References: 906485,906486,906487,906488
CVE References: CVE-2014-8958,CVE-2014-8959,CVE-2014-8960,CVE-2014-8961
Sources used:
openSUSE 13.2 (src):    phpMyAdmin-4.2.12-4.1
openSUSE 13.1 (src):    phpMyAdmin-4.1.14.7-24.1
openSUSE 12.3 (src):    phpMyAdmin-4.1.14.7-1.32.1