Bug 928511 (CVE-2015-2783) - VUL-1: CVE-2015-2783: php5,php53: Buffer Over-read in unserialize when parsing Phar
Summary: VUL-1: CVE-2015-2783: php5,php53: Buffer Over-read in unserialize when parsin...
Status: RESOLVED FIXED
Alias: CVE-2015-2783
Product: SUSE Security Incidents
Classification: Novell Products
Component: Incidents (show other bugs)
Version: unspecified
Hardware: Other Other
: P4 - Low : Normal
Target Milestone: ---
Assignee: Security Team bot
QA Contact: Security Team bot
URL: https://smash.suse.de/issue/116059/
Whiteboard: maint:released:sle11-sp3:61841 CVSSv2...
Keywords:
Depends on:
Blocks:
 
Reported: 2015-04-24 09:52 UTC by Andreas Stieger
Modified: 2016-06-21 11:13 UTC (History)
1 user (show)

See Also:
Found By: Security Response Team
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas Stieger 2015-04-24 09:52:58 UTC
PHP versions 5.4.40, 5.5.24, and 5.6.8 provide a fix for Phar PHP extension which previously did not properly processed a crafted Phar data. This issue could lead to a sensitive information disclosure.

Upstream fix: http://git.php.net/?p=php-src.git;a=commit;h=9faaee66fa493372c7340b1ab05f8fd115131a42
Upstream bug: https://bugs.php.net/bug.php?id=69324

References:
https://bugzilla.redhat.com/show_bug.cgi?id=1213446
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2015-2783
http://people.canonical.com/~ubuntu-security/cve/2015/CVE-2015-2783.html
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2015-2783

-phar bundles since php 5.3
Comment 2 Swamp Workflow Management 2015-04-24 22:00:27 UTC
bugbot adjusting priority
Comment 3 Petr Gajdos 2015-04-27 12:48:33 UTC
QA:

$ cat test.php
<?php
try {
$p = new Phar(dirname(__FILE__).'/bug69324.phar', 0);
$meta=$p->getMetadata();
var_dump($meta);
} catch(Exception $e) {
	echo $e->getMessage();
}
?>

BEFORE:

$ php test.php
NULL

AFTER:

$ php test.php
internal corruption of phar "/928511/bug69324.phar" (truncated manifest entry):
Comment 4 Petr Gajdos 2015-04-27 12:48:48 UTC
Affected: 11sp3 .. 13.2
Comment 5 Petr Gajdos 2015-04-28 08:10:17 UTC
openSUSE: mr#304307
sle12:    mr#56496
11sp3:    sr#56494
Comment 7 Swamp Workflow Management 2015-05-12 15:06:04 UTC
openSUSE-SU-2015:0855-1: An update that solves three vulnerabilities and has one errata is now available.

Category: security (important)
Bug References: 927147,928408,928506,928511
CVE References: CVE-2015-2783,CVE-2015-3329,CVE-2015-3330
Sources used:
openSUSE 13.2 (src):    php5-5.6.1-21.1
openSUSE 13.1 (src):    php5-5.4.20-52.1
Comment 8 Swamp Workflow Management 2015-05-13 13:08:47 UTC
SUSE-SU-2015:0868-1: An update that solves 9 vulnerabilities and has one errata is now available.

Category: security (important)
Bug References: 922022,922451,922452,923946,924970,924972,925109,928408,928506,928511
CVE References: CVE-2014-9705,CVE-2014-9709,CVE-2015-2301,CVE-2015-2305,CVE-2015-2348,CVE-2015-2783,CVE-2015-2787,CVE-2015-3329,CVE-2015-3330
Sources used:
SUSE Linux Enterprise Software Development Kit 12 (src):    php5-5.5.14-22.1
SUSE Linux Enterprise Module for Web Scripting 12 (src):    php5-5.5.14-22.1
Comment 9 Swamp Workflow Management 2015-06-09 12:06:31 UTC
SUSE-SU-2015:1018-1: An update that solves 11 vulnerabilities and has one errata is now available.

Category: security (moderate)
Bug References: 922022,922451,922452,923946,924972,925109,928506,928511,931421,931769,931772,931776
CVE References: CVE-2014-9705,CVE-2014-9709,CVE-2015-2301,CVE-2015-2305,CVE-2015-2783,CVE-2015-2787,CVE-2015-3329,CVE-2015-4021,CVE-2015-4022,CVE-2015-4024,CVE-2015-4026
Sources used:
SUSE Linux Enterprise Software Development Kit 11 SP3 (src):    php53-5.3.17-0.41.1
SUSE Linux Enterprise Server 11 SP3 for VMware (src):    php53-5.3.17-0.41.1
SUSE Linux Enterprise Server 11 SP3 (src):    php53-5.3.17-0.41.1
Comment 10 Marcus Meissner 2015-09-10 15:19:10 UTC
released
Comment 11 Swamp Workflow Management 2016-06-21 11:13:52 UTC
SUSE-SU-2016:1638-1: An update that fixes 85 vulnerabilities is now available.

Category: security (important)
Bug References: 884986,884987,884989,884990,884991,884992,885961,886059,886060,893849,893853,902357,902360,902368,910659,914690,917150,918768,919080,921950,922451,922452,923945,924972,925109,928506,928511,931421,931769,931772,931776,933227,935074,935224,935226,935227,935229,935232,935234,935274,935275,938719,938721,942291,942296,945412,945428,949961,968284,969821,971611,971612,971912,973351,973792,976996,976997,977003,977005,977991,977994,978827,978828,978829,978830,980366,980373,980375,981050,982010,982011,982012,982013,982162
CVE References: CVE-2004-1019,CVE-2006-7243,CVE-2014-0207,CVE-2014-3478,CVE-2014-3479,CVE-2014-3480,CVE-2014-3487,CVE-2014-3515,CVE-2014-3597,CVE-2014-3668,CVE-2014-3669,CVE-2014-3670,CVE-2014-4049,CVE-2014-4670,CVE-2014-4698,CVE-2014-4721,CVE-2014-5459,CVE-2014-8142,CVE-2014-9652,CVE-2014-9705,CVE-2014-9709,CVE-2014-9767,CVE-2015-0231,CVE-2015-0232,CVE-2015-0273,CVE-2015-1352,CVE-2015-2301,CVE-2015-2305,CVE-2015-2783,CVE-2015-2787,CVE-2015-3152,CVE-2015-3329,CVE-2015-3411,CVE-2015-3412,CVE-2015-4021,CVE-2015-4022,CVE-2015-4024,CVE-2015-4026,CVE-2015-4116,CVE-2015-4148,CVE-2015-4598,CVE-2015-4599,CVE-2015-4600,CVE-2015-4601,CVE-2015-4602,CVE-2015-4603,CVE-2015-4643,CVE-2015-4644,CVE-2015-5161,CVE-2015-5589,CVE-2015-5590,CVE-2015-6831,CVE-2015-6833,CVE-2015-6836,CVE-2015-6837,CVE-2015-6838,CVE-2015-7803,CVE-2015-8835,CVE-2015-8838,CVE-2015-8866,CVE-2015-8867,CVE-2015-8873,CVE-2015-8874,CVE-2015-8879,CVE-2016-2554,CVE-2016-3141,CVE-2016-3142,CVE-2016-3185,CVE-2016-4070,CVE-2016-4073,CVE-2016-4342,CVE-2016-4346,CVE-2016-4537,CVE-2016-4538,CVE-2016-4539,CVE-2016-4540,CVE-2016-4541,CVE-2016-4542,CVE-2016-4543,CVE-2016-4544,CVE-2016-5093,CVE-2016-5094,CVE-2016-5095,CVE-2016-5096,CVE-2016-5114
Sources used:
SUSE Linux Enterprise Server 11-SP2-LTSS (src):    php53-5.3.17-47.1