McAfee Firewall Reporter GeneralUtilities.pm isValidClient Authentication Bypass Vulnerability

2011-04-11T00:00:00
ID ZDI-11-117
Type zdi
Reporter Andrea Micalizzi aka rgod
Modified 2011-11-09T00:00:00

Description

This vulnerability allows remote attackers to execute arbitrary code on vulnerable installations of McAfee Firewall Reporter. Authentication is not required to exploit this vulnerability.

The specific flaw exists within the code responsible for authenticating users. The GernalUtilities.pm file contains code to validate sessions by parsing cookie values without sanitization. The faulty logic simply checks for the existence of a particular file, without verifying its contents. By using a directory traversal technique an attacker can point the cgisess cookie value to an arbitrary file that exists on the server and thus bypass authentication.