Amazon Linux AMI update for php55



Published: 2015-04-17
Risk High
Patch available YES
Number of vulnerabilities 3
CVE-ID CVE-2015-3329
CVE-2015-1351
CVE-2015-1352
CWE-ID CWE-121
CWE-416
CWE-476
Exploitation vector Network
Public exploit N/A
Vulnerable software
Subscribe
Amazon Linux AMI
Operating systems & Components / Operating system

Vendor Amazon Web Services

Security Bulletin

This security bulletin contains information about 3 vulnerabilities.

1) Stack-based buffer overflow

EUVDB-ID: #VU16109

Risk: High

CVSSv3.1: 8.5 [CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C]

CVE-ID: CVE-2015-3329

CWE-ID: CWE-121 - Stack-based buffer overflow

Exploit availability: No

Description

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The weakness exists due to multiple stack-based buffer overflows in the phar_set_inode function in phar_internal.h in PHP before 5.4.40, 5.5.x before 5.5.24, and 5.6.x before 5.6.8. A remote attacker can trigger memory corruption and execute arbitrary code via a crafted length value in a (1) tar, (2) phar, or (3) ZIP archive.

Mitigation

Update the affected packages:

i686:
    php55-tidy-5.5.24-1.100.amzn1.i686
    php55-process-5.5.24-1.100.amzn1.i686
    php55-snmp-5.5.24-1.100.amzn1.i686
    php55-enchant-5.5.24-1.100.amzn1.i686
    php55-opcache-5.5.24-1.100.amzn1.i686
    php55-mssql-5.5.24-1.100.amzn1.i686
    php55-pgsql-5.5.24-1.100.amzn1.i686
    php55-gmp-5.5.24-1.100.amzn1.i686
    php55-xml-5.5.24-1.100.amzn1.i686
    php55-ldap-5.5.24-1.100.amzn1.i686
    php55-debuginfo-5.5.24-1.100.amzn1.i686
    php55-mysqlnd-5.5.24-1.100.amzn1.i686
    php55-dba-5.5.24-1.100.amzn1.i686
    php55-odbc-5.5.24-1.100.amzn1.i686
    php55-devel-5.5.24-1.100.amzn1.i686
    php55-common-5.5.24-1.100.amzn1.i686
    php55-imap-5.5.24-1.100.amzn1.i686
    php55-recode-5.5.24-1.100.amzn1.i686
    php55-mbstring-5.5.24-1.100.amzn1.i686
    php55-pdo-5.5.24-1.100.amzn1.i686
    php55-pspell-5.5.24-1.100.amzn1.i686
    php55-gd-5.5.24-1.100.amzn1.i686
    php55-bcmath-5.5.24-1.100.amzn1.i686
    php55-5.5.24-1.100.amzn1.i686
    php55-xmlrpc-5.5.24-1.100.amzn1.i686
    php55-intl-5.5.24-1.100.amzn1.i686
    php55-embedded-5.5.24-1.100.amzn1.i686
    php55-mcrypt-5.5.24-1.100.amzn1.i686
    php55-soap-5.5.24-1.100.amzn1.i686
    php55-cli-5.5.24-1.100.amzn1.i686
    php55-fpm-5.5.24-1.100.amzn1.i686

src:
    php55-5.5.24-1.100.amzn1.src

x86_64:
    php55-dba-5.5.24-1.100.amzn1.x86_64
    php55-mysqlnd-5.5.24-1.100.amzn1.x86_64
    php55-process-5.5.24-1.100.amzn1.x86_64
    php55-cli-5.5.24-1.100.amzn1.x86_64
    php55-imap-5.5.24-1.100.amzn1.x86_64
    php55-mcrypt-5.5.24-1.100.amzn1.x86_64
    php55-embedded-5.5.24-1.100.amzn1.x86_64
    php55-snmp-5.5.24-1.100.amzn1.x86_64
    php55-intl-5.5.24-1.100.amzn1.x86_64
    php55-common-5.5.24-1.100.amzn1.x86_64
    php55-gmp-5.5.24-1.100.amzn1.x86_64
    php55-ldap-5.5.24-1.100.amzn1.x86_64
    php55-pdo-5.5.24-1.100.amzn1.x86_64
    php55-fpm-5.5.24-1.100.amzn1.x86_64
    php55-bcmath-5.5.24-1.100.amzn1.x86_64
    php55-tidy-5.5.24-1.100.amzn1.x86_64
    php55-opcache-5.5.24-1.100.amzn1.x86_64
    php55-enchant-5.5.24-1.100.amzn1.x86_64
    php55-mbstring-5.5.24-1.100.amzn1.x86_64
    php55-devel-5.5.24-1.100.amzn1.x86_64
    php55-gd-5.5.24-1.100.amzn1.x86_64
    php55-debuginfo-5.5.24-1.100.amzn1.x86_64
    php55-soap-5.5.24-1.100.amzn1.x86_64
    php55-xmlrpc-5.5.24-1.100.amzn1.x86_64
    php55-pgsql-5.5.24-1.100.amzn1.x86_64
    php55-pspell-5.5.24-1.100.amzn1.x86_64
    php55-5.5.24-1.100.amzn1.x86_64
    php55-xml-5.5.24-1.100.amzn1.x86_64
    php55-mssql-5.5.24-1.100.amzn1.x86_64
    php55-recode-5.5.24-1.100.amzn1.x86_64
    php55-odbc-5.5.24-1.100.amzn1.x86_64

Vulnerable software versions

Amazon Linux AMI: All versions

External links

http://alas.aws.amazon.com/ALAS-2015-510.html


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.

2) Use-after-free error

EUVDB-ID: #VU3380

Risk: Low

CVSSv3.1: 6.5 [CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H/E:U/RL:O/RC:C]

CVE-ID: CVE-2015-1351

CWE-ID: CWE-416 - Use After Free

Exploit availability: No

Description

The vulnerability allows a remote attacker to cause DoS condition.

The weakness exists due to use-after-free vulnerability in the _zend_shared_memdup function in zend_shared_alloc.c in the OPcache extension in PHP through 5.6.7. A remote attacker can trigger memory corruption and cause the service to crash.

Mitigation

Update the affected packages:

i686:
    php55-tidy-5.5.24-1.100.amzn1.i686
    php55-process-5.5.24-1.100.amzn1.i686
    php55-snmp-5.5.24-1.100.amzn1.i686
    php55-enchant-5.5.24-1.100.amzn1.i686
    php55-opcache-5.5.24-1.100.amzn1.i686
    php55-mssql-5.5.24-1.100.amzn1.i686
    php55-pgsql-5.5.24-1.100.amzn1.i686
    php55-gmp-5.5.24-1.100.amzn1.i686
    php55-xml-5.5.24-1.100.amzn1.i686
    php55-ldap-5.5.24-1.100.amzn1.i686
    php55-debuginfo-5.5.24-1.100.amzn1.i686
    php55-mysqlnd-5.5.24-1.100.amzn1.i686
    php55-dba-5.5.24-1.100.amzn1.i686
    php55-odbc-5.5.24-1.100.amzn1.i686
    php55-devel-5.5.24-1.100.amzn1.i686
    php55-common-5.5.24-1.100.amzn1.i686
    php55-imap-5.5.24-1.100.amzn1.i686
    php55-recode-5.5.24-1.100.amzn1.i686
    php55-mbstring-5.5.24-1.100.amzn1.i686
    php55-pdo-5.5.24-1.100.amzn1.i686
    php55-pspell-5.5.24-1.100.amzn1.i686
    php55-gd-5.5.24-1.100.amzn1.i686
    php55-bcmath-5.5.24-1.100.amzn1.i686
    php55-5.5.24-1.100.amzn1.i686
    php55-xmlrpc-5.5.24-1.100.amzn1.i686
    php55-intl-5.5.24-1.100.amzn1.i686
    php55-embedded-5.5.24-1.100.amzn1.i686
    php55-mcrypt-5.5.24-1.100.amzn1.i686
    php55-soap-5.5.24-1.100.amzn1.i686
    php55-cli-5.5.24-1.100.amzn1.i686
    php55-fpm-5.5.24-1.100.amzn1.i686

src:
    php55-5.5.24-1.100.amzn1.src

x86_64:
    php55-dba-5.5.24-1.100.amzn1.x86_64
    php55-mysqlnd-5.5.24-1.100.amzn1.x86_64
    php55-process-5.5.24-1.100.amzn1.x86_64
    php55-cli-5.5.24-1.100.amzn1.x86_64
    php55-imap-5.5.24-1.100.amzn1.x86_64
    php55-mcrypt-5.5.24-1.100.amzn1.x86_64
    php55-embedded-5.5.24-1.100.amzn1.x86_64
    php55-snmp-5.5.24-1.100.amzn1.x86_64
    php55-intl-5.5.24-1.100.amzn1.x86_64
    php55-common-5.5.24-1.100.amzn1.x86_64
    php55-gmp-5.5.24-1.100.amzn1.x86_64
    php55-ldap-5.5.24-1.100.amzn1.x86_64
    php55-pdo-5.5.24-1.100.amzn1.x86_64
    php55-fpm-5.5.24-1.100.amzn1.x86_64
    php55-bcmath-5.5.24-1.100.amzn1.x86_64
    php55-tidy-5.5.24-1.100.amzn1.x86_64
    php55-opcache-5.5.24-1.100.amzn1.x86_64
    php55-enchant-5.5.24-1.100.amzn1.x86_64
    php55-mbstring-5.5.24-1.100.amzn1.x86_64
    php55-devel-5.5.24-1.100.amzn1.x86_64
    php55-gd-5.5.24-1.100.amzn1.x86_64
    php55-debuginfo-5.5.24-1.100.amzn1.x86_64
    php55-soap-5.5.24-1.100.amzn1.x86_64
    php55-xmlrpc-5.5.24-1.100.amzn1.x86_64
    php55-pgsql-5.5.24-1.100.amzn1.x86_64
    php55-pspell-5.5.24-1.100.amzn1.x86_64
    php55-5.5.24-1.100.amzn1.x86_64
    php55-xml-5.5.24-1.100.amzn1.x86_64
    php55-mssql-5.5.24-1.100.amzn1.x86_64
    php55-recode-5.5.24-1.100.amzn1.x86_64
    php55-odbc-5.5.24-1.100.amzn1.x86_64

Vulnerable software versions

Amazon Linux AMI: All versions

External links

http://alas.aws.amazon.com/ALAS-2015-510.html


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.

3) NULL pointer dereference

EUVDB-ID: #VU16105

Risk: Low

CVSSv3.1: 5.7 [CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H/E:U/RL:O/RC:C]

CVE-ID: CVE-2015-1352

CWE-ID: CWE-476 - NULL Pointer Dereference

Exploit availability: No

Description

The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.

The vulnerability exists due to a NULL pointer dreference error in pgsql.c in the PostgreSQL (aka pgsql) extension in PHP through 5.6.7 does not validate token extraction for table names, which allows remote attackers to cause a denial of service (NULL pointer dereference and application crash) via a specially crafted name. A remote attacker can perform a denial of service (DoS) attack.

Mitigation

Update the affected packages:

i686:
    php55-tidy-5.5.24-1.100.amzn1.i686
    php55-process-5.5.24-1.100.amzn1.i686
    php55-snmp-5.5.24-1.100.amzn1.i686
    php55-enchant-5.5.24-1.100.amzn1.i686
    php55-opcache-5.5.24-1.100.amzn1.i686
    php55-mssql-5.5.24-1.100.amzn1.i686
    php55-pgsql-5.5.24-1.100.amzn1.i686
    php55-gmp-5.5.24-1.100.amzn1.i686
    php55-xml-5.5.24-1.100.amzn1.i686
    php55-ldap-5.5.24-1.100.amzn1.i686
    php55-debuginfo-5.5.24-1.100.amzn1.i686
    php55-mysqlnd-5.5.24-1.100.amzn1.i686
    php55-dba-5.5.24-1.100.amzn1.i686
    php55-odbc-5.5.24-1.100.amzn1.i686
    php55-devel-5.5.24-1.100.amzn1.i686
    php55-common-5.5.24-1.100.amzn1.i686
    php55-imap-5.5.24-1.100.amzn1.i686
    php55-recode-5.5.24-1.100.amzn1.i686
    php55-mbstring-5.5.24-1.100.amzn1.i686
    php55-pdo-5.5.24-1.100.amzn1.i686
    php55-pspell-5.5.24-1.100.amzn1.i686
    php55-gd-5.5.24-1.100.amzn1.i686
    php55-bcmath-5.5.24-1.100.amzn1.i686
    php55-5.5.24-1.100.amzn1.i686
    php55-xmlrpc-5.5.24-1.100.amzn1.i686
    php55-intl-5.5.24-1.100.amzn1.i686
    php55-embedded-5.5.24-1.100.amzn1.i686
    php55-mcrypt-5.5.24-1.100.amzn1.i686
    php55-soap-5.5.24-1.100.amzn1.i686
    php55-cli-5.5.24-1.100.amzn1.i686
    php55-fpm-5.5.24-1.100.amzn1.i686

src:
    php55-5.5.24-1.100.amzn1.src

x86_64:
    php55-dba-5.5.24-1.100.amzn1.x86_64
    php55-mysqlnd-5.5.24-1.100.amzn1.x86_64
    php55-process-5.5.24-1.100.amzn1.x86_64
    php55-cli-5.5.24-1.100.amzn1.x86_64
    php55-imap-5.5.24-1.100.amzn1.x86_64
    php55-mcrypt-5.5.24-1.100.amzn1.x86_64
    php55-embedded-5.5.24-1.100.amzn1.x86_64
    php55-snmp-5.5.24-1.100.amzn1.x86_64
    php55-intl-5.5.24-1.100.amzn1.x86_64
    php55-common-5.5.24-1.100.amzn1.x86_64
    php55-gmp-5.5.24-1.100.amzn1.x86_64
    php55-ldap-5.5.24-1.100.amzn1.x86_64
    php55-pdo-5.5.24-1.100.amzn1.x86_64
    php55-fpm-5.5.24-1.100.amzn1.x86_64
    php55-bcmath-5.5.24-1.100.amzn1.x86_64
    php55-tidy-5.5.24-1.100.amzn1.x86_64
    php55-opcache-5.5.24-1.100.amzn1.x86_64
    php55-enchant-5.5.24-1.100.amzn1.x86_64
    php55-mbstring-5.5.24-1.100.amzn1.x86_64
    php55-devel-5.5.24-1.100.amzn1.x86_64
    php55-gd-5.5.24-1.100.amzn1.x86_64
    php55-debuginfo-5.5.24-1.100.amzn1.x86_64
    php55-soap-5.5.24-1.100.amzn1.x86_64
    php55-xmlrpc-5.5.24-1.100.amzn1.x86_64
    php55-pgsql-5.5.24-1.100.amzn1.x86_64
    php55-pspell-5.5.24-1.100.amzn1.x86_64
    php55-5.5.24-1.100.amzn1.x86_64
    php55-xml-5.5.24-1.100.amzn1.x86_64
    php55-mssql-5.5.24-1.100.amzn1.x86_64
    php55-recode-5.5.24-1.100.amzn1.x86_64
    php55-odbc-5.5.24-1.100.amzn1.x86_64

Vulnerable software versions

Amazon Linux AMI: All versions

External links

http://alas.aws.amazon.com/ALAS-2015-510.html


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.



###SIDEBAR###