Multiple vulnerabilities in jsrsasign JavaScript library



Published: 2020-06-24
Risk Medium
Patch available YES
Number of vulnerabilities 2
CVE-ID CVE-2020-14966
CVE-2020-14967
CWE-ID CWE-347
Exploitation vector Network
Public exploit N/A
Vulnerable software
Subscribe
jsrsasign
Web applications / Modules and components for CMS

Vendor Restaumatic

Security Bulletin

This security bulletin contains information about 2 vulnerabilities.

1) Improper Verification of Cryptographic Signature

EUVDB-ID: #VU29223

Risk: Medium

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

CVE-ID: CVE-2020-14966

CWE-ID: CWE-347 - Improper Verification of Cryptographic Signature

Exploit availability: No

Description

The vulnerability allows a remote attacker to compromise the target system.

The vulnerability exists due to the affected software allows a malleability in ECDSA signatures by not checking overflows in the length of a sequence and "0" characters appended or prepended to an integer. A remote attacker can cause a security-relevant impact if an application relied on a single canonical signature.

Mitigation

Install updates from vendor's website.

Vulnerable software versions

jsrsasign: 0.0.1 - 8.0.17

External links

http://github.com/kjur/jsrsasign/issues/437
http://github.com/kjur/jsrsasign/releases/tag/8.0.17
http://github.com/kjur/jsrsasign/releases/tag/8.0.18
http://kjur.github.io/jsrsasign/
http://www.npmjs.com/package/jsrsasign


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.

2) Improper Verification of Cryptographic Signature

EUVDB-ID: #VU29224

Risk: Medium

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

CVE-ID: CVE-2020-14967

CWE-ID: CWE-347 - Improper Verification of Cryptographic Signature

Exploit availability: No

Description

The vulnerability allows a remote attacker to compromise the target system.

The vulnerability exists due to the RSA PKCS1 v1.5 decryption implementation does not detect ciphertext modification by prepending "\0" bytes to ciphertexts. A remote attacker can prepend these bytes with the goal of triggering memory corruption issues.

Mitigation

Install updates from vendor's website.

Vulnerable software versions

jsrsasign: 0.0.1 - 8.0.17

External links

http://github.com/kjur/jsrsasign/issues/439
http://github.com/kjur/jsrsasign/releases/tag/8.0.17
http://github.com/kjur/jsrsasign/releases/tag/8.0.18
http://kjur.github.io/jsrsasign/
http://www.npmjs.com/package/jsrsasign


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