Jaspersoft JasperReports Server DiagnosticDataCipherer Hard-coded Cryptographic Key Information Disclosure Vulnerability
User passwords stored by JasperReports Server are encrypted with a hard-coded cryptographic key inside the DiagnosticDataCipherer class. An attacker who can read the encrypted data can reverse the encryption and recover the passwords, which could then be used with other flaws to bypass authentication.
Originally disclosed on Zero Day Initiative
This vulnerability allows the decryption of the passwords on vulnerable installations of Jaspersoft JasperReports Server. Authentication is not required to exploit this vulnerability.
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the application encrypts user passwords with a fixed key embedded in the DiagnosticDataCipherer class rather than a secret, per-installation key.
Impact
An attacker could decrypt stored passwords and, combined with other vulnerabilities, could bypass authentication on the system.
What the attacker needed
Access to encrypted password data
The fix
The vendor issued an update to correct the vulnerability.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
Encryption scrambles data so only someone with the right secret key can unscramble it. Here the program always uses the same built-in key, so anyone who learns that key can unscramble the stored passwords. That means the protection is effectively useless if an attacker gets hold of the scrambled data.
What is Crypto?
Encryption, signatures, randomness or certificate checks that do not protect what they claim to.