Property
Languagejava
Severityhigh
CWECWE-327: Use of a Broken or Risky Cryptographic Algorithm
OWASPA03:2017 - Sensitive Data Exposure
Confidence LevelHigh
Impact LevelMedium
Likelihood LevelMedium

Description#

The code uses AES encryption in ECB (Electronic Codebook) mode, which does not properly hide patterns in encrypted data and is considered insecure. This can allow attackers to spot repeating patterns and potentially reveal sensitive information.

Impact#

If exploited, attackers may be able to deduce information about the original data by analyzing the ciphertext, leading to exposure of confidential data such as passwords, credit cards, or personal details. This undermines the effectiveness of encryption and can result in serious data breaches or regulatory violations.