[UNIX] SAP Internet Graphics Server Directory Traversal

SecuriTeam <[email protected]> 8 Aug 2005 15:30:03 +0200
Newsgroups gmane.comp.security.securiteam
Message-ID <[email protected]>
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 

- - - - - - - - -



  SAP Internet Graphics Server Directory Traversal
------------------------------------------------------------------------


SUMMARY

The Internet Graphics Server (IGS) is "a subcomponent of the SAP R/3 
enterprise environment, which is accessible over HTTP via a minimalist web 
server component".

By entering an HTTP document path that incorporates a directory traversal 
(../..) sequence, documents outside of the web root can be accessed with 
the privileges of the user that was used to start the IGS service.

DETAILS

Vulnerable Systems:
 * SAP prior to version 6.40 Patch 11

The IGS product does not appear to validate the document path that is 
passed to it, prior to using operating system functions to access and 
retrieve the documents.

Proof of Concept:
The exact path required to perform the traversal is dependent on the 
actual implementation of the product, and the directory to which it is 
installed. On the HP-UX platform, a working traversal path is:
http://host/htdocs/../../../../../../../../../../../../etc/passwd

Recommendations:
Upgrade to the latest version of the SAP IGS software, version 6.40 Patch 
11.

Note: Corsaire has not had the opportunity to examine the patch, so can 
not vouch for whether it truly resolves the validation issues, or merely 
obscures them.

If the IGS component is not required, it can be deactivated using the 
process described in SAP Note 862169.

CVE Information:
 <http://www.cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2005-1691> 
CAN-2005-1691


ADDITIONAL INFORMATION

The information has been provided by  <mailto:[email protected]> 
Martin O'Neal.



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


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: [email protected] 
In order to subscribe to the mailing list, simply forward this email to: [email protected] 


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

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.