---
title: "Web Attack: Open Flash Chart CVE-2009-4140"
url: https://www.broadcom.com/support/security-center/attacksignatures/detail?asid=27851
description: Attack Signature Detail Page
---

# Web Attack: Open Flash Chart CVE-2009-4140

## Severity: High

This attack could pose a serious security threat. You should take immediate action to stop any damage or prevent further damage from happening.

## Description

This signature detects attempts to exploit a remote code execution vulnerability in Open Flash Chart.

## Additional Information

Open Flash Chart is a PHP-based chart application. 

Open Flash Chart is prone to a remote code-execution vulnerability because the application fails to sanitize users-supplied input to the 'name' and 'HTTP_RAW_POST_DATA' parameters in the 'ofc_upload_image.php' script when verifying file extensions. Attackers can exploit this issue to create arbitrary files and execute arbitrary PHP code within the context of the affected webserver process. 

Open Flash Chart 2 Beta 1 and Open Flash Chart 2 are vulnerable; other versions may also be affected.

## Affected

- Open Flash Chart 2 Beta 1 and Open Flash Chart 2 are vulnerable.

## Additional Resources

- [CVE-2009-4140](http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2009-4140)
- [SecurityFocus BID: 37314](http://www.securityfocus.com/bid/37314)
