Miggo Logo

CVE-2019-3498: Improper Input Validation in Django

6.5

CVSS Score
3.0

Basic Information

EPSS Score
0.8427%
Published
1/14/2019
Updated
11/18/2024
KEV Status
No
Technology
TechnologyPython

Technical Details

CVSS Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
Package NameEcosystemVulnerable VersionsFirst Patched Version
Djangopip>= 1.11a1, < 1.11.181.11.18
Djangopip>= 2.0a1, < 2.0.102.0.10
Djangopip>= 2.1a1, < 2.1.52.1.5

Vulnerability Intelligence
Miggo AIMiggo AI

Miggo AIRoot Cause Analysis

The vulnerability description explicitly names django.views.defaults.page_not_found() as the source of improper input validation. Security patches modified this view to quote the request_path context variable and remove path display from the default template. The function's role in rendering error pages with unescaped user input directly matches the described content spoofing mechanism.

Vulnerable functions

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

WAF Protection Rules

WAF Rule

In *j*n*o *.**.x ***or* *.**.**, *.*.x ***or* *.*.**, *n* *.*.x ***or* *.*.*, *n Improp*r N*utr*liz*tion o* Sp**i*l *l*m*nts in Output Us** *y * *ownstr**m *ompon*nt issu* *xists in `*j*n*o.vi*ws.****ults.p***_not_*oun*()`, l***in* to *ont*nt spoo*in

Reasoning

T** vuln*r**ility **s*ription *xpli*itly n*m*s *j*n*o.vi*ws.****ults.p***_not_*oun*() *s t** sour** o* improp*r input v*li**tion. S**urity p*t***s mo*i*i** t*is vi*w to quot* t** r*qu*st_p*t* *ont*xt v*ri**l* *n* r*mov* p*t* *ispl*y *rom t** ****ult