n.runs AG - Das Unternehmen Sicherheit
 
 
The Company
LEISTUNGSSPEKTRUM
IT INFRASTRUKTUR
IT SICHERHEIT SECURITY
IT BUSINESS CONSULTING
IT SOFTWARE

n.runs AG
Nassauer Straße 60
61440 Oberursel
Telefon: +49 (0) 6171/699-0
Telefax: +49 (0) 6171/699-199
E-mail: contact@nruns.com
Newsletter anfordern
Impressum

n runs-SA-2008 007 Cross-Site Scripting Filter Evasion in various frameworks

n.runs AG
http://www.nruns.com
n runs-SA-2008 007

security(at)nruns.com


* * *


Vendor: Various
Affected Products:
   - Horde >= 3.1, <= 3.2.1
   - Popoon/Flux-CMS <= r22196
   Secondary, affected versions:
   - Cake-PHP <= 1.2.x.x_18.08.2008 (nightly)
   - phpMyFAQ <= 2.5.0-dev (2008-08-18)
   - deluxeBB <= 1.2
   - emucms <= 0.3
   - SimpleSite <= 1.6.4
   - RevokeBB <= 1.0RC11_normal
   - TPLN <= 2.9
   - Logicoder <= r27
   - phour <= r106
   - MDPro <= 1.0821
   - noserub <= r784/0.6
   - and probably more

Vulnerability: Cross-Site Scripting Filter Evasion in various
Risk: MEDIUM

Vendor communication:
  2008/07/25    Bug found and PoC preparation
  2008/07/26    Vulnerability report submitted via oCert online-form 
  2008/08/05    oCert confirmed the submission. oCert starts the 
                           coordination of affected authors/vendors  
  2008/09/06    oCert informs all parties about the advisory release date
  2008/09/11    n.runs AG releases this advisory in coordination with oCert
    

Overview:

The Horde project relies on code similar to Popoon's externalinput.php to filter out potential XSS attacks on user-supplied input. Other projects are using the same code base. Therefore this vulnerability affects also the popular Cake-PHP framework. Hence, all users that rely on the externalinput sanitization functionality are affected by this vulnerability, as in addition to many other unrelated, open source projects.


Description:

The XSS filter fails to fully sanitize the user data. In particular, this filter fails to protect against a special character which Microsoft Internet Explorer and Mozilla Firefox is interpreting it as a valid space character.


Impact:

This circumstance allows to bypass the filter and to apply Cross-Site Scripting.


Solution:

For detailed information about the fixes, follow the link in the references section [1] of this document.


Credit:

Bug found by Alexios Fakos of n.runs AG.

Many thanks to Will Drewry of oCert team for the coordination and professional communication.


References:

[1] http://www.ocert.org/advisories/ocert-2008-012.html

This Advisory and Upcoming Advisories:
http://www.nruns.com/security_advisory.php

Subscribe to the n.runs newsletter by signing up to:
http://www.nruns.com/newsletter_en.php


Unaltered electronic reproduction of this advisory is permitted. For all other reproduction or publication, in printing or otherwise, contact security@nruns.com for permission. Use of the advisory constitutes acceptance for use in an "as is" condition. All warranties are excluded. In no event shall n.runs be liable for any damages whatsoever including direct, indirect, incidental, consequential, loss of business profits or special damages, even if n.runs has been advised of the possibility of such damages.

Copyright 2008 n.runs AG. All rights reserved. Terms of use apply.
Penetration Test
 

17 Dezember 2008:
Advisory: HTML parsing flaw lead to remote code execution 

* * *

27 Oktober 2008:
Advisory: Eaton MGE OPS Network Shutdown Module authentication bypass and code execution

* * *

21 Oktober 2008:
Advisory: Internet Explorer HTML Object Memory Corruption

* * *

20 Oktober 2008:
Pressemitteilung
n.runs und Avira geben strategische Partnerschaft im IT-Sicherheitsumfeld bekannt

* * *

14 Oktober 2008:
Pressemitteilung
SYSTEMS 2008: n.runs AG präsentiert Bollwerk gegen den „Feind im eigenen Netz“ und Microsoft "Security Development Lifecycle Pro Network"

* * *

30 September 2008:
Corporate News
Zahlen des ersten Halbjahreszahlen 2008 bestätigen Expansionskurs
+++ Umsatzerlöse steigen um knapp 30 Prozent auf EUR 3,32 Millionen
+++ EBITDA um EUR 0,27 Millionen auf EUR -0,35 Millionen verbessert
+++ Ergebnis von Softwareinvestitionen geprägt, Consulting profitabel
+++ Ausblick 2008


* * *

17 September 2008:
Corporate News
n.runs wird durch Microsoft als Mitglied des neuen Programms Microsoft Security Development Lifecyle Pro Network berufen
+++ n.runs AG exklusives Mitglied im Microsoft SDL Pro Network
+++ Einziges Mitglied des MS SDL Pro Network auf europäischem Festland
+++ Mittelfristiger Umsatzbeitrag von über 10 Prozent geplant


* * *

17 September 2008:
Pressemitteilung
Software-Gigant beruft IT-Sicherheitsunternehmen zum Mitglied des "Microsoft Security Development Lifecycle Pro Network" Microsoft setzt im Rahmen ihres neuen Partnerprogramms "SDL Pro Network" in EMEA auf die n.runs AG

* * *

10 September 2008:
Advisory
Cross-Site Scripting Filter Evasion in various frameworks and applications

* * *

10 September 2008:
Advisory
Horde Framework Cross-Site Scripting in filename MIME attachments

* * *

25 August 2008:
Press-Release
IT-Sicherheit für Regierungen und Militär:
n.runs und Thales kooperieren


* * *

20 August 2008:
Artikel
"IT-Grundschutz" des BSI und secumedia Verlages - Antivirensoftware :
Wegbereiter für
Datendiebe


* * *

20 August 2008:
Press Release
Wachsende Bedrohung:
folgenschwere Angriffe auf E-Mail-/AV-Systeme nehmen stetig zu.


* * *