Document Title:
===============
Django CMS v3.2.3 - Filter Bypass & Persistent Vulnerability
References (Source):
====================
http://www.vulnerability-lab.com/get_content.php?id=1821
Release Date:
=============
2016-04-14
Vulnerability Laboratory ID (VL-ID):
====================================
1821
Common Vulnerability Scoring System:
====================================
3.6
Product & Service Introduction:
===============================
django CMS is a modern web publishing platform built with Django, the
web application framework for perfectionists with deadlines.
django CMS offers out-of-the-box support for the common features you’d
expect from a CMS, but can also be easily customised and
extended by developers to create a site that is tailored to their
precise needs.
(Copy of the Homepage: http://docs.django-cms.org/en/3.2.3/index.html )
Abstract Advisory Information:
==============================
The vulnerability laboratory core research team discovered an
application-side vulnerability in the Django v3.2.3 Content Management
System.
Vulnerability Disclosure Timeline:
==================================
2016-04-14: Public Disclosure (Vulnerability Laboratory)
Discovery Status:
=================
Published
Affected Product(s):
====================
Divio AG
Product: Django Framework - Content Management System 3.2.3
Exploitation Technique:
=======================
Remote
Severity Level:
===============
Medium
Technical Details & Description:
================================
A persistent input validation web vulnerability has been discovered in
the official Django v3.2.3 Content Management System.
The security vulnerability allows remote attackers or privileged user
accounts to inject own malicious script codes to the
application-side of the vulnerable modules web context.
The vulnerability has been located in the `people-group-name-1
cms-render-model (people-group-detail)` value of the
`/en/footer/people/group/slat/` module POST method request. Remote
attackers are able to inject own malicious script
code to the group name input to provoke a persistent execution. The
injection point is the group add module and the
execution point is the `./people/group/slat/` path. The attacker vector
of the vulnerability is persistent and request
method to inject is POST.
The filter validation of the group input disallows the usage of iframes
or script code tags. The img tag with source
and onload alert (document.cookie / document.domain) allows to bypass
the filter validation of the django cms. To inject
a splitted char inject is required. The second tag executes the context
and bypasses the filter validation of the cms.
The security risk of the vulnerability is estimated as medium with a
cvss (common vulnerability scoring system) count of 3.6.
Exploitation of the vulnerability requires a low privileged
web-application user account and low or medium user interaction.
Successful exploitation of the vulnerability results in session
hijacking, persistent phishing attacks, persistent external
redirects to malicious source and persistent manipulation of affected or
connected application modules.
Request Method(s):
[+] POST
Vulnerable Module(s):
[+] Groups (Add)
Vulnerable Parameter(s):
[+] people-group-name-1 - cms-render-model
(people-group-detail)
Affected Module(s):
[+] Group List
Proof of Concept (PoC):
=======================
The vulnerability can be exploited by remote attackers and privileged
user accounts with low or medium user interaction.
For security demonstration or to reproduce the vulnerability follow the
provided information and steps below to continue.
PoC: Payload(s)
">"%20"="">"%20"="">