[NEWS] CwpApi's GetRelativePath() Returns Invalid Paths
From: support@securiteam.comDate: 01/29/02
- Previous message: support@securiteam.com: "[TOOL] HFNetChk 3.3 now available"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
From: support@securiteam.com To: list@securiteam.com Date: Tue, 29 Jan 2002 22:07:23 +0100 (CET)
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
When was the last time you checked your server's security?
How about a monthly report?
http://www.AutomatedScanning.com - Know that you're safe.
- - - - - - - - -
CwpApi's GetRelativePath() Returns Invalid Paths
------------------------------------------------------------------------
SUMMARY
The <http://sourceforge.net/projects/cwpapi/> Comprehensive Web
Programming API is an interface for programmers who wish to write a secure
web program. An updated CwpApi release is available which fixes a minor
security bug in GetRelativePath() that allows a file outside the HTTP
ServerRoot to be read.
DETAILS
Vulnerable systems:
CwpApi version 1.1.0 and prior
Immune systems:
CwpApi version 1.1.1
Versions of CwpApi before 1.1.1 can return a path via GetRelativePath()
that is outside the HTTP server root. This happens because the code
checked only to see if the server root was included in the path, not
whether the actual directory fell under the server root. For example: the
path /etc/var/www/myfile.file would be considered valid if the server root
directory is /var/www.
How the update works:
If the directory is not below the server root, the directory is forced
beneath the server root. For example, /etc/var/www/myfile.file will become
/var/www/etc/var/www/myfile.file.
Solution:
Upgrade to the latest version:
<http://sourceforge.net/project/showfiles.php?group_id=39378&release_id=69915> http://sourceforge.net/project/showfiles.php?group_id=39378&release_id=69915
ADDITIONAL INFORMATION
The information has been provided by <mailto:support@acdinc.net> ACD
Incorporated Support.
========================================
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: support@securiteam.com: "[TOOL] HFNetChk 3.3 now available"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
- RE: Career Choice
... Almost all PD and SO's have volunteer programs. ... now finishing up my Bachlers
degree in Network Security. ... > you how much programming experience helps.
... My current studies have only one programming language course ... (Security-Basics) - Re: Forget the security industry!
... basic principles of programming are present in all languages. ... <can infect
uninfected ones, it is essential that the internet ... that is MS and the rest of the security
and software business ... a safe manner. ... (comp.security.firewalls) - RE: Career Choice
... I've been in security for appx 2 years now, and I can't begin to tell you ...
how much programming experience helps. ... My current studies have only one programming
language course ... The security of electronic mail sent through the Internet ...
(Security-Basics) - Re: Honeypot stats
... >> security problems, then the OS wasn't very secure in the first place". ...
the same one upon routine exit. ... and/or recover from this but without this kind of defensive
programming you ... (comp.os.vms) - generally, go tremble a chicken
... The Secret Service is apparently unaware that 2600 magazine is the ... specifically
chosen to get around the 900 programming restrictions. ... I remember another one that
triggered firm-wide security ... insisting that he merely collected books and information
and never ... (sci.crypt)