Missing MAC validation in Zip4j



Published: 2023-03-31
Risk Medium
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2023-22899
CWE-ID CWE-347
Exploitation vector Network
Public exploit N/A
Vulnerable software
Subscribe
zip4j
Client/Desktop applications / Software for archiving

Vendor Srikanth Reddy Lingala

Security Bulletin

This security bulletin contains one medium risk vulnerability.

1) Improper Verification of Cryptographic Signature

EUVDB-ID: #VU74270

Risk: Medium

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

CVE-ID: CVE-2023-22899

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

Exploit availability: No

Description

The vulnerability allows a remote attacker to perform spoofing attack.

The vulnerability exists due to zip4j does not always perform validation of MAC when decrypting a ZIP archive. A remote attacker can submit a malicious archive or tamper with data inside one.

Mitigation

Install updates from vendor's website.

Vulnerable software versions

zip4j: 2.0 - 2.11.2

External links

http://breakingthe3ma.app/files/Threema-PST22.pdf
http://news.ycombinator.com/item?id=34316206
http://github.com/srikanth-lingala/zip4j/releases
http://breakingthe3ma.app
http://threema.ch/en/blog/posts/news-alleged-weaknesses-statement
http://github.com/srikanth-lingala/zip4j/issues/485


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

How the attacker can exploit this vulnerability?

The attacker would have to trick the victim to open a a specially crafted archive.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.



###SIDEBAR###