#VU61670 Permissions, Privileges, and Access Controls in shelljs


Published: 2022-03-28

Vulnerability identifier: #VU61670

Vulnerability risk: Low

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

CVE-ID: CVE-2022-0144

CWE-ID: CWE-264

Exploitation vector: Local

Exploit availability: No

Vulnerable software:
shelljs
Web applications / JS libraries

Vendor: ShellJS

Description

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

The vulnerability exists due to application does not properly impose security restrictions, which leads to security restrictions bypass and privilege escalation.

Mitigation
Install updates from vendor's website.

Vulnerable software versions

shelljs: 0.0.2 - 0.8.4


External links
http://huntr.dev/bounties/50996581-c08e-4eed-a90e-c0bac082679c
http://github.com/shelljs/shelljs/commit/d919d22dd6de385edaa9d90313075a77f74b338c


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. However, proof of concept for this vulnerability is available.


Latest bulletins with this vulnerability