Multiple vulnerabilities in StealJS steal



Published: 2022-09-20
Risk High
Patch available YES
Number of vulnerabilities 3
CVE-ID CVE-2022-37264
CVE-2022-37262
CVE-2022-37260
CWE-ID CWE-94
CWE-185
Exploitation vector Network
Public exploit N/A
Vulnerable software
Subscribe
steal
Web applications / JS libraries

Vendor StealJS

Security Bulletin

This security bulletin contains information about 3 vulnerabilities.

1) Prototype pollution

EUVDB-ID: #VU67486

Risk: High

CVSSv3.1:

CVE-ID: CVE-2022-37264

CWE-ID: CWE-94 - Improper Control of Generation of Code ('Code Injection')

Exploit availability: No

Description

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists due to prototype pollution flaw in the optionName variable in main.js. A remote attacker can add or modify properties of Object.prototype using a __proto__ or constructor payload and execute arbitrary code on the target system.

Mitigation

Install update from vendor's website.

Vulnerable software versions

steal: 2.2.4


CPE2.3 External links

http://github.com/stealjs/steal/blob/c9dd1eb19ed3f97aeb93cf9dcea5d68ad5d0ced9/main.js#L647
http://github.com/stealjs/steal/blob/c9dd1eb19ed3f97aeb93cf9dcea5d68ad5d0ced9/main.js#L2194
http://github.com/stealjs/steal/issues/1533

Q & A

Can this vulnerability be exploited remotely?

Is there known malware, which exploits this vulnerability?

2) Incorrect Regular Expression

EUVDB-ID: #VU67488

Risk: Medium

CVSSv3.1:

CVE-ID: CVE-2022-37262

CWE-ID: CWE-185 - Incorrect Regular Expression

Exploit availability: No

Description

The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.

The vulnerability exists due to insufficient input validation when processing regular expressions in the source and sourceWithComments variable in main.js. A remote attacker can pass specially crafted data to the application and perform regular expression denial of service (ReDos) attack.

Mitigation

Install update from vendor's website.

Vulnerable software versions

steal: 2.2.4


CPE2.3 External links

http://github.com/stealjs/steal/blob/c9dd1eb19ed3f97aeb93cf9dcea5d68ad5d0ced9/main.js#L3497
http://github.com/stealjs/steal/blob/c9dd1eb19ed3f97aeb93cf9dcea5d68ad5d0ced9/main.js#L3507
http://github.com/stealjs/steal/issues/1531

Q & A

Can this vulnerability be exploited remotely?

Is there known malware, which exploits this vulnerability?

3) Incorrect Regular Expression

EUVDB-ID: #VU67491

Risk: Medium

CVSSv3.1:

CVE-ID: CVE-2022-37260

CWE-ID: CWE-185 - Incorrect Regular Expression

Exploit availability: No

Description

The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.

The vulnerability exists due to insufficient input validation when processing regular expressions in main.js. A remote attacker can pass specially crafted data to the application and perform regular expression denial of service (ReDos) attack.

Mitigation

Install update from vendor's website.

Vulnerable software versions

steal: 2.2.4


CPE2.3 External links

http://github.com/stealjs/steal/blob/c9dd1eb19ed3f97aeb93cf9dcea5d68ad5d0ced9/main.js#L3344
http://github.com/stealjs/steal/issues/1529
http://github.com/stealjs/steal/blob/c9dd1eb19ed3f97aeb93cf9dcea5d68ad5d0ced9/main.js#L2490

Q & A

Can this vulnerability be exploited remotely?

Is there known malware, which exploits this vulnerability?



###SIDEBAR###