owasp-modsecurity / owasp-modsecurity/ModSecurity

MTOM requests fail (content-type XOP)

Open
#902 14 comments 0 reactions 2 assignees View on GitHub

@zimmerle is already working on this.

Since Aug 21, 2018.

enhancement workaround available
Dominant language
C++
Stars
9.8k
Forks
1.8k
Avg merge
2h 46m
Merged PRs (30d)
1

Description

Hi all,

I´ve came across with this problem using the mod_security in Apache making requests with MTOM feature on.
Tried to search any solution, but only found a similar thread with no solution for this in 2014.
Any idea how to bypass the analysis of MTOM requests or if the MTOM request is already supported?

The error i get in the mod_security.log is this:
Message: XML parsing error: XML: Failed parsing document.
Message: Access denied with code 400 (phase 2). Match of "eq 0" against "REQBODY_ERROR" required. [file "D:/Apache2.2/conf/modsecurity.conf"] [line "56"] [msg "Failed to parse request body."] [data "XML parsing error: XML: Failed parsing document."] [severity "CRITICAL"]

Cheers.

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.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.