Equifax Data Breach
An unpatched Apache Struts flaw and a monitoring certificate expired for nine months exposed data on about 148 million Americans.
- Severity
- History books
- Difficulty
- beginner
- Companies
- Equifax, Apache Software Foundation
- Tech
- Apache Struts, Java, TLS inspection, Patch management
- Root cause
- unpatched flaw, dates/time/certificates, insecure defaults
The story
Quick (1 min)
On 7 September 2017, US credit bureau Equifax announced that hackers had stolen personal data on more than 140 million Americans. The total later rose to 147.9 million, plus millions in the UK and thousands in Canada. Names, Social Security numbers, birth dates and addresses were taken: everything needed for identity theft.
The attackers got in through Equifax's credit dispute website, which used Apache Struts, a web framework with a serious flaw. A fix had been released on 7 March 2017. Equifax hadn't applied it when attackers broke in on 12 May.
They stayed inside for about two and a half months. Equifax's tool for inspecting network traffic wasn't working because its security certificate had expired nine months earlier. When the certificate was renewed on 29 July, the tool immediately flagged suspicious traffic.
The lesson: patch critical internet-facing software fast, and make sure your monitoring is actually running.
Keep reading to the end to earn XP.Read. XP earned.
Engineer (2 min)
The flaw. CVE-2017-5638 in Apache Struts 2's Jakarta Multipart parser: incorrect exception handling during file uploads let attackers "execute arbitrary commands via a crafted Content-Type, Content-Disposition, or Content-Length HTTP header" (NVD). It was exploited in the wild in March 2017, and scanning for unpatched sites was seen from 10 March.
Intrusion (from 12 May 2017). Attackers exploited the unpatched credit dispute portal, reached internal servers, obtained internal credentials, and queried credit monitoring databases while looking like authorised users. They ran more than 9,000 scans of the databases, used encryption to hide their activity, and pulled data out in small archives. Wikipedia also cites a default "admin" username and password and no two-factor authentication on high-access accounts, as alleged in the 2019 class action.
Detection failure. A traffic-inspection application decrypted outbound traffic to look for problems, but its SSL certificate had been expired for nine months, so it wasn't inspecting. On 29 July 2017 IT renewed it, the application alerted on suspicious activity, and the exploit was shut down by 30 July.
Deeper causes. A 2015 internal audit had found a backlog of unresolved vulnerabilities, missed patching schedules, no comprehensive asset inventory, and patching that "relied on an honour system." Analysts also cited insufficient network segmentation and weak detection.
Interview takeaway: asset inventory and enforced patch SLAs, segmentation, MFA on privileged accounts, and certificate expiry monitoring for security tools.
Keep reading to the end to earn XP.Read. XP earned.
Deep dive (2 min)
Timeline (Wikipedia, NVD)
- 2015: internal audit finds a significant vulnerability backlog and weak patch processes. Many fixes aren't implemented by 2017.
- 7 March 2017: Apache releases a critical Struts patch and urges immediate updates.
- 10 March 2017: scanning for unpatched Struts sites detected.
- 12 May 2017: breach begins via the unpatched credit dispute site.
- May–July 2017: attackers move through internal systems, run 9,000+ database scans, and exfiltrate data using at least 34 servers in 20 countries.
- 29 July 2017: renewed SSL certificate brings traffic inspection back; suspicious activity detected.
- 30 July 2017: exploit shut down.
- 2 August 2017: Mandiant hired to investigate.
- 7 September 2017: public disclosure. Shares drop 13% the next day.
- 15 September: CIO and CSO depart. 26 September: CEO Richard Smith retires.
- 22 July 2019: settlement with the FTC, CFPB, 48 states, DC and Puerto Rico: $300M victim fund, $175M to states, $100M CFPB fines.
- February 2020: the US indicts members of China's People's Liberation Army; China denies it.
Data exposed
- 147.9 million Americans (after later additions), 15.2 million UK records (693,665 with sensitive data), and thousands of Canadians.
- Names, SSNs, birth dates, addresses, and some driver's licence numbers (10–11 million).
- About 209,000 US credit card numbers, and dispute documents for about 182,000 people.
Where the data went
Wikipedia notes that as of May 2021 there was no sign of the data being sold, which led experts to suspect a nation-state rather than criminals.
Why it's a landmark
Nearly every basic control failed together: patching, asset inventory, segmentation, credential hygiene and monitoring health. The expired certificate is a classic example of a security tool quietly not working.
Keep reading to the end to earn XP.Read. XP earned.
Failure replay
Step by step, what broke and what it hit next. Showing the key steps. Switch to Engineer or Deep dive for every step.
- Mar 7, 2017Apache Struts patchhealthy
Apache fixes a critical remote code execution flaw (CVE-2017-5638) and urges immediate updates.
Affects: Dispute portal
- May 12, 2017Attackercompromised
Attackers exploit the still-unpatched credit dispute website with a crafted HTTP header.
Affects: Dispute portal
- May–JulDispute portalcompromised
From the portal they reach internal servers and collect employee credentials. Weak segmentation helps them.
Affects: Credit databases
- May–JulCredit databasescompromised
Posing as authorised users, they run 9,000+ queries and pull out personal data in small encrypted archives.
Affects: Traffic inspection
- May–JulTraffic inspectiondown
The tool meant to inspect outbound traffic has had an expired certificate for nine months and sees nothing.
- Jul 29–30Traffic inspectionrecovering
IT renews the certificate, the tool flags suspicious activity, and the intrusion is shut down the next day.
- Sep 7, 2017Consumerscompromised
Equifax discloses the breach, eventually 147.9 million Americans. Executives depart and settlements follow.
Impact
- Who was affected
- 147.9 million Americans, 15.2 million UK records and thousands of Canadians; SSNs, birth dates, addresses, some licence and card numbers.
- How long
- Attackers inside from 12 May to 30 July 2017 (about 11 weeks); disclosed 7 September 2017.
- Cost
- 2019 settlement included $300M victim fund, $175M to states and territories, and $100M in CFPB fines.
Lessons
- Patch critical internet-facing vulnerabilities within days; attackers scan within hours.
- You can't patch what you don't know you have; keep a real asset inventory.
- Monitor the health of security tools, including certificate expiry.
- Segment networks and require MFA on privileged accounts so one breach doesn't reach everything.
- Audit findings must be tracked to completion.
Quiz
How did attackers first get into Equifax?
The answer is Exploiting an unpatched Apache Struts flaw on the credit dispute website. The fix for CVE-2017-5638 was released on 7 March 2017; the breach began on 12 May.
Check answer
Exploiting an unpatched Apache Struts flaw on the credit dispute website. The fix for CVE-2017-5638 was released on 7 March 2017; the breach began on 12 May.
Why didn't Equifax notice the data leaving for weeks?
The answer is The traffic inspection tool's SSL certificate had been expired for nine months. Once the certificate was renewed on 29 July, the tool immediately flagged suspicious traffic.
Check answer
The traffic inspection tool's SSL certificate had been expired for nine months. Once the certificate was renewed on 29 July, the tool immediately flagged suspicious traffic.
What had a 2015 internal audit found?
The answer is A backlog of unresolved vulnerabilities, no comprehensive asset inventory, and patching that relied on an honour system. Many of the audit's recommendations still weren't implemented two years later.
Check answer
A backlog of unresolved vulnerabilities, no comprehensive asset inventory, and patching that relied on an honour system. Many of the audit's recommendations still weren't implemented two years later.
About how many Americans were ultimately affected?
The answer is 147.9 million. After later additions, Equifax put the total at 147.9 million Americans.
Check answer
147.9 million. After later additions, Equifax put the total at 147.9 million Americans.
Interview prep
Try answering out loud before you open the model answer.
- security
Walk through the Equifax breach as a chain of control failures. Which single fix would have helped most?
Show model answer
Chain: (1) an internet-facing app ran Apache Struts with a known critical flaw two months after the patch; (2) the exploit gave internal access; (3) weak segmentation let attackers reach other servers; (4) stolen credentials, reportedly including default admin accounts without 2FA, let them query databases as legitimate users; (5) outbound traffic inspection was blind because its certificate had expired nine months earlier, so exfiltration went unnoticed for 11 weeks. Patching within days would likely have stopped the initial entry, but defence in depth means any one of segmentation, MFA or working monitoring could have limited the damage.
A strong answer hits:
- Unpatched Struts as entry
- Lateral movement and credential abuse
- Blind monitoring from an expired certificate
- Defence in depth over a single fix
How did your answer compare? - system design
How would you ensure your organisation's security monitoring doesn't silently stop working?
Show model answer
Monitor the monitors. Health-check every security tool with heartbeat signals, alert if log volume drops to zero, and run synthetic test events (like a known benign "attack") to confirm detection end to end. Track certificate expiry centrally with alerts well ahead of time, and automate renewal (ACME or internal PKI automation). Include security tooling in asset inventory and change management. Review dashboards for gaps regularly.
A strong answer hits:
- Heartbeats and log-volume alerts
- Synthetic detection tests
- Automated certificate renewal and expiry alerts
- Tools in inventory and change management
How did your answer compare? - behavioural
An internal audit found serious patching gaps, but two years later little had changed. How would you drive the fixes?
Show model answer
Turn findings into owned, tracked work items with deadlines and executive sponsors. Report progress regularly to leadership and the board. Fund the enablers (asset inventory, automated patching, test environments). Replace the "honour system" with enforcement: automated compliance scanning and escalation for overdue patches. Tie risk to business impact, using Equifax's outcome as a concrete example.
A strong answer hits:
- Owners, deadlines, executive sponsorship
- Visible progress reporting
- Fund tooling and automation
- Enforcement over honour system
How did your answer compare?
Go deeper
- AdvisoryCVE-2017-5638 Detail (Apache Struts)NIST National Vulnerability Database, link checked 2026-11-25
- Article2017 Equifax data breachWikipedia, link checked 2026-11-25