Open Flash Chart ofc_upload_image.php code execution

ofc-ofcuploadimage-code-execution (53825) The risk level is classified as HighHigh Risk

Description:

Open Flash Chart could allow a remote attacker to execute arbitrary PHP code on the system, caused by improper validation of user-supplied input by the ofc_upload_image.php script when register_globals is enabled. An attacker could exploit this vulnerability to upload executable files using the name parameter or to upload code via the HTTP_RAW_POST_DATA parameter and submit a direct request to the tmp-upload-images directory to execute PHP code with the privileges of the Web server.

Note: Products that use Open Flash Chart are also affected by this vulnerability.

*CVSS:

Base Score: 7.5
  Access Vector: Network
  Access Complexity: Low
  Authentication: None
  Confidentiality Impact: Partial
  Integrity Impact: Partial
  Availability Impact: Partial
 
Temporal Score: 6.2
  Exploitability: Functional
  Remediation Level: Official-Fix
  Report Confidence: Confirmed

Consequences:

Gain Access

Remedy:

For Woopra Analytics plugin for WordPress:
Upgrade to the latest version of Woopra Analytics (1.4.3.2 or later), available from the WordPress Web site. See References.

For other distributions:
Apply the appropriate update for your system. See References.

References:

  • CiviCRM Web site: Advisory: OpenFlashChart attacks.
  • Joobi Web site: jNews component for Joomla!.
  • joobi Web Site: Security release: update to jNews 7.9.x .
  • Offensive Security Exploit Database [02-20-2013]: OpenEMR PHP File Upload Vulnerability.
  • Offensive Security Exploit Database [04-22-2013]: CiviCRM for Joomla 4.2.2 - Remote Code Injection.
  • Offensive Security Exploit Database [10-26-2013]: Open Flash Chart 2 Arbitrary File Upload.
  • OpenX Blog: OpenX Security Update.
  • OpenX Web site: Video Plugin.
  • Packet Storm Security [02-20-2013]: OpenEMR PHP File Upload.
  • Packet Storm Security [10-26-2013]: Open Flash Chart 2 Arbitrary File Upload.
  • Packet Storm Web Site: Piwik Build <= 1357 2009-08-02 (ofc_upload_image.php) Remote File Upload.
  • Piwik Web site: Piwik - Web analytics - Open source.
  • Piwki Web Site: Piwik 0.4.4, response to Secunia Advisory SA37078.
  • Teethgrinder Web site: Open Flash Chart.
  • WordPress Web site: Woopra Analytics Plugin.
  • BID-37314: Open Flash Chart 'ofc_upload_image.php' Remote PHP Code Execution Vulnerability
  • CVE-2009-4140: Unrestricted file upload vulnerability in ofc_upload_image.php in Open Flash Chart v2 Beta 1 through v2 Lug Wyrm Charmer, as used in Piwik 0.2.35 through 0.4.3, Woopra Analytics Plugin before 1.4.3.2, and possibly other products, when register_globals is enabled, allows remote authenticated users to execute arbitrary code by uploading a file with an executable extension through the name parameter with the code in the HTTP_RAW_POST_DATA parameter, then accessing it via a direct request to the file in tmp-upload-images/.
  • OSVDB ID: 59051: Open Flash Chart ofc_upload_image.php Multiple Parameter File Upload Arbitrary Code Execution
  • SA37078: Piwik Arbitrary File Creation Vulnerability
  • SA37903: Open Flash Chart Arbitrary File Creation Vulnerability
  • SA37911: WordPress Woopra Analytics Plugin Arbitrary File Creation Vulnerability
  • SA41402: OpenX Video Plugin Open Flash Chart Vulnerability
  • SA41456: OpenX Video Plugin Arbitrary File Creation Vulnerability
  • SA51333: Joomla! jNews Component Open Flash Chart Arbitrary File Creation Vulnerability
  • SA53158: CiviCRM Multiple Products Open Flash Chart Arbitrary File Creation Vulnerability
  • SA53177: WordPress open-flash-chart-core Plugin Open Flash Chart Arbitrary File Creation Vulnerability
  • SA55160: WordPress WP-SlimStat-Ex Plugin Open Flash Chart Arbitrary File Creation Vulnerability
  • SA55162: WordPress SEO Watcher Plugin Open Flash Chart Arbitrary File Creation Vulnerability

Platforms Affected:

  • Joobi jNews component for Joomla! 7.9
  • Joomla! CiviCRM component for Joomla! 4.2.2
  • Open Flash Chart Open Flash Chart 2
  • OpenEMR OpenEMR 3.2.0
  • OpenX Video Plugin 1.1
  • OpenX Video Plugin 2.8.2
  • OpenX Video Plugin 2.8.3
  • OpenX Video Plugin 2.8.4
  • OpenX Video Plugin 2.8.5
  • OpenX Video Plugin 2.8.6
  • Piwik Piwik 0.2.35
  • Piwik Piwik 0.4.3
  • WordPress Woopra Analytics Plugin for WordPress 1.3.3
  • WordPress Woopra Analytics Plugin for WordPress 1.3.4
  • WordPress Woopra Analytics Plugin for WordPress 1.3.5
  • WordPress Woopra Analytics Plugin for WordPress 1.3.6
  • WordPress Woopra Analytics Plugin for WordPress 1.3.7
  • WordPress Woopra Analytics Plugin for WordPress 1.3.8
  • WordPress Woopra Analytics Plugin for WordPress 1.4.0
  • WordPress Woopra Analytics Plugin for WordPress 1.4.0.1
  • WordPress Woopra Analytics Plugin for WordPress 1.4.0.2
  • WordPress Woopra Analytics Plugin for WordPress 1.4.0.3
  • WordPress Woopra Analytics Plugin for WordPress 1.4.1
  • WordPress Woopra Analytics Plugin for WordPress 1.4.1.1
  • WordPress Woopra Analytics Plugin for WordPress 1.4.2
  • WordPress Woopra Analytics Plugin for WordPress 1.4.3
  • WordPress Woopra Analytics Plugin for WordPress 1.4.3.1

Reported:

Oct 20, 2009

The information within this database may change without notice. Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. In no event shall the author/distributor (IBM Internet Security Systems X-Force) be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.

For corrections or additions please email ignore thisxforceignore this@ignore thisus.ignore thisibm.comignore this

Return to the main page

* According to the Forum of Incident Response and Security Teams (FIRST), the Common Vulnerability Scoring System (CVSS) is an "industry open standard designed to convey vulnerability severity and help to determine urgency and priority of response." IBM PROVIDES THE CVSS SCORES "AS IS" WITHOUT WARRANTY OF ANY KIND, INCLUDING THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. CUSTOMERS ARE RESPONSIBLE FOR ASSESSING THE IMPACT OF ANY ACTUAL OR POTENTIAL SECURITY VULNERABILITY.
The information within this database may change without notice. Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. In no event shall IBM be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.

About IBM Security Systems

IBM Security Systems include an extensive portfolio of hardware, software solutions, professional and managed services offerings covering the spectrum of IT and business security risks: people and identity, data and information, application and process, network, server and endpoint and physical infrastructure, empowering clients to innovate and operate their businesses on the most secure infrastructure platforms. Through world-class solutions that address risk across the enterprise, IBM helps organizations build a strong security posture that helps reduce costs, improve service, and manage risk. IBM X-Force(R) Research and Development is one of the most renowned commercial security research and development groups in the world. For more information on how to address today's biggest risks, please visit us at ibm.com/security.