Struts use cases

Apache Struts: three situations we are asked to handle.

Typical situations we're asked to handle. Client work is confidential; see American National for a published project.

Struts

The short answer

Teams bring Struts to Ace8 when a security finding or an audit makes the framework a liability. Struts 1 has been end of life since 2013, Struts 2.3 and 2.5 have also ended, and payment systems face a one-month window for critical patches under PCI DSS 4.0. Each starts with tests at the HTTP level.

Which Struts situation are you in?

Three typical situations, each with its trigger and first step. The sections below cover the risks, the approach and the fit.

Use caseTriggerFirst step
A Struts 1 application is still running in productionStruts 1 EOL since 5 April 2013Fixed-price assessment
A Struts 2 application is behind on security patchesStruts 2.5.x EOL 30 October 2023Fixed-price assessment
PCI DSS 4.0 patching rules meet an old Struts applicationPCI DSS 6.3.3: critical patches within a monthFixed-price assessment

What should you do about a Struts 1 application that still runs in production?

Plan a migration, and reduce exposure in the meantime. Struts 1 has been end of life since April 2013, and the project says no security fixes will come. Inventory the routes, test the behavior, then move the application in slices, for example to Spring Boot.

SituationA Struts 1 application is still running in production
TriggerStruts 1 EOL since 5 April 2013
First stepFixed-price assessment, tests before any change
Delivered byThe AceMQ engineering team
ServiceStruts migration

The situation

A line-of-business application written in the 2000s still runs on Struts 1, an old Java version and an old application server. It works, and almost nobody on the team has written Struts 1 code. A security review or an acquisition has now put it on a list.

What makes it urgent

The Apache Struts project's EOL page lists Struts 1.x as end of life on 5 April 2013 and says EOL versions receive no support at all from the project. The project's announcement says the last release, 1.3.10, came in December 2008 and that security and bug fixes will no longer be provided.

Risks and constraints

  • Any new flaw in Struts 1 will not be fixed upstream, so the application carries the exposure indefinitely.
  • JSP scriptlets, Tiles layouts and custom request processors make the view layer the biggest job.
  • Old Java and server versions block the rest of the stack from being upgraded.
  • Test coverage is usually thin, so behavior has to be captured before it can be changed.

How Ace8 handles it

Step 1

Assess

List every action, form, forward and interceptor with traffic and test coverage. Note the Java and server versions that the framework holds back.

Step 2

Migrate

Add HTTP-level characterization tests, run Spring MVC beside Struts in one application, and move routes in groups. Tools handle mechanical edits and a senior engineer reviews each change.

Step 3

Run

Retire Struts when no route is left and move to a current Java version. AceMQ supports Tomcat, Java and Spring around the clock.

What you get

  • Route and dependency inventory
  • HTTP-level characterization tests
  • Struts to Spring MVC mapping for this application
  • First slice of migrated routes behind the existing application
  • Rollback plan for each slice

A fit when

  • The application is Struts 1 and must stay in service.
  • Nobody wants to rewrite it from scratch.
  • You need a reviewable plan for an auditor or acquirer.

Not a fit when

  • The application will be retired within a few months. Isolate it from the network and let it end.
  • You need a single-page front end redesign. That is a view-layer redesign, not a migration.

Sources

What should you do when a Struts 2 application is behind on security patches?

Check the version first. Branches 2.3.x and 2.5.x are end of life, so patching in place no longer works. Move to a supported release as a short-term step, then decide whether to migrate to Spring Boot to leave the upgrade cycle.

SituationA Struts 2 application is behind on security patches
TriggerStruts 2.5.x EOL 30 October 2023
First stepFixed-price assessment, tests before any change
Delivered byThe AceMQ engineering team
ServiceStruts migration

The situation

A security team finds Struts 2 on an internet-facing application that nobody has touched for years. The build uses an old 2.x release, and the upgrade path crosses a major version. The owners fear that any change breaks behavior.

What makes it urgent

The Apache Struts EOL page lists 2.3.x as end of life on 12 September 2019 and 2.5.x on 30 October 2023. NVD records CVE-2023-50164, a file-upload flaw that can lead to remote code execution, and CVE-2024-53677, which affects Struts from 2.0.0 before 6.4.0. CISA lists CVE-2017-5638 as exploited.

Risks and constraints

  • Moving across major versions changes packages, interceptors and configuration, so tests must come first.
  • Third-party plugins may lag behind the framework release.
  • A version bump fixes known flaws but keeps the Struts upgrade cycle for every future release.
  • Upload handling and OGNL-related code need review by hand, not only a dependency bump.

How Ace8 handles it

Step 1

Assess

Identify the exact Struts version, plugins and upload paths. Check each against the project's security bulletins and rank the application by exposure.

Step 2

Fix

Write HTTP-level tests, then upgrade to a supported release as a stopgap if the migration will take time. Engineers review the upload and interceptor code.

Step 3

Migrate

Move routes to Spring Boot in slices behind the same tests, retire Struts, and let AceMQ support the result around the clock.

What you get

  • Version, plugin and exposure inventory
  • Advisory-by-advisory exposure report for this application
  • HTTP-level characterization tests
  • Supported-release upgrade as a stopgap, if needed
  • Plan and first slice for the move to Spring Boot

A fit when

  • The application is on Struts 2.3.x or 2.5.x, or on an unknown 2.x release.
  • Security has flagged it and the owners need a plan with steps.
  • You want to stop upgrading Struts and move on.

Not a fit when

  • The application is on a current Struts release and is patched promptly. Keep patching.
  • You need the flaw closed today. Apply the project's fix or isolate the application first.

Sources

How does PCI DSS 4.0 affect an application that runs on old Struts?

Requirement 6.3.3 requires critical security patches within one month of release. An end-of-life Struts branch has no patches to install, so the requirement cannot be met by patching. Either move to a supported release or migrate off Struts, and document the plan.

SituationPCI DSS 4.0 patching rules meet an old Struts application
TriggerPCI DSS 6.3.3: critical patches within a month
First stepFixed-price assessment, tests before any change
Delivered byThe AceMQ engineering team
ServiceStruts migration

The situation

A payments or e-commerce team has a Struts application in scope for PCI DSS. The assessor asks how critical vulnerabilities are patched. The honest answer is that the framework branch no longer receives patches, and the team needs a plan the assessor can accept.

What makes it urgent

The PCI Security Standards Council FAQ says Requirement 6.3.3 sets time frames for installing security patches, and critical vulnerabilities must be resolved within one month of release. The House Oversight Committee's Equifax report records that a critical Struts flaw was disclosed on 7 March 2017 and that Equifax did not fully patch its systems.

Risks and constraints

  • An unpatchable framework leaves the team without a compliant way to meet the patch rule.
  • Scope can widen if the application shares a network with the cardholder data environment.
  • A rushed move can break checkout flows, which is why tests come before change.
  • Assessors expect evidence of the plan, not a statement of intent.

How Ace8 handles it

Step 1

Assess

Confirm the Struts version, list the routes that handle card data, and map findings to the requirement text with your assessor's wording.

Step 2

Fix

Stabilize with a supported release if one exists for your version, and isolate the application, while the migration plan is written and agreed.

Step 3

Migrate

Test the payment flows at the HTTP level, move routes to Spring Boot in slices with senior review, and hand the result to AceMQ for 24/7 support and a written patch cadence.

What you get

  • Struts version and route inventory with card-data routes marked
  • Evidence pack for the assessor: version status, plan and dates
  • HTTP-level tests for payment flows
  • Migrated first slice and rollback plan
  • Patch cadence for the target platform

A fit when

  • A Struts application is in PCI DSS scope and the framework is out of support.
  • An assessor or acquirer wants a dated plan.
  • You need to protect payment flows during the change.

Not a fit when

  • Your application is outside PCI scope. The Struts 1 or Struts 2 cases may fit better.
  • You want an assessor's opinion on compliance. Ace8 does not certify compliance.

Sources

Frequently asked questions

Is Struts 1 end of life?

Yes. The Apache Struts project lists Struts 1.x as end of life on 5 April 2013. Its last release, 1.3.10, came in December 2008, and no security fixes will be provided.

Which Struts 2 versions are end of life?

The project lists Struts 2.3.x as end of life on 12 September 2019 and 2.5.x on 30 October 2023. EOL versions receive no support from the project.

Which Struts flaws should we check for?

Check CVE-2017-5638, which CISA lists as exploited, and the file-upload flaws CVE-2023-50164 and CVE-2024-53677. NVD lists affected and fixed versions for each, so confirm your exact release.

What does PCI DSS 4.0 say about patching?

Per the PCI Security Standards Council FAQ, Requirement 6.3.3 requires critical vulnerabilities to be resolved within one month of patch release. Your assessor decides how that applies to your scope.

Get a fixed scope and price before anything moves.

A fixed-price assessment gives you the inventory, the risk score and a phased plan.