Apache Shiro versions through 3.0.1 have a vulnerability where DefaultPasswordService and SimpleCredentialsMatcher treat an empty stored credential as a valid match for an empty submitted password. This issue only arises if accounts with empty stored credentials exist. The vulnerability is fixed in version 3.0.2 and later. Mitigation includes upgrading to 3.0.2+ or avoiding empty stored credentials and rejecting empty passwords in the application.