Miggo Logo

CVE-2019-19326: SilverStripe Web Cache Poisoning through HTTPRequestBuilder

5.9

CVSS Score
3.1

Basic Information

EPSS Score
0.43611%
Published
5/24/2022
Updated
5/22/2024
KEV Status
No
Technology
TechnologyPHP

Technical Details

CVSS Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N
Package NameEcosystemVulnerable VersionsFirst Patched Version
silverstripe/frameworkcomposer>= 4.0.0, < 4.4.74.4.7
silverstripe/frameworkcomposer>= 4.5.0, < 4.5.44.5.4
silverstripe/frameworkcomposer>= 3.0.0, < 3.7.53.7.5

Vulnerability Intelligence
Miggo AIMiggo AI

Miggo AIRoot Cause Analysis

The vulnerability stems from three attack vectors: 1) _method POST parameter handling, 2) X-HTTP-Method-Override header, and 3) X-Original-Url header. The patch removes these features. The detect_method() function explicitly handled method override logic through POST parameters, while cleanEnvironment() processed the dangerous headers. Both functions created inconsistencies between actual requests and their interpreted versions, enabling cache poisoning through smuggled HTTP methods and URLs.

Vulnerable functions

Only Mi**o us*rs **n s** t*is s**tion

WAF Protection Rules

WAF Rule

Silv*rStrip* t*rou** *.*.* *llows W** ***** Poisonin* t*rou** *TTPR*qu*st*uil**r.

Reasoning

T** vuln*r**ility st*ms *rom t*r** *tt**k v**tors: *) _m*t*o* POST p*r*m*t*r **n*lin*, *) X-*TTP-M*t*o*-Ov*rri** *****r, *n* *) X-Ori*in*l-Url *****r. T** p*t** r*mov*s t**s* ***tur*s. T** **t**t_m*t*o*() *un*tion *xpli*itly **n*l** m*t*o* ov*rri** l