Amazon Linux AMI update for php72



Published: 2020-05-14
Risk Medium
Patch available YES
Number of vulnerabilities 3
CVE-ID CVE-2020-7064
CVE-2020-7066
CVE-2020-7067
CWE-ID CWE-125
CWE-20
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) Out-of-bounds read

EUVDB-ID: #VU26259

Risk: Low

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

CVE-ID: CVE-2020-7064

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

Exploit availability: No

Description

The vulnerability allows a remote attacker to gain access to potentially sensitive information.

The vulnerability exists due to a boundary condition within exif_read_data() PHP function. A remote attacker can pass specially crafted data to the application that uses the vulnerable function, trigger one byte out-of-bounds read error and read contents of memory on the system.

Mitigation

Update the affected packages:

i686:
    php72-soap-7.2.30-1.22.amzn1.i686
    php72-pspell-7.2.30-1.22.amzn1.i686
    php72-pdo-7.2.30-1.22.amzn1.i686
    php72-fpm-7.2.30-1.22.amzn1.i686
    php72-common-7.2.30-1.22.amzn1.i686
    php72-process-7.2.30-1.22.amzn1.i686
    php72-intl-7.2.30-1.22.amzn1.i686
    php72-pdo-dblib-7.2.30-1.22.amzn1.i686
    php72-mysqlnd-7.2.30-1.22.amzn1.i686
    php72-cli-7.2.30-1.22.amzn1.i686
    php72-tidy-7.2.30-1.22.amzn1.i686
    php72-dbg-7.2.30-1.22.amzn1.i686
    php72-enchant-7.2.30-1.22.amzn1.i686
    php72-embedded-7.2.30-1.22.amzn1.i686
    php72-snmp-7.2.30-1.22.amzn1.i686
    php72-mbstring-7.2.30-1.22.amzn1.i686
    php72-7.2.30-1.22.amzn1.i686
    php72-opcache-7.2.30-1.22.amzn1.i686
    php72-debuginfo-7.2.30-1.22.amzn1.i686
    php72-pgsql-7.2.30-1.22.amzn1.i686
    php72-devel-7.2.30-1.22.amzn1.i686
    php72-gmp-7.2.30-1.22.amzn1.i686
    php72-bcmath-7.2.30-1.22.amzn1.i686
    php72-json-7.2.30-1.22.amzn1.i686
    php72-xml-7.2.30-1.22.amzn1.i686
    php72-odbc-7.2.30-1.22.amzn1.i686
    php72-imap-7.2.30-1.22.amzn1.i686
    php72-dba-7.2.30-1.22.amzn1.i686
    php72-ldap-7.2.30-1.22.amzn1.i686
    php72-xmlrpc-7.2.30-1.22.amzn1.i686
    php72-gd-7.2.30-1.22.amzn1.i686
    php72-recode-7.2.30-1.22.amzn1.i686

src:
    php72-7.2.30-1.22.amzn1.src

x86_64:
    php72-pdo-dblib-7.2.30-1.22.amzn1.x86_64
    php72-gmp-7.2.30-1.22.amzn1.x86_64
    php72-intl-7.2.30-1.22.amzn1.x86_64
    php72-devel-7.2.30-1.22.amzn1.x86_64
    php72-gd-7.2.30-1.22.amzn1.x86_64
    php72-mysqlnd-7.2.30-1.22.amzn1.x86_64
    php72-bcmath-7.2.30-1.22.amzn1.x86_64
    php72-ldap-7.2.30-1.22.amzn1.x86_64
    php72-dbg-7.2.30-1.22.amzn1.x86_64
    php72-dba-7.2.30-1.22.amzn1.x86_64
    php72-debuginfo-7.2.30-1.22.amzn1.x86_64
    php72-pdo-7.2.30-1.22.amzn1.x86_64
    php72-snmp-7.2.30-1.22.amzn1.x86_64
    php72-mbstring-7.2.30-1.22.amzn1.x86_64
    php72-xml-7.2.30-1.22.amzn1.x86_64
    php72-pspell-7.2.30-1.22.amzn1.x86_64
    php72-embedded-7.2.30-1.22.amzn1.x86_64
    php72-fpm-7.2.30-1.22.amzn1.x86_64
    php72-opcache-7.2.30-1.22.amzn1.x86_64
    php72-7.2.30-1.22.amzn1.x86_64
    php72-imap-7.2.30-1.22.amzn1.x86_64
    php72-soap-7.2.30-1.22.amzn1.x86_64
    php72-json-7.2.30-1.22.amzn1.x86_64
    php72-xmlrpc-7.2.30-1.22.amzn1.x86_64
    php72-cli-7.2.30-1.22.amzn1.x86_64
    php72-recode-7.2.30-1.22.amzn1.x86_64
    php72-tidy-7.2.30-1.22.amzn1.x86_64
    php72-odbc-7.2.30-1.22.amzn1.x86_64
    php72-enchant-7.2.30-1.22.amzn1.x86_64
    php72-pgsql-7.2.30-1.22.amzn1.x86_64
    php72-process-7.2.30-1.22.amzn1.x86_64
    php72-common-7.2.30-1.22.amzn1.x86_64

Vulnerable software versions

Amazon Linux AMI: All versions

External links

http://alas.aws.amazon.com/ALAS-2020-1367.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) Input validation error

EUVDB-ID: #VU26257

Risk: Low

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

CVE-ID: CVE-2020-7066

CWE-ID: CWE-20 - Improper input validation

Exploit availability: No

Description

The vulnerability allows a remote attacker to bypass certain security restrictions.

The vulnerability exists due to get_headers() PHP function silently truncates headers after receiving a NULL byte character. A remote attacker can abuse this behavior to bypass implemented security restrictions with in the application.

Mitigation

Update the affected packages:

i686:
    php72-soap-7.2.30-1.22.amzn1.i686
    php72-pspell-7.2.30-1.22.amzn1.i686
    php72-pdo-7.2.30-1.22.amzn1.i686
    php72-fpm-7.2.30-1.22.amzn1.i686
    php72-common-7.2.30-1.22.amzn1.i686
    php72-process-7.2.30-1.22.amzn1.i686
    php72-intl-7.2.30-1.22.amzn1.i686
    php72-pdo-dblib-7.2.30-1.22.amzn1.i686
    php72-mysqlnd-7.2.30-1.22.amzn1.i686
    php72-cli-7.2.30-1.22.amzn1.i686
    php72-tidy-7.2.30-1.22.amzn1.i686
    php72-dbg-7.2.30-1.22.amzn1.i686
    php72-enchant-7.2.30-1.22.amzn1.i686
    php72-embedded-7.2.30-1.22.amzn1.i686
    php72-snmp-7.2.30-1.22.amzn1.i686
    php72-mbstring-7.2.30-1.22.amzn1.i686
    php72-7.2.30-1.22.amzn1.i686
    php72-opcache-7.2.30-1.22.amzn1.i686
    php72-debuginfo-7.2.30-1.22.amzn1.i686
    php72-pgsql-7.2.30-1.22.amzn1.i686
    php72-devel-7.2.30-1.22.amzn1.i686
    php72-gmp-7.2.30-1.22.amzn1.i686
    php72-bcmath-7.2.30-1.22.amzn1.i686
    php72-json-7.2.30-1.22.amzn1.i686
    php72-xml-7.2.30-1.22.amzn1.i686
    php72-odbc-7.2.30-1.22.amzn1.i686
    php72-imap-7.2.30-1.22.amzn1.i686
    php72-dba-7.2.30-1.22.amzn1.i686
    php72-ldap-7.2.30-1.22.amzn1.i686
    php72-xmlrpc-7.2.30-1.22.amzn1.i686
    php72-gd-7.2.30-1.22.amzn1.i686
    php72-recode-7.2.30-1.22.amzn1.i686

src:
    php72-7.2.30-1.22.amzn1.src

x86_64:
    php72-pdo-dblib-7.2.30-1.22.amzn1.x86_64
    php72-gmp-7.2.30-1.22.amzn1.x86_64
    php72-intl-7.2.30-1.22.amzn1.x86_64
    php72-devel-7.2.30-1.22.amzn1.x86_64
    php72-gd-7.2.30-1.22.amzn1.x86_64
    php72-mysqlnd-7.2.30-1.22.amzn1.x86_64
    php72-bcmath-7.2.30-1.22.amzn1.x86_64
    php72-ldap-7.2.30-1.22.amzn1.x86_64
    php72-dbg-7.2.30-1.22.amzn1.x86_64
    php72-dba-7.2.30-1.22.amzn1.x86_64
    php72-debuginfo-7.2.30-1.22.amzn1.x86_64
    php72-pdo-7.2.30-1.22.amzn1.x86_64
    php72-snmp-7.2.30-1.22.amzn1.x86_64
    php72-mbstring-7.2.30-1.22.amzn1.x86_64
    php72-xml-7.2.30-1.22.amzn1.x86_64
    php72-pspell-7.2.30-1.22.amzn1.x86_64
    php72-embedded-7.2.30-1.22.amzn1.x86_64
    php72-fpm-7.2.30-1.22.amzn1.x86_64
    php72-opcache-7.2.30-1.22.amzn1.x86_64
    php72-7.2.30-1.22.amzn1.x86_64
    php72-imap-7.2.30-1.22.amzn1.x86_64
    php72-soap-7.2.30-1.22.amzn1.x86_64
    php72-json-7.2.30-1.22.amzn1.x86_64
    php72-xmlrpc-7.2.30-1.22.amzn1.x86_64
    php72-cli-7.2.30-1.22.amzn1.x86_64
    php72-recode-7.2.30-1.22.amzn1.x86_64
    php72-tidy-7.2.30-1.22.amzn1.x86_64
    php72-odbc-7.2.30-1.22.amzn1.x86_64
    php72-enchant-7.2.30-1.22.amzn1.x86_64
    php72-pgsql-7.2.30-1.22.amzn1.x86_64
    php72-process-7.2.30-1.22.amzn1.x86_64
    php72-common-7.2.30-1.22.amzn1.x86_64

Vulnerable software versions

Amazon Linux AMI: All versions

External links

http://alas.aws.amazon.com/ALAS-2020-1367.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: #VU26979

Risk: Medium

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

CVE-ID: CVE-2020-7067

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

Exploit availability: No

Description

The vulnerability allows a remote attacker to gain access to potentially sensitive information.

The vulnerability exists due to a boundary condition when processing untrusted input passed to urldecode() PHP function. A remote attacker can send specially crafted data to the application that uses the affected function and gain access to sensitive information on the system

Mitigation

Update the affected packages:

i686:
    php72-soap-7.2.30-1.22.amzn1.i686
    php72-pspell-7.2.30-1.22.amzn1.i686
    php72-pdo-7.2.30-1.22.amzn1.i686
    php72-fpm-7.2.30-1.22.amzn1.i686
    php72-common-7.2.30-1.22.amzn1.i686
    php72-process-7.2.30-1.22.amzn1.i686
    php72-intl-7.2.30-1.22.amzn1.i686
    php72-pdo-dblib-7.2.30-1.22.amzn1.i686
    php72-mysqlnd-7.2.30-1.22.amzn1.i686
    php72-cli-7.2.30-1.22.amzn1.i686
    php72-tidy-7.2.30-1.22.amzn1.i686
    php72-dbg-7.2.30-1.22.amzn1.i686
    php72-enchant-7.2.30-1.22.amzn1.i686
    php72-embedded-7.2.30-1.22.amzn1.i686
    php72-snmp-7.2.30-1.22.amzn1.i686
    php72-mbstring-7.2.30-1.22.amzn1.i686
    php72-7.2.30-1.22.amzn1.i686
    php72-opcache-7.2.30-1.22.amzn1.i686
    php72-debuginfo-7.2.30-1.22.amzn1.i686
    php72-pgsql-7.2.30-1.22.amzn1.i686
    php72-devel-7.2.30-1.22.amzn1.i686
    php72-gmp-7.2.30-1.22.amzn1.i686
    php72-bcmath-7.2.30-1.22.amzn1.i686
    php72-json-7.2.30-1.22.amzn1.i686
    php72-xml-7.2.30-1.22.amzn1.i686
    php72-odbc-7.2.30-1.22.amzn1.i686
    php72-imap-7.2.30-1.22.amzn1.i686
    php72-dba-7.2.30-1.22.amzn1.i686
    php72-ldap-7.2.30-1.22.amzn1.i686
    php72-xmlrpc-7.2.30-1.22.amzn1.i686
    php72-gd-7.2.30-1.22.amzn1.i686
    php72-recode-7.2.30-1.22.amzn1.i686

src:
    php72-7.2.30-1.22.amzn1.src

x86_64:
    php72-pdo-dblib-7.2.30-1.22.amzn1.x86_64
    php72-gmp-7.2.30-1.22.amzn1.x86_64
    php72-intl-7.2.30-1.22.amzn1.x86_64
    php72-devel-7.2.30-1.22.amzn1.x86_64
    php72-gd-7.2.30-1.22.amzn1.x86_64
    php72-mysqlnd-7.2.30-1.22.amzn1.x86_64
    php72-bcmath-7.2.30-1.22.amzn1.x86_64
    php72-ldap-7.2.30-1.22.amzn1.x86_64
    php72-dbg-7.2.30-1.22.amzn1.x86_64
    php72-dba-7.2.30-1.22.amzn1.x86_64
    php72-debuginfo-7.2.30-1.22.amzn1.x86_64
    php72-pdo-7.2.30-1.22.amzn1.x86_64
    php72-snmp-7.2.30-1.22.amzn1.x86_64
    php72-mbstring-7.2.30-1.22.amzn1.x86_64
    php72-xml-7.2.30-1.22.amzn1.x86_64
    php72-pspell-7.2.30-1.22.amzn1.x86_64
    php72-embedded-7.2.30-1.22.amzn1.x86_64
    php72-fpm-7.2.30-1.22.amzn1.x86_64
    php72-opcache-7.2.30-1.22.amzn1.x86_64
    php72-7.2.30-1.22.amzn1.x86_64
    php72-imap-7.2.30-1.22.amzn1.x86_64
    php72-soap-7.2.30-1.22.amzn1.x86_64
    php72-json-7.2.30-1.22.amzn1.x86_64
    php72-xmlrpc-7.2.30-1.22.amzn1.x86_64
    php72-cli-7.2.30-1.22.amzn1.x86_64
    php72-recode-7.2.30-1.22.amzn1.x86_64
    php72-tidy-7.2.30-1.22.amzn1.x86_64
    php72-odbc-7.2.30-1.22.amzn1.x86_64
    php72-enchant-7.2.30-1.22.amzn1.x86_64
    php72-pgsql-7.2.30-1.22.amzn1.x86_64
    php72-process-7.2.30-1.22.amzn1.x86_64
    php72-common-7.2.30-1.22.amzn1.x86_64

Vulnerable software versions

Amazon Linux AMI: All versions

External links

http://alas.aws.amazon.com/ALAS-2020-1367.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###