Amazon Linux AMI update for php73



Risk High
Patch available YES
Number of vulnerabilities 4
CVE-ID CVE-2020-7064
CVE-2020-7065
CVE-2020-7066
CVE-2020-7067
CWE-ID CWE-125
CWE-121
CWE-20
Exploitation vector Network
Public exploit N/A
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) Out-of-bounds read

EUVDB-ID: #VU26259

Risk: Low

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

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:
    php73-fpm-7.3.17-1.25.amzn1.i686
    php73-soap-7.3.17-1.25.amzn1.i686
    php73-enchant-7.3.17-1.25.amzn1.i686
    php73-xmlrpc-7.3.17-1.25.amzn1.i686
    php73-devel-7.3.17-1.25.amzn1.i686
    php73-debuginfo-7.3.17-1.25.amzn1.i686
    php73-cli-7.3.17-1.25.amzn1.i686
    php73-gmp-7.3.17-1.25.amzn1.i686
    php73-json-7.3.17-1.25.amzn1.i686
    php73-odbc-7.3.17-1.25.amzn1.i686
    php73-ldap-7.3.17-1.25.amzn1.i686
    php73-imap-7.3.17-1.25.amzn1.i686
    php73-bcmath-7.3.17-1.25.amzn1.i686
    php73-mysqlnd-7.3.17-1.25.amzn1.i686
    php73-xml-7.3.17-1.25.amzn1.i686
    php73-pdo-dblib-7.3.17-1.25.amzn1.i686
    php73-pspell-7.3.17-1.25.amzn1.i686
    php73-dbg-7.3.17-1.25.amzn1.i686
    php73-pdo-7.3.17-1.25.amzn1.i686
    php73-common-7.3.17-1.25.amzn1.i686
    php73-embedded-7.3.17-1.25.amzn1.i686
    php73-7.3.17-1.25.amzn1.i686
    php73-pgsql-7.3.17-1.25.amzn1.i686
    php73-dba-7.3.17-1.25.amzn1.i686
    php73-mbstring-7.3.17-1.25.amzn1.i686
    php73-tidy-7.3.17-1.25.amzn1.i686
    php73-gd-7.3.17-1.25.amzn1.i686
    php73-opcache-7.3.17-1.25.amzn1.i686
    php73-intl-7.3.17-1.25.amzn1.i686
    php73-recode-7.3.17-1.25.amzn1.i686
    php73-process-7.3.17-1.25.amzn1.i686
    php73-snmp-7.3.17-1.25.amzn1.i686

src:
    php73-7.3.17-1.25.amzn1.src

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

Vulnerable software versions

Amazon Linux AMI: All versions

CPE2.3 External links

https://alas.aws.amazon.com/ALAS-2020-1368.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) Stack-based buffer overflow

EUVDB-ID: #VU26260

Risk: High

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:Amber]

CVE-ID: CVE-2020-7065

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 vulnerability exists due to a boundary error within php_unicode_tolower_full() function, as demonstrated by the mb_strtolower() call. A remote attacker can pass specially crafted data to the application that uses affected function, trigger stack-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:
    php73-fpm-7.3.17-1.25.amzn1.i686
    php73-soap-7.3.17-1.25.amzn1.i686
    php73-enchant-7.3.17-1.25.amzn1.i686
    php73-xmlrpc-7.3.17-1.25.amzn1.i686
    php73-devel-7.3.17-1.25.amzn1.i686
    php73-debuginfo-7.3.17-1.25.amzn1.i686
    php73-cli-7.3.17-1.25.amzn1.i686
    php73-gmp-7.3.17-1.25.amzn1.i686
    php73-json-7.3.17-1.25.amzn1.i686
    php73-odbc-7.3.17-1.25.amzn1.i686
    php73-ldap-7.3.17-1.25.amzn1.i686
    php73-imap-7.3.17-1.25.amzn1.i686
    php73-bcmath-7.3.17-1.25.amzn1.i686
    php73-mysqlnd-7.3.17-1.25.amzn1.i686
    php73-xml-7.3.17-1.25.amzn1.i686
    php73-pdo-dblib-7.3.17-1.25.amzn1.i686
    php73-pspell-7.3.17-1.25.amzn1.i686
    php73-dbg-7.3.17-1.25.amzn1.i686
    php73-pdo-7.3.17-1.25.amzn1.i686
    php73-common-7.3.17-1.25.amzn1.i686
    php73-embedded-7.3.17-1.25.amzn1.i686
    php73-7.3.17-1.25.amzn1.i686
    php73-pgsql-7.3.17-1.25.amzn1.i686
    php73-dba-7.3.17-1.25.amzn1.i686
    php73-mbstring-7.3.17-1.25.amzn1.i686
    php73-tidy-7.3.17-1.25.amzn1.i686
    php73-gd-7.3.17-1.25.amzn1.i686
    php73-opcache-7.3.17-1.25.amzn1.i686
    php73-intl-7.3.17-1.25.amzn1.i686
    php73-recode-7.3.17-1.25.amzn1.i686
    php73-process-7.3.17-1.25.amzn1.i686
    php73-snmp-7.3.17-1.25.amzn1.i686

src:
    php73-7.3.17-1.25.amzn1.src

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

Vulnerable software versions

Amazon Linux AMI: All versions

CPE2.3 External links

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

EUVDB-ID: #VU26257

Risk: Low

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

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:
    php73-fpm-7.3.17-1.25.amzn1.i686
    php73-soap-7.3.17-1.25.amzn1.i686
    php73-enchant-7.3.17-1.25.amzn1.i686
    php73-xmlrpc-7.3.17-1.25.amzn1.i686
    php73-devel-7.3.17-1.25.amzn1.i686
    php73-debuginfo-7.3.17-1.25.amzn1.i686
    php73-cli-7.3.17-1.25.amzn1.i686
    php73-gmp-7.3.17-1.25.amzn1.i686
    php73-json-7.3.17-1.25.amzn1.i686
    php73-odbc-7.3.17-1.25.amzn1.i686
    php73-ldap-7.3.17-1.25.amzn1.i686
    php73-imap-7.3.17-1.25.amzn1.i686
    php73-bcmath-7.3.17-1.25.amzn1.i686
    php73-mysqlnd-7.3.17-1.25.amzn1.i686
    php73-xml-7.3.17-1.25.amzn1.i686
    php73-pdo-dblib-7.3.17-1.25.amzn1.i686
    php73-pspell-7.3.17-1.25.amzn1.i686
    php73-dbg-7.3.17-1.25.amzn1.i686
    php73-pdo-7.3.17-1.25.amzn1.i686
    php73-common-7.3.17-1.25.amzn1.i686
    php73-embedded-7.3.17-1.25.amzn1.i686
    php73-7.3.17-1.25.amzn1.i686
    php73-pgsql-7.3.17-1.25.amzn1.i686
    php73-dba-7.3.17-1.25.amzn1.i686
    php73-mbstring-7.3.17-1.25.amzn1.i686
    php73-tidy-7.3.17-1.25.amzn1.i686
    php73-gd-7.3.17-1.25.amzn1.i686
    php73-opcache-7.3.17-1.25.amzn1.i686
    php73-intl-7.3.17-1.25.amzn1.i686
    php73-recode-7.3.17-1.25.amzn1.i686
    php73-process-7.3.17-1.25.amzn1.i686
    php73-snmp-7.3.17-1.25.amzn1.i686

src:
    php73-7.3.17-1.25.amzn1.src

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

Vulnerable software versions

Amazon Linux AMI: All versions

CPE2.3 External links

https://alas.aws.amazon.com/ALAS-2020-1368.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.

4) Out-of-bounds read

EUVDB-ID: #VU26979

Risk: Medium

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

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:
    php73-fpm-7.3.17-1.25.amzn1.i686
    php73-soap-7.3.17-1.25.amzn1.i686
    php73-enchant-7.3.17-1.25.amzn1.i686
    php73-xmlrpc-7.3.17-1.25.amzn1.i686
    php73-devel-7.3.17-1.25.amzn1.i686
    php73-debuginfo-7.3.17-1.25.amzn1.i686
    php73-cli-7.3.17-1.25.amzn1.i686
    php73-gmp-7.3.17-1.25.amzn1.i686
    php73-json-7.3.17-1.25.amzn1.i686
    php73-odbc-7.3.17-1.25.amzn1.i686
    php73-ldap-7.3.17-1.25.amzn1.i686
    php73-imap-7.3.17-1.25.amzn1.i686
    php73-bcmath-7.3.17-1.25.amzn1.i686
    php73-mysqlnd-7.3.17-1.25.amzn1.i686
    php73-xml-7.3.17-1.25.amzn1.i686
    php73-pdo-dblib-7.3.17-1.25.amzn1.i686
    php73-pspell-7.3.17-1.25.amzn1.i686
    php73-dbg-7.3.17-1.25.amzn1.i686
    php73-pdo-7.3.17-1.25.amzn1.i686
    php73-common-7.3.17-1.25.amzn1.i686
    php73-embedded-7.3.17-1.25.amzn1.i686
    php73-7.3.17-1.25.amzn1.i686
    php73-pgsql-7.3.17-1.25.amzn1.i686
    php73-dba-7.3.17-1.25.amzn1.i686
    php73-mbstring-7.3.17-1.25.amzn1.i686
    php73-tidy-7.3.17-1.25.amzn1.i686
    php73-gd-7.3.17-1.25.amzn1.i686
    php73-opcache-7.3.17-1.25.amzn1.i686
    php73-intl-7.3.17-1.25.amzn1.i686
    php73-recode-7.3.17-1.25.amzn1.i686
    php73-process-7.3.17-1.25.amzn1.i686
    php73-snmp-7.3.17-1.25.amzn1.i686

src:
    php73-7.3.17-1.25.amzn1.src

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

Vulnerable software versions

Amazon Linux AMI: All versions

CPE2.3 External links

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