The Google Search Appliance contains a flaw that allows a remote attacker to verify the existance of a file. The issue is due to the proxystylesheet parameter in the search request, which doesn't check for a directory traversal in the file name. This allows an attacker to prepend a ../ sequence to an absolute file path and verify its existance based on the error message returned.
Classification
Location:
Remote/Network Access Required
Attack Type:
Information Disclosure
Impact:
Loss of Confidentiality
Exploit:
Exploit Available
Disclosure:
OSVDB Verified
OSVDB:
Web Related
Technical
Replace the proxystylesheet variable in the search URL with "../../../../../../../../path/to/file". The error reply for an existing file contains "The following required pattern was not found", otherwise it contains "Unable to fetch the stylesheet for collection". A patched system returns neither error.
Solution
Upgrade to the version specified by Google advisory GA-2005-08-m, as it has been reported to fix this vulnerability. An upgrade is required as there are no known workarounds.