owasp-modsecurity / owasp-modsecurity/ModSecurity

@validateSchema or xml body parser in others that are not the request body

Open
#739 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

3.x enhancement RIP - libmodsecurity
Dominant language
C++
Stars
9.8k
Forks
1.8k
Avg merge
2h 46m
Merged PRs (30d)
1

Description

Currently implementation of the @validateSchema operator demands the utilization of the requestBodyProcessor. In order to validate other variables, such as the RESPONSE_BOYD, it is necessary to de-attach those two functionalities or provide a way to run the "requestBodyProcessor" in the response body.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing the @validateSchema operator and the requestBodyProcessor implementation, then examine how RESPONSE_BOYD is handled. Define whether validation should be detached from request-body parsing or whether the processor should support response bodies; done means the chosen behavior is implemented and validated for response-body variables.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
security
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.