Vulnerabilities/

Apache Struts OGNL expression RCE S2-057

Impact: High

Description

It is possible to perform a RCE attack when alwaysSelectFullNamespace is true (either by user or a plugin like Convention Plugin) and then: namespace value isn’t set for a result defined in underlying configurations and in same time, its upper package configuration have no or wildcard namespace and same possibility when using url tag which doesn’t have value and action set and in same time, its upper package configuration have no or wildcard namespace.

Recommendation

Upgrade to Apache Struts version 2.3.35 or 2.5.17 or newer version.

References

Last updated on June 06, 2022

This issue is available in SmartScanner Professional

See Pricing