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

Unthinkable bug ...


svedec

Recommended Posts

When I want to make a domain with a derived table, apparently, I can't use the greater-than sign for date comparison.
The database is Informix IDS, jasperserver is version 4.5.0

This query works :
select * from client where enddate < CURRENT

This one doesn't :
select * from client where enddate > CURRENT

Am I missing something here, or is this just foolish ?

I found this in the errorlog :

2012-07-25 10:53:51,126  WARN IntrusionDetector,TP-Processor3:449 - [sECURITY FAILURE Anonymous:null@unknown -> /ExampleApplication/IntrusionDetector] Invalid input: context=createdQuerySql-Run_Report_context, type(NoTag)=^[^<][^>]*$, input=select * from client where enddate > CURRENT
org.owasp.esapi.errors.ValidationException: createdQuerySql-Run_Report_context: Invalid input. Please conform to regex ^[^<][^>]*$ with a maximum length of 5000

 



Post Edited by svedec at 07/25/2012 08:56
Link to comment
Share on other sites

  • Replies 5
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Hi svedec,

Because of spam attack protection, we have activated input validation by default.

You can either switch it off completely n

jasperserver-pro\WEB-INF\classes\esapi

 

as

# Turns request parameter validation on or off.

security.validation.input.on=false

# Turns CSRF attack guard on or off.

security.validation.csrf.on=false

# Turns sql validation on or off.

security.validation.sql.on=false

 

or modify rules inside security.properties and validation.properties. By default its 5000 chars alpha-numeric.

Regards,

Olga

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...