[UNIX] SQL Injection Vulnerability in FuzzyMonkey My Classifieds SQL

From: SecuriTeam (support_at_securiteam.com)
Date: 10/22/03

  • Next message: SecuriTeam: "[NT] PGPDisk Available to Any "Switched User" Under Windows XP"
    To: list@securiteam.com
    Date: 22 Oct 2003 11:07:57 +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

    - - - - - - - - -

      SQL Injection Vulnerability in FuzzyMonkey My Classifieds SQL
    ------------------------------------------------------------------------

    SUMMARY

     <http://fuzzymonkey.org/newfuzzy/software/perl/classifieds/readme.html>
    My Classifieds SQL is a "Perl/CGI/MySQL script which will quickly and
    easily allow the hosting of a classifieds forum on a website. Users can
    browse the ads, but must log in with their email and password before being
    allowed to post an ad".

    My Classifieds SQL is vulnerable to a SQL injection attack. The problem is
    due to improper sensitization of user input for the $emailvariable. A
    remote attacker could insert arbitrary SQL code in the $emailvariable. The
    vulnerability allows the passwords of the users to be written into a file
    and made world readable.

    DETAILS

    Vulnerable Systems:
     * FuzzyMonkey My Classifieds SQL version 2.11

    Immune Systems:
     * FuzzyMonkey My Classifieds SQL version 2.13

    Exploit:
    If the value of $email is aaa@aaa.com' OR 1=1 INTO
    OUTFILE'/<directory-path>/pass.txt, the SQL request becomes:
    select passmd5 from people where email=' aaa@aaa.com' OR 1=1 INTO
    OUTFILE'/<directory-path>/pass.txt'

    Resulting in the passwords of the users being written into the file
    pass.txt.

    Impact:
    A malicious attacker can obtain passwords of users.

    Solution:
    Upgrade to version 2.13, available from:
    <http://www.fuzzymonkey.org/files/myclassifiedssql-2.13.tar.gz>
    http://www.fuzzymonkey.org/files/myclassifiedssql-2.13.tar.gz

    Vulnerability History:
    15 Oct 2003 Identified by Ezhilan of Sintelli
    15 Oct 2003 Issue disclosed to FuzzyMonkey (Erin)
    16 Oct 2003 Vulnerability confirmed by Erin
    18 Oct 2003 Fix available
    18 Oct 2003 Sintelli confirms vulnerability has been addressed
    18 Oct 2003 Sintelli Public Disclosure

    ADDITIONAL INFORMATION

    The information has been provided by <mailto:sintraq at sintelli.com>
    Sintelli SINTRAQ
    The original article can be found at:
    <http://www.sintelli.com/adv/sa-2003-04-myclassified.pdf>
    http://www.sintelli.com/adv/sa-2003-04-myclassified.pdf

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

    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: "[NT] PGPDisk Available to Any "Switched User" Under Windows XP"

    Relevant Pages

    • [UNIX] Trend Micro VirusWall Buffer Overflow in VSAPI Library
      ... The following security advisory is sent to the securiteam mailing list, and can be found at the SecuriTeam web site: http://www.securiteam.com ... buffer overflow vulnerability in VSAPI library allows arbitrary code ... is called "vscan" which is set suid root by default. ... permissions and thus granted all local users the privilege to execute the ...
      (Securiteam)
    • [UNIX] SCO Multiple Local Buffer Overflow
      ... The following security advisory is sent to the securiteam mailing list, and can be found at the SecuriTeam web site: http://www.securiteam.com ... Local exploitation of a buffer overflow vulnerability in the ppp binary, ... allows attackers to gain root privileges. ...
      (Securiteam)
    • [NT] Microsoft Word 6.0/95 Document Converter Buffer Overflow (MS04-041)
      ... The following security advisory is sent to the securiteam mailing list, and can be found at the SecuriTeam web site: http://www.securiteam.com ... WordPad is "a word processing application that uses the MFC rich edit ... Remote exploitation of a buffer overflow vulnerability in Microsoft ... Microsoft Word format files into the Rich Text Format natively handled by ...
      (Securiteam)
    • [UNIX] Tikiwiki Command Injection and Arbitrary File Exposure 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 ... Two security vulnerabilities have been recently discovered in Tikiwiki, ... Remote exploitation of an input validation vulnerability in Tikiwiki ... allows attackers to gain access to arbitrary files on the vulnerable ...
      (Securiteam)
    • [NT] Ipswitch Multiple Vulnerabilities (IMail IMAP LIST Command DoS, Collaboration Suite SMTP Format
      ... The following security advisory is sent to the securiteam mailing list, and can be found at the SecuriTeam web site: http://www.securiteam.com ... Ipswitch Multiple Vulnerabilities (IMail IMAP LIST Command DoS, ... Collaboration Suite SMTP Format String) ... Remote exploitation of a denial of service vulnerability in Ipswitch ...
      (Securiteam)