Amazon Linux AMI update for php55



Risk Medium
Patch available YES
Number of vulnerabilities 4
CVE-ID CVE-2014-1943
CVE-2013-7327
CVE-2014-2270
CVE-2013-7226
CWE-ID CWE-400
CWE-476
CWE-125
CWE-122
Exploitation vector Network
Public exploit Public exploit code for vulnerability #3 is available.
Vulnerable software
Amazon Linux AMI
Operating systems & Components / Operating system

Vendor Amazon Web Services

Security Bulletin

This security bulletin contains information about 4 vulnerabilities.

1) Resource exhaustion

EUVDB-ID: #VU16078

Risk: Low

CVSSv4.0: 1.1 [CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:U/U:Clear]

CVE-ID: CVE-2014-1943

CWE-ID: CWE-400 - Resource exhaustion

Exploit availability: No

Description

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

The vulnerability exists due to infinite recursion when insufficient validation of user-supplied input. A local attacker can trigger CPU consumption and cause the service to crash.

Mitigation

Update the affected packages:

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

src:
    php55-5.5.10-1.67.amzn1.src

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

Vulnerable software versions

Amazon Linux AMI: All versions

CPE2.3 External links

https://alas.aws.amazon.com/ALAS-2014-314.html


Q & A

Can this vulnerability be exploited remotely?

No. This vulnerability can be exploited locally. The attacker should have authentication credentials and successfully authenticate on the system.

Is there known malware, which exploits this vulnerability?

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

2) NULL pointer dereference

EUVDB-ID: #VU16079

Risk: Low

CVSSv4.0: 6.6 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U/U:Clear]

CVE-ID: CVE-2013-7327

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 dereference error when the gdImageCrop function in ext/gd/gd.c in PHP 5.5.x before 5.5.9 does not check return value. A remote attacker can trigger NULL pointer dereference via invalid imagecrop arguments and cause the service to crash.

Mitigation

Update the affected packages:

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

src:
    php55-5.5.10-1.67.amzn1.src

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

Vulnerable software versions

Amazon Linux AMI: All versions

CPE2.3 External links

https://alas.aws.amazon.com/ALAS-2014-314.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) Out-of-bounds read

EUVDB-ID: #VU16082

Risk: Low

CVSSv4.0: 7.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:P/U:Clear]

CVE-ID: CVE-2014-2270

CWE-ID: CWE-125 - Out-of-bounds read

Exploit availability: No

Description

The vulnerability allows a remote attacker to cause DoS condition.

The vulnerability exists due to out-of-bounds read error in softmagic.c in file before 5.17 and libmagic. A remote attacker can trigger out-of-bounds read error via crafted offsets in the softmagic of a PE executable and cause the service to crash.

Mitigation

Update the affected packages:

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

src:
    php55-5.5.10-1.67.amzn1.src

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

Vulnerable software versions

Amazon Linux AMI: All versions

CPE2.3 External links

https://alas.aws.amazon.com/ALAS-2014-314.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. However, proof of concept for this vulnerability is available.

4) Heap-based buffer overflow

EUVDB-ID: #VU16066

Risk: Medium

CVSSv4.0: 7.2 [CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Green]

CVE-ID: CVE-2013-7226

CWE-ID: CWE-122 - Heap-based Buffer Overflow

Exploit availability: No

Description

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

The vulnerability exists due to integer overflow in the gdImageCrop function in ext/gd/gd.c in PHP 5.5.x before 5.5.9. A remote attacker can use an imagecrop function call with a large x dimension value to trigger heap-based buffer overflow and execute arbitrary code on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.

Mitigation

Update the affected packages:

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

src:
    php55-5.5.10-1.67.amzn1.src

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

Vulnerable software versions

Amazon Linux AMI: All versions

CPE2.3 External links

https://alas.aws.amazon.com/ALAS-2014-314.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###