Hash: SHA1

                         AUSCERT Security Bulletin

         A number of vulnerabilities have been identified in Open
                    Source SIM prior to version 2.1.5-4
                             22 December 2009


        AusCERT Security Bulletin Summary

Product:              Open Source SIM prior to version 2.1.5-4
Operating System:     Network Appliance
Impact/Access:        Execute Arbitrary Code/Commands -- Existing Account
                      Modify Arbitrary Files          -- Existing Account
Resolution:           Patch/Upgrade
CVE Names:            CVE-2009-4375 CVE-2009-4374 CVE-2009-4373
Member content until: Wednesday, January 20 2010

Revision History:     December 22 2009: Added CVE reference
                      December 22 2009: Added CVE references
                      December 21 2009: Initial Release


        A number of vulnerabilities have been identified in Open Source SIM
        prior to version 2.1.5-4.


        The vendor has provided the following descriptions regarding these
        "A vulnerability has been discovered in OSSIM, which can be exploited 
        by malicious people to conduct SQL injection attacks. Input passed via 
        the "id_document" parameter to repository_attachment.php is not 
        properly sanitized before being used in a SQL query. This can be 
        exploited to manipulate SQL queries by injecting arbitrary SQL code.
        The vulnerability is confirmed in version 2.1.5. Other versions may 
        also be affected." [1]
        "OSSIM is prone to a remote command execution vulnerability because 
        the software fails to adequately sanitize user-supplied input. 
        Successful attacks can compromise the affected software and possibly 
        the computer running OSSIM." [2]
        "The vulnerability is caused due to an improper check in 
        repository_attachment.php script, allowing the upload of files with 
        arbitrary extensions to a folder inside the Webroot. This can be 
        exploited to e.g. execute arbitrary PHP code by uploading a specially 
        crafted PHP script containing some kind of Web Shell. Also, using path 
        traversal technique, an attacker can change the original destination 
        path." [3]


        The vendor recommends upgrading to the latest version of Open Source 
        SIM. [4]


        [1] SQL injection in OSSIM

        [2] Remote Command Execution in OSSIM

        [3] Arbitrary File Upload in OSSIM

        [4] AlienVault - Creators of OSSIM Correlation and Security Suite

AusCERT has made every effort to ensure that the information contained
in this document is accurate.  However, the decision to use the information
described is the responsibility of each user or organisation. The decision to
follow or act on information or advice contained in this security bulletin is
the responsibility of each user or organisation, and should be considered in
accordance with your organisation's site policies and procedures. AusCERT
takes no responsibility for consequences which may arise from following or
acting on information or advice contained in this security bulletin.

If you believe that your computer system has been compromised or attacked in 
any way, we encourage you to let us know by completing the secure National IT 
Incident Reporting Form at:


Australian Computer Emergency Response Team
The University of Queensland
Qld 4072

Internet Email: auscert@auscert.org.au
Facsimile:      (07) 3365 7031
Telephone:      (07) 3365 4417 (International: +61 7 3365 4417)
                AusCERT personnel answer during Queensland business hours 
                which are GMT+10:00 (AEST).
                On call after hours for member emergencies only.
Comment: http://www.auscert.org.au/render.html?it=1967