#VU65749 Improper Verification of Cryptographic Signature in node-forge


Published: 2022-07-25

Vulnerability identifier: #VU65749

Vulnerability risk: Medium

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

CVE-ID: CVE-2022-24771

CWE-ID: CWE-347

Exploitation vector: Network

Exploit availability: No

Vulnerable software:
node-forge
Web applications / Modules and components for CMS

Vendor: Synex Technologies

Description

The vulnerability allows a remote attacker to bypass security restrictions.

The vulnerability exists due to a improper signature verification when checking the digestAlgorithm structure. A remote unauthenticated attacker can use a specially-crafted structure to steal padding bytes and use unchecked portion of the PKCS#1 encoded message to exploit this vulnerability and forge a signature when a low public exponent is being used.

Mitigation
Install updates from vendor's website.

Vulnerable software versions

node-forge: 1.0.0 - 1.2.1


External links
http://github.com/digitalbazaar/forge/security/advisories/GHSA-cfm4-qjh2-4765
http://github.com/digitalbazaar/forge/commit/3f0b49a0573ef1bb7af7f5673c0cfebf00424df1


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.


Latest bulletins with this vulnerability