Waraxe IT Security Portal  
  Login or Register
::  Home  ::  Search  ::  Your Account  ::  Forums  ::   Waraxe Advisories  ::  Tools  ::
April 20, 2024
Menu
 Home
 Logout
 Discussions
 Forums
 Members List
 IRC chat
 Tools
 Base64 coder
 MD5 hash
 CRC32 checksum
 ROT13 coder
 SHA-1 hash
 URL-decoder
 Sql Char Encoder
 Affiliates
 y3dips ITsec
 Md5 Cracker
 User Manuals
 AlbumNow
 Content
 Content
 Sections
 FAQ
 Top
 Info
 Feedback
 Recommend Us
 Search
 Journal
 Your Account



User Info
Welcome, Anonymous
Nickname
Password
(Register)

Membership:
Latest: MichaelSnaRe
New Today: 0
New Yesterday: 0
Overall: 9145

People Online:
Visitors: 627
Members: 0
Total: 627
PacketStorm News
·301 Moved Permanently

read more...
Log in Register Forum FAQ Memberlist Search
IT Security and Insecurity Portal

www.waraxe.us Forum Index -> General discussion -> .doc vulnerabilities
Post new topic  Reply to topic View previous topic :: View next topic 
.doc vulnerabilities
PostPosted: Fri Jan 25, 2008 9:47 pm Reply with quote
agentsteal
Regular user
Regular user
 
Joined: Jun 09, 2007
Posts: 5




I made a PHP script that dynamically creates Microsoft Word .doc files. Can inserting user input into a .doc file be exploited? Is there anything I need to filter?
View user's profile Send private message
Re: .doc vulnerabilities
PostPosted: Fri Jan 25, 2008 10:15 pm Reply with quote
waraxe
Site admin
Site admin
 
Joined: May 11, 2004
Posts: 2407
Location: Estonia, Tartu




agentsteal wrote:
I made a PHP script that dynamically creates Microsoft Word .doc files. Can inserting user input into a .doc file be exploited? Is there anything I need to filter?


What is output? "Content-Disposition:attachment"-type forced download?
Or you will save temp files or final files in web-accessible directories?

What is input? Plaintext?
View user's profile Send private message Send e-mail Visit poster's website
PostPosted: Fri Jan 25, 2008 10:31 pm Reply with quote
agentsteal
Regular user
Regular user
 
Joined: Jun 09, 2007
Posts: 5




Quote:
What is output? "Content-Disposition:attachment"-type forced download?

Yes.

Quote:
What is input? Plaintext?

It's the information from a registration form.
View user's profile Send private message
PostPosted: Sat Jan 26, 2008 1:40 am Reply with quote
waraxe
Site admin
Site admin
 
Joined: May 11, 2004
Posts: 2407
Location: Estonia, Tartu




Well, i don't see here any direct security issues. But it all depends of implementation. I mean - only attack vector, that I am able to consider right now, based on provided information, is expected user input from html form, delivered through POST request and then used for doc-file creation. This seems secure, if input data is plaintext.
But you must consider other attack vectors - local and remote file inclusions, remote code executions, variable poisoning (php issue),etc.
Without seeing source code there is no way to be sure ...
View user's profile Send private message Send e-mail Visit poster's website
.doc vulnerabilities
  www.waraxe.us Forum Index -> General discussion
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT  
Page 1 of 1  

  
  
 Post new topic  Reply to topic  




Powered by phpBB © 2001-2008 phpBB Group






Space Raider game for Android, free download - Space Raider gameplay video - Zone Raider mobile games
All logos and trademarks in this site are property of their respective owner. The comments and posts are property of their posters, all the rest (c) 2004-2020 Janek Vind "waraxe"
Page Generation: 0.201 Seconds