Jump to content
We've recently updated our Privacy Statement, available here ×

A Security Worry


tinned_tuna

Recommended Posts

Whilst going through the source for JasperReports Server 4.2.1 Community Edition, I noticed that the key for storing passwords is in the configuration -- it doesn't seem like it's dynamic (i.e. set at install).  This means that the key (which should be secret) appears to be in all the downloads of JasperReports Server 4.2.1, and is common across all installs.

If I'm right, it would mean that any one who has access to the JasperServer database would have easy access to all of the passwords in that database (e.g. through SQL injection of the JasperServer web interface,  poorly configured database security settings, database password leak etc.).

While I understand that this is necessary for the JDBC connections, I think it is a little worrisome for user's passwords.

I think it would be better to allow users to easily set their key, or have one randomly generated at install time (and store it outside of the database, e.g. a file on disk) and have their passwords encrypted with that new key.

I have already sent an email to the support address, but got back what appeared to be mostly marketting. If someone more in the know could confirm or deny this, I'd be grateful.

 

- Tinned_Tuna

Link to comment
Share on other sites

  • Replies 3
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

1. To make this documentation more prominent, you should ask Jaspersoft staff.

2. Table 10.1 of JasperReports-Server-CP-Install-Guide.pdf has pointed out that password encryption in applicationContext-security.xml. To generate a random sercet key at every start up, you need to modify its startup script in order to substitute the value into applicationContext-security.xml



Post Edited by icecreaming at 01/13/2012 01:47
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...