Race condition in php7 (Alpine package)



Published: 2018-07-24
Risk Low
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2019-9637
CWE-ID CWE-362
Exploitation vector Local
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) Race condition

EUVDB-ID: #VU21220

Risk: Low

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

CVE-ID: CVE-2019-9637

CWE-ID: CWE-362 - Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')

Exploit availability: No

Description

The vulnerability allows a local user to escalate privileges on the system.

The vulnerability exists due to a race condition when renaming files on the system, as the rename() PHP function temporary creates files with weak privileges. A local user can exploit this behavior to gain access to sensitive information.

Mitigation

Install update from vendor's website.

Vulnerable software versions

php7 (Alpine package): 7.1.17-r0 - 7.2.13-r0

External links

http://git.alpinelinux.org/aports/commit/?id=ebcd3398f2d6e6f536fbfeaba9cc3b84ac377251
http://git.alpinelinux.org/aports/commit/?id=583c0d55e9e7208425dd53eb1739a7010b6b0dbc
http://git.alpinelinux.org/aports/commit/?id=7c1daf27a04307093cef0fcb3f1c5ab4bb68eee1
http://git.alpinelinux.org/aports/commit/?id=d42b915a2245405763bb485ededfbdb01393f109


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.



###SIDEBAR###