Input validation error in php7 (Alpine package)



Published: 2020-03-19
Risk Low
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2020-7066
CWE-ID CWE-20
Exploitation vector Network
Public exploit N/A
Vulnerable software
Subscribe
php7 (Alpine package)
Operating systems & Components / Operating system package or component

Vendor Alpine Linux Development Team

Security Bulletin

This security bulletin contains one low risk vulnerability.

1) 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

Install update from vendor's website.

Vulnerable software versions

php7 (Alpine package): 7.2.5-r0 - 7.2.27-r0

External links

http://git.alpinelinux.org/aports/commit/?id=88b6599af086a66070987236b518ccb5d5247aae
http://git.alpinelinux.org/aports/commit/?id=a12cce1e8e22a09bd37b01b17c6be3e1e7dc46d6
http://git.alpinelinux.org/aports/commit/?id=21a3c8982ee0931e3b842bfeb4f45191fa6769ee


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###