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] Canonicalization and Directory Traversal in iSeries FTP Security

Subject: [UNIX] Canonicalization and Directory Traversal in iSeries FTP Security Products
Date: 25 Apr 2005 17:10:39 +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 

- - - - - - - - -



  Canonicalization and Directory Traversal in iSeries FTP Security Products
------------------------------------------------------------------------


SUMMARY

The IBM iSeries (AS/400) server provides a "unified access scheme, called 
IFS, to all of the files and to all of the database tables in all of the 
database libraries".

Because the built-in FTP server provides full access to the IFS, a valid, 
authenticated user, can access and retrieve via FTP all of the database 
tables and all of the files that he has authority to access, based on the 
server assigned object authority.

DETAILS

The problem is usually addressed by third party iSeries security products 
that attempt to limit FTP users only to the assets they should have access 
to.

For example, these products supposedly can limit access to a folder called 
/home/bp/outgoing, so while getting a file called 
/home/bp/outgoing/dailysales.csv is allowed while getting a file called 
/qsys.lib/aplibf.lib/apcaccp.file/apcaccp.mbr is blocked.

Several iSeries security products have been found to be vulnerable to a 
canonicalization attack resulting in a possible unauthorized access to 
iSeries database tables that were supposedly blocked from access.

For example, these products allows this FTP command:
GET 
/home/bp/outgoing/../../../qsys.lib/aplibf.lib/apcaccp.file/apcaccp.mbr

The following iSeries security vendors were approached to see whether 
their products are vulnerable to this canonicalization attack:
RazLee: notified on Feb 15, fix is available.
Castlehill: notified on March 15, fix is available.
Powertech: notified on March 15, fix is available.
Bsafe: notified on March 2, vendor has no comment.
SafeStone: notified on March 15, no reply received.
NetIQ: notified on March 15, no reply received.

iSeries servers without FTP security protection are vulnerable by default.


ADDITIONAL INFORMATION

The information has been provided by  <mailto:shalom@venera.com> Shalom 
Carmel.
The original article can be found at:  
<http://www.venera.com/downloads/Canonicalization_problems_in_iSeries_FTP_security.pdf>
 
http://www.venera.com/downloads/Canonicalization_problems_in_iSeries_FTP_security.pdf



======================================== 


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] Canonicalization and Directory Traversal in iSeries FTP Security Products, SecuriTeam <=