|
SAP Internet Graphics Server Directory Traversal |
|
|
|
|
Thursday, 11 August 2005 |
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.
Credit:
The information has been provided by Martin ONeal.
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:
CAN-2005-1691 |