RCE in Apache Commons Text ≤ 1.9 via the StringSubstitutor script:/url:/dns: interpolators.
How it works
- A parameter interpolated by
StringSubstitutorcan invokescript:javascript:...orurl:loaders. - In the challenge, a
messageparameter reached the interpolator and executed commands, revealing/app/flag.
Detection & defence
- Upgrade Apache Commons Text to ≥ 1.10.
- Never interpolate untrusted input; disable dangerous interpolator prefixes.

