Padding attack in Apache Shiro

Published: 2019-11-19
Risk Medium
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2019-12422
Exploitation vector Network
Public exploit N/A
Vulnerable software
Apache Shiro
Universal components / Libraries / Software for developers

Vendor Apache Foundation

Security Bulletin

This security bulletin contains one medium risk vulnerability.

1) Cryptographic issues

EUVDB-ID: #VU22836

Risk: Medium

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

CVE-ID: CVE-2019-12422

CWE-ID: CWE-310 - Cryptographic Issues

Exploit availability: No


The vulnerability allows a remote attacker to perform a padding attack.

The vulnerability exists due to using the default "remember me" configuration. A remote attacker can perform a padding attack on cookies and gain sensitive information on the target system.


Install updates from vendor's website.

Vulnerable software versions

Apache Shiro: 1.0.0 - 1.4.1

CPE2.3 External links

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.