Miggo Logo

CVE-2020-8902:
SSRF in Rendertron

4.3

CVSS Score
3.1

Basic Information

EPSS Score
0.17968%
Published
3/1/2021
Updated
2/1/2023
KEV Status
No
Technology
TechnologyJavaScript

Technical Details

CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
Package NameEcosystemVulnerable VersionsFirst Patched Version
rendertronnpm< 3.0.03.0.0

Vulnerability Intelligence
Miggo AIMiggo AI

Miggo AIRoot Cause Analysis

The core vulnerability exists in the URL validation flow. The restricted() method was insufficient as it only checked protocols, not hostnames. The handle() method's pre-render validation was missing entirely for some endpoints. The patch adds: 1) Hostname validation in restricted(), 2) Enforcement of restrictions in handle(). In vulnerable versions, these security checks were absent, allowing internal host access. Both functions would appear in stack traces when processing malicious render/screenshot requests.

Vulnerable functions

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

WAF Protection Rules

WAF Rule

R*n**rtron v*rsions prior to *.*.* *r* *r* sus**pti*l* to * S*rv*r-Si** R*qu*st *or**ry (SSR*) *tt**k. *n *tt**k*r **n us* * sp**i*lly *r**t** w**p*** to *or** * r*n**rtron ****l*ss **rom* pro**ss to r*n**r int*rn*l sit*s it **s ****ss to, *n* *ispl*

Reasoning

T** *or* vuln*r**ility *xists in t** URL v*li**tion *low. T** `r*stri*t**()` m*t*o* w*s insu**i*i*nt *s it only ****k** proto*ols, not *ostn*m*s. T** `**n*l*()` m*t*o*'s pr*-r*n**r v*li**tion w*s missin* *ntir*ly *or som* *n*points. T** p*t** ***s: *