[UNIX] MyDMS SQL Injection and Directory Traversal Vulnerabilities

From: SecuriTeam (support_at_securiteam.com)
Date: 08/22/04

  • Next message: SecuriTeam: "[UNIX] Sympa Mailing List System Cross Site Scripting"
    To: list@securiteam.com
    Date: 22 Aug 2004 17:23:02 +0200
    
    

    The following security advisory is sent to the securiteam mailing list, and can be found at the SecuriTeam web site: http://www.securiteam.com
    - - promotion

    The SecuriTeam alerts list - Free, Accurate, Independent.

    Get your security news from a reliable source.
    http://www.securiteam.com/mailinglist.html

    - - - - - - - - -

      MyDMS SQL Injection and Directory Traversal Vulnerabilities
    ------------------------------------------------------------------------

    SUMMARY

     <http://dms.markuswestphal.de/about.html> MyDMS is an open-source
    document-management-system based on PHP and MySQL published under the GPL.

    MyDMS allows malicious users to view and download files via a directory
    traversal bug and also allows remote attackers to insert arbitrary SQL
    code.

    DETAILS

    Vulnerable Systems:
     * MyDMS versions prior to 1.4.2

    Immune Systems:
     * MyDMS version 1.4.2 or newer (SQL injection vulnerability)

    An SQL Injection vulnerability found in the file
    /demo/out/out.ViewFolder.php. The parameter "FolderId" is not correctly
    sanitized and an attacker can inject any SQL valid command. An example is
    given below:
    http://>/demo/out/out.ViewFolder.php?folderid=3 or 1=1as

    Note: Using 1=1as makes the query fails but returns the complete SQL query
    give to the database server.

    The directory traversal bug is exploitable by registered users only but
    allows them to view any file by inserting text such as the following to a
    parameter:
    ./../../../../etc/passwd

    This vulnerability is pretty straightforward and will allow an attacker to
    gather a lot of information about the system that would allow better
    degrees of creative attack to be performed.

    Vendor Status:
    The vendor has been contacted and the SQL injection vulnerability has been
    fixed. However, the directory traversal bug is persistent even in the
    newer version.

    ADDITIONAL INFORMATION

    The information has been provided by <mailto:joxeankoret@yahoo.es> Joxean
    Koret.

    ========================================

    This bulletin is sent to members of the SecuriTeam mailing list.
    To unsubscribe from the list, send mail with an empty subject line and body to: list-unsubscribe@securiteam.com
    In order to subscribe to the mailing list, simply forward this email to: list-subscribe@securiteam.com

    ====================
    ====================

    DISCLAIMER:
    The information in this bulletin is provided "AS IS" without warranty of any kind.
    In no event shall we be liable for any damages whatsoever including direct, indirect, incidental, consequential, loss of business profits or special damages.


  • Next message: SecuriTeam: "[UNIX] Sympa Mailing List System Cross Site Scripting"

    Relevant Pages

    • [NT] Virtual Programming VP-ASP Shopping Cart Multiple SQL Injection Vulnerabilities
      ... The following security advisory is sent to the securiteam mailing list, and can be found at the SecuriTeam web site: http://www.securiteam.com ... SQL Injection Vulnerability in 'shopsearch.asp' Script ... Exploitation of the vulnerability allows a remote attacker to insert a new ... S-Quadra alerted VP-ASP development team to this issue on 28th November ...
      (Securiteam)
    • [EXPL] PostNuke SQL Injection (start, Exploit)
      ... The following security advisory is sent to the securiteam mailing list, and can be found at the SecuriTeam web site: http://www.securiteam.com ... PostNuke is vulnerable to an SQL injection vulnerability, ... print STDERR "Usage: KCpnuke-xpl.pl ...
      (Securiteam)
    • [UNIX] Linpha 0.9.4 Authentication Bypass
      ... The following security advisory is sent to the securiteam mailing list, and can be found at the SecuriTeam web site: http://www.securiteam.com ... LinPHA suffers from a SQL Injection vulnerability that allows attackers to ... In no event shall we be liable for any damages whatsoever including direct, indirect, incidental, consequential, loss of business profits or special damages. ...
      (Securiteam)
    • [UNIX] phpSysInfo Multiple Vulnerabilities (HTTP_ACCEPT_LANGUAGE, sensor_program, VERSION, charset)
      ... The following security advisory is sent to the securiteam mailing list, and can be found at the SecuriTeam web site: http://www.securiteam.com ... Multiple vulnerabilities have been discovered in phpSysInfo allowing ... the attacker to additionally inject the $lng parameter. ... $sensor_program can *still* be used to inject active ...
      (Securiteam)
    • [NT] Directory Traversal In CProxy
      ... The following security advisory is sent to the securiteam mailing list, and can be found at the SecuriTeam web site: http://www.securiteam.com ... directory traversal attack and thus gain access to arbitrary files located ... on the CProxy Server system. ... filtering allows a remote attacker to gain attack to arbitrary files on ...
      (Securiteam)