Skip to content
Crypto Advisory Intermediate CVE-2018-18815

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.

Steven Seeley Follow

Originally disclosed on Zero Day Initiative

Medium 6.2 View original

This vulnerability allows the decryption of the passwords on vulnerable installations of Jaspersoft JasperReports Server. Authentication is not required to exploit this vulnerability.

Steven Seeley (mr_me) of Source Incite, on the Zero Day Initiative

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.

More by Steven Seeley

View all

404 more disclosed reports, best first.

More from Zero Day Initiative

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Cryptographic weaknesses

The lesson behind this report.

Encryption, signatures, randomness or certificate checks that do not protect what they claim to.