#VU66758 Improper Verification of Cryptographic Signature in node-forge


Published: 2022-08-25

Vulnerability identifier: #VU66758

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-24772

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 perform MitM attack.

The vulnerability exists due to incorrect RSA PKCS#1 v1.5 signature verification caused by a missing check or tailing garbage bytes after decoding a `DigestInfo` ASN.1 structure. A remote attacker can forge a signature and perform a man-in-the-middle (MitM) attack.

Mitigation
Install updates from vendor's website.

Vulnerable software versions

node-forge: 0.1.2 - 1.2.1


External links
http://github.com/digitalbazaar/forge/commit/3f0b49a0573ef1bb7af7f5673c0cfebf00424df1
http://github.com/digitalbazaar/forge/commit/bb822c02df0b61211836472e29b9790cc541cdb2
http://github.com/digitalbazaar/forge/security/advisories/GHSA-x4jg-mjrx-434g


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