#VU16559 Privilege escalation in Scala


Published: 2018-12-15 | Updated: 2018-12-17

Vulnerability identifier: #VU16559

Vulnerability risk: Low

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

CVE-ID: CVE-2017-15288

CWE-ID: CWE-264

Exploitation vector: Local

Exploit availability: No

Vulnerable software:
Scala
Universal components / Libraries / Scripting languages

Vendor: Scala

Description

The vulnerability allows a local attacker to gain elevated privileges on the target system.

The vulnerability exists due to the compilation daemon uses weak permissions for private files in /tmp/scala-devel/${USER:shared}/scalac-compile-server-port. A local attacker can write to arbitrary class files and consequently gain privileges.

Mitigation
The vulnerability has been fixed in the versions 2.10.7, 2.11.12, 2.12.4.

Vulnerable software versions

Scala: 2.1.0 - 2.12.3


External links
http://www.scala-lang.org/news/security-update-nov17.html


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.


Latest bulletins with this vulnerability