CVE-2017-12617 carries an EPSS score of 0.99988 — meaning near-certain exploitation in the wild. The conventional explanation blames operators for setting readonly=false on Tomcat's Default servlet. That's analytically lazy. The real question is why thousands of deployments ended up in that exact vulnerable state, and the answer lives in a tooling failure, not a configuration mistake.
The readonly parameter is a semantic trap. It sounds like a security control — "read-only mode" implies safer behavior. But what it actually controls is whether the servlet accepts PUT and DELETE requests for web resource management. A developer reading that parameter name would reasonably expect it to restrict writes, period. They would not understand that when readonly=false, JSP files can be uploaded and then executed on the server. The parameter name promises one thing while controlling something fundamentally different — that's a tooling failure, not user error.
Worse, Tomcat could have blocked this attack surface categorically. The servlet could have been designed to reject .jsp file uploads regardless of the readonly setting, treating JSP upload as inherently different from static asset management. Instead, the tool permitted upload of executable file types as a general capability, leaving the security boundary to a single boolean that wasn't named or explained in ways humans could understand.
The patch itself tells the story. Apache's fix didn't just restrict JSP uploads — they changed the default value of readonly from false to true. That decision承认 the blast radius wasn't individual misconfiguration; it was ecosystem-wide propagation of a dangerous default through Docker images, tutorials, Stack Overflow answers, and infrastructure-as-code templates. The vulnerable state复制d faster than patches could travel.
The deeper pattern: server frameworks have historically treated configuration as a privilege-escalation pathway rather than a privilege-reduction mechanism. Defaults exposed dangerous capabilities, and security assumptions lived as invisible environmental preconditions — "this servlet will only be exposed to actors who understand JSP execution" — rather than declared architectural constraints. The readonly parameter assumed an enterprise deployment behind a corporate firewall with human operators; that assumption collapsed the moment the same artifact got containerized and exposed to untrusted networks.
For defenders: audit your Tomcat deployments for explicit readonly=false settings and understand why they were set. If they came from copied configurations, treat those as potentially vulnerable. The safest posture is readonly=true unless you have a documented, intentional use case for PUT/DELETE on web resources. More broadly, treat any configuration parameter that sounds like a safety toggle but controls file operations as a potential semantic gap — check what it actually does, not what its name implies.