Amazon Linux AMI update for php73



Risk High
Patch available YES
Number of vulnerabilities 2
CVE-ID CVE-2021-21704
CVE-2021-21705
CWE-ID CWE-121
CWE-918
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 2 vulnerabilities.

1) Stack-based buffer overflow

EUVDB-ID: #VU54566

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-2021-21704

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.

Multiple boundary errors exists within firebird_info_cb(), firebird_handle_doer(), firebird_stmt_execute(), and firebird_fetch_blob() function. A remote attacker can pass specially crafted input to the application, trigger a 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.29-1.30.amzn1.i686
    php73-7.3.29-1.30.amzn1.i686
    php73-imap-7.3.29-1.30.amzn1.i686
    php73-pdo-7.3.29-1.30.amzn1.i686
    php73-odbc-7.3.29-1.30.amzn1.i686
    php73-mysqlnd-7.3.29-1.30.amzn1.i686
    php73-ldap-7.3.29-1.30.amzn1.i686
    php73-opcache-7.3.29-1.30.amzn1.i686
    php73-dbg-7.3.29-1.30.amzn1.i686
    php73-snmp-7.3.29-1.30.amzn1.i686
    php73-common-7.3.29-1.30.amzn1.i686
    php73-pdo-dblib-7.3.29-1.30.amzn1.i686
    php73-dba-7.3.29-1.30.amzn1.i686
    php73-embedded-7.3.29-1.30.amzn1.i686
    php73-recode-7.3.29-1.30.amzn1.i686
    php73-devel-7.3.29-1.30.amzn1.i686
    php73-process-7.3.29-1.30.amzn1.i686
    php73-pspell-7.3.29-1.30.amzn1.i686
    php73-gd-7.3.29-1.30.amzn1.i686
    php73-json-7.3.29-1.30.amzn1.i686
    php73-tidy-7.3.29-1.30.amzn1.i686
    php73-debuginfo-7.3.29-1.30.amzn1.i686
    php73-xml-7.3.29-1.30.amzn1.i686
    php73-intl-7.3.29-1.30.amzn1.i686
    php73-soap-7.3.29-1.30.amzn1.i686
    php73-pgsql-7.3.29-1.30.amzn1.i686
    php73-mbstring-7.3.29-1.30.amzn1.i686
    php73-xmlrpc-7.3.29-1.30.amzn1.i686
    php73-gmp-7.3.29-1.30.amzn1.i686
    php73-bcmath-7.3.29-1.30.amzn1.i686
    php73-cli-7.3.29-1.30.amzn1.i686
    php73-enchant-7.3.29-1.30.amzn1.i686

src:
    php73-7.3.29-1.30.amzn1.src

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

Vulnerable software versions

Amazon Linux AMI: All versions

CPE2.3 External links

https://alas.aws.amazon.com/ALAS-2021-1532.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) Server-Side Request Forgery (SSRF)

EUVDB-ID: #VU54565

Risk: Medium

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

CVE-ID: CVE-2021-21705

CWE-ID: CWE-918 - Server-Side Request Forgery (SSRF)

Exploit availability: No

Description

The disclosed vulnerability allows a remote attacker to perform SSRF attacks.

The vulnerability exists due to insufficient validation of user-supplied input. A remote attacker can send a specially crafted HTTP request, bypass the FILTER_VALIDATE_URL and trick the application to initiate requests to arbitrary systems.

Successful exploitation of this vulnerability may allow a remote attacker gain access to sensitive data, located in the local network or send malicious requests to other servers from the vulnerable system.

Mitigation

Update the affected packages:

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

src:
    php73-7.3.29-1.30.amzn1.src

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

Vulnerable software versions

Amazon Linux AMI: All versions

CPE2.3 External links

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