Improper signature verification in node-forge



Published: 2022-08-25
Risk Medium
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2022-24772
CWE-ID CWE-347
Exploitation vector Network
Public exploit N/A
Vulnerable software
Subscribe
node-forge
Web applications / Modules and components for CMS

Vendor Synex Technologies

Security Bulletin

This security bulletin contains one medium risk vulnerability.

1) Improper Verification of Cryptographic Signature

EUVDB-ID: #VU66758

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 - Improper Verification of Cryptographic Signature

Exploit availability: No

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.



###SIDEBAR###