Miggo Logo

CVE-2025-29914:
OWASP Coraza WAF has parser confusion which leads to wrong URI in `REQUEST_FILENAME`

5.4

CVSS Score
3.1

Basic Information

EPSS Score
0.12485%
Published
3/20/2025
Updated
3/20/2025
KEV Status
No
Technology
TechnologyGo

Technical Details

CVSS Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N
Package NameEcosystemVulnerable VersionsFirst Patched Version
github.com/jptosso/coraza-wafgo
github.com/corazawaf/coraza/v3go

Vulnerability Intelligence
Miggo AIMiggo AI

Miggo AIRoot Cause Analysis

The vulnerability stems directly from the use of url.Parse() in the ProcessURI function, as shown in the commit diff that specifically replaces it with url.ParseRequestURI. The security advisory explicitly identifies this function as the root cause, and the provided PoC demonstrates how malformed URIs lead to incorrect path parsing. The added test cases in transaction_test.go further validate() that the vulnerability existed in this specific function's URI handling logic.

Vulnerable functions

Only Mi**o us*rs **n s** t*is s**tion

WAF Protection Rules

WAF Rule

### Summ*ry URLs st*rtin* wit* `//` *r* not p*rs** prop*rly, *n* t** r*qu*st `R*QU*ST_*IL*N*M*` v*ri**l* *ont*ins * wron* v*lu*, l***in* to pot*nti*l rul*s *yp*ss. ### **t*ils I* * r*qu*st is m*** on *n URI st*rtin* wit* `//`, *or*z* will s*t * wr

Reasoning

T** vuln*r**ility st*ms *ir**tly *rom t** us* o* `url.P*rs*()` in t** `Pro**ssURI` *un*tion, *s s*own in t** *ommit *i** t**t sp**i*i**lly r*pl***s it wit* `url.P*rs*R*qu*stURI`. T** s**urity **visory *xpli*itly i**nti*i*s t*is *un*tion *s t** root *