HACKORY
Language · English
← All cases
HACKORY / Real-world cases

Equifax: the fix existed, but it did not arrive in time

In 2017, attackers got into Equifax through an Apache Struts flaw that had had a published fix since March. They took data on about 147 million people.

New here? Try the first lesson without an account

Company or project

Equifax · Apache Struts

When

Patch: March 2017 · intrusion: 13 May to 29 Jul 2017

Reference

CVE-2017-5638

Severity and scale

Critical (CVSS 9.8) · about 147 million people

Real-world cases

The story

Equifax is one of the big credit agencies in the United States: it keeps the financial history of millions of people. In March 2017, the Apache Struts project, a set of building blocks for web applications, published a fix for a serious flaw, and the U.S. government’s computer emergency team warned companies. At Equifax, the warning did not reach the people who had to install it, and its online dispute portal kept running the vulnerable version. From 13 May, attackers used that door for about 76 days, until the company detected them on 29 July.

The term, explained simply

A patch is like a car recall: the maker finds a brake defect, prepares the replacement part and asks everyone to have it fitted. If you never take your car to the garage, the part exists, but your car is still faulty. Struts was a dependency: a piece of software made by others that Equifax used inside its system. When a dependency publishes a patch, every company that uses it has to hear about it, find where it is used and apply it.

The root cause

Struts mishandled certain file upload requests: a value in a header ended up being interpreted as an order. But the underlying cause at Equifax was management: the company did not know clearly where it used that component, and the patch notice did not reach the people responsible.

What could happen

The attackers could run commands on the server and, because the databases were not separated from each other, they reached others beyond the portal’s. Personal data on about 147 million people was exposed. An expired digital certificate stopped a monitoring tool from inspecting encrypted traffic, and that delayed detection.

How it was fixed and how to prevent it

Struts fixed the flaw in versions 2.3.32 and 2.5.10.1. The lessons collected by the GAO, the U.S. Congress’s audit office: keep an inventory of what software runs on each system; make sure security notices reach the people responsible; separate databases so one intrusion cannot reach everything; and check that detection tools actually work, including their certificates.

Practice it in Hackory

Sources

Official documents and the researcher’s own write-up. We tell the story, the concept and the defense; there are no steps to repeat the attack.