Bugtraq mailing list archives
Re: [Full-disclosure] Microsoft Windows Vista/2003/XP/2000 file management security issues
From: "Thor (Hammer of God)" <thor () hammerofgod com>
Date: Sat, 10 Mar 2007 08:28:27 -0800
Apps utilizing temporary files should always use the TEMP or TMP environment variables, not a hard-coded path. And by default, each user has their own temp directory created (in XP/Server it is "\Documents and Settings\username\Local Settings\temp" and in Vista it is "\Users\username\AppData\Local\Temp") that only they have permissions to (with SYSTEM and Administrators, of course). It's not like there is some global "Full Control" temp directory created by default.
t----- Original Message ----- From: "Roger A. Grimes" <roger () banneretcs com>
To: "Tim" <tim-security () sentinelchicken org> Cc: <bugtraq () securityfocus com>; <full-disclosure () lists grok org uk> Sent: Friday, March 09, 2007 9:42 AMSubject: RE: [Full-disclosure] Microsoft Windows Vista/2003/XP/2000 file management security issues
So, let me get this. An app storing sensitive data doesn't make its own temp storage folders in a secure location, and instead relies upon one of the few folders in Windows that all users have Full Control to, and this is a Windows problem? In Linux, if an app uses \tmp, is that a Linux issue? Sounds like a developer issue to me. Roger -----Original Message----- From: Tim [mailto:tim-security () sentinelchicken org] Sent: Friday, March 09, 2007 11:20 AM To: Roger A. Grimes Cc: bugtraq () securityfocus com; full-disclosure () lists grok org uk Subject: Re: [Full-disclosure] Microsoft Windows Vista/2003/XP/2000 file management security issues I find your assessment somewhat short-sighted. I have conducted code reviews on several commercial apps which use C:\TEMP in very insecure ways to store sensitive data. It seems some of these attacks would be possible in those situations. Sure, Windows is already pathetically insecure against an attackers already on the local system, but this would be yet another attack vector. tim
Current thread:
- Microsoft Windows Vista/2003/XP/2000 file management security issues 3APA3A (Mar 08)
- RE: Microsoft Windows Vista/2003/XP/2000 file management security issues M. Burnett (Mar 09)
- RE: Microsoft Windows Vista/2003/XP/2000 file management security issues Roger A. Grimes (Mar 09)
- Message not available
- RE: Re[2]: Microsoft Windows Vista/2003/XP/2000 file management security issues Roger A. Grimes (Mar 09)
- Re: [Full-disclosure] Microsoft Windows Vista/2003/XP/2000 file management security issues Tim (Mar 09)
- RE: [Full-disclosure] Microsoft Windows Vista/2003/XP/2000 file management security issues Roger A. Grimes (Mar 09)
- RE: [Full-disclosure] Microsoft Windows Vista/2003/XP/2000 file management security issues Laundrup, Jens (Mar 09)
- Re[2]: [Full-disclosure] Microsoft Windows Vista/2003/XP/2000 file management security issues 3APA3A (Mar 09)
- Re: [Full-disclosure] Microsoft Windows Vista/2003/XP/2000 file management security issues Tim (Mar 09)
- Message not available
- Re: [Full-disclosure] Microsoft Windows Vista/2003/XP/2000 file management security issues Thor (Hammer of God) (Mar 10)
- RE: [Full-disclosure] Microsoft Windows Vista/2003/XP/2000 file management security issues Roger A. Grimes (Mar 10)
- Message not available
- Re: Re[2]: [Full-disclosure] Microsoft Windows Vista/2003/XP/2000 file management security issues Thor (Hammer of God) (Mar 12)
- Message not available
- Re[2]: [Full-disclosure] Microsoft Windows Vista/2003/XP/2000 file management security issues 3APA3A (Mar 12)
- RE: Re[2]: Microsoft Windows Vista/2003/XP/2000 file management security issues M. Burnett (Mar 09)
- RE: Re[2]: Microsoft Windows Vista/2003/XP/2000 file management security issues Roger A. Grimes (Mar 09)
- Message not available
- RE: Re[4]: Microsoft Windows Vista/2003/XP/2000 file management security issues Roger A. Grimes (Mar 09)
- Message not available
- Re: Re[2]: Microsoft Windows Vista/2003/XP/2000 file management security issues Thor (Hammer of God) (Mar 09)
- <Possible follow-ups>
- Re: Microsoft Windows Vista/2003/XP/2000 file management security issues Steven M. Christey (Mar 13)
- Re[2]: Microsoft Windows Vista/2003/XP/2000 file management security issues 3APA3A (Mar 13)
- Re: Microsoft Windows Vista/2003/XP/2000 file management security issues Daniel Hazelton (Mar 13)
- Re[2]: Microsoft Windows Vista/2003/XP/2000 file management security issues 3APA3A (Mar 13)