Skip to content

Segmentation fault ctl:ruleRemoveTargetById without target #2033

Closed
@studersi

Description

@studersi

Leaving out the target for ctl:ruleRemoveTargetById causes segmentation faults.

This has already been reported and fixed for ctl:ruleRemoveTargetByTag: #1353.

My guess is that ctl:ruleRemoveTargetByMsg is affected as well but I did not test this.

Steps to reproduce the behavior:
Add a rule exclusion containing ctl:ruleRemoveTargetById=941130 instead of ctl:ruleRemoveTargetById=941130;ARGS:xxxx

  • ModSecurity 2.9.3
  • Apache 2.4.38
  • Linux

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions