Apache Struts2 S2-053 RCE

Rejah Rehim
Published on
16 Jun 2021

Apache Struts is an open-source project of the Apache Software Foundation in the United States. An unintentional expression in a Freemarker tag( that exists in Apache Struts 2.0.0 through 2.3.33 and 2.5 through instead of string literals can lead to a remote code execution attack.

Mitigation / Precaution

  • We recommend you to upgrade Apache Struts to the latest version which will contain a more restricted Freemarker configuration.
Automated human-like penetration testing for your web apps & APIs
Teams using Beagle Security are set up in minutes, embrace release-based CI/CD security testing and save up to 65% with timely remediation of vulnerabilities. Sign up for a free account to see what it can do for you.

Written by
Rejah Rehim
Rejah Rehim
Co-founder, Director
Find website security issues in a flash
Improve your website's security posture with proactive vulnerability detection.
Free website security assessment