ADVISORIES

GitHub Advisory Database

GHSA-x5x7-3v85-wpc4

Apache Struts allows entering a custom URL in a form field if built-in URLValidator is used

Details

In Apache Struts 2.3.7 through 2.3.33 and 2.5 through 2.5.12, if an application allows entering a URL in a form field and built-in URLValidator is used, it is possible to prepare a special URL which will be used to overload server process when performing validation of the URL. NOTE: this vulnerability exists because of an incomplete fix for S2-047 / CVE-2017-7672.

Affected packages

EcosystemPackageAffected versions
Mavenorg.apache.struts:struts2-core
From 2.3.7 before 2.3.34 (fixed in 2.3.34)
Mavenorg.apache.struts:struts2-core
From 2.5.0 before 2.5.13 (fixed in 2.5.13)

References