Skip to content
Vulnerability Intelligence

CVE-2009-4140

HighExploitedPublic exploit

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…

Published Oct 20, 2009 · Updated Aug 7, 2024 · Also known as 5d5d9ef7-3832-495c-b61b-7e24c2e60893

Key Facts

Patch immediately
  • CVE-2009-4140 is a high-severity vulnerability (CVSS 8.8 v3.1) affecting Matomo, Open Flash Chart (Teethgrinder.co.uk), piwik-pro (wordpress-plugin) and 1 more product.
  • It is exploited in the wild, listed in Industry KEV feed since May 6, 2014. Public exploit code is available.
  • EPSS estimates a 76% probability of exploitation in the next 30 days.
  • Fixed versions are available, including piwik-pro 0.4.4, woopra 1.4.3.2, Matomo 0.
  • Brandefense priority: patch immediately, because it is listed as exploited in the wild.

CVSS v3.1

8.8

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

EPSS (30-day exploit likelihood)

76%

Higher than 99.5% of all scored CVEs

Exploited in the wild

Yes

1 catalog listing

Public exploit code

Available

Proof-of-concept or weaponized module

Get the full CVE-2009-4140 brief as a PDF

Every affected product and fixed release, exploitation status and a first 24 hours response checklist, emailed within minutes.

Description

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/.

Known-Exploited Catalog Listings

CatalogAddedRemediation dueRansomware use
Industry KEV feedMay 6, 2014n/aNot reported

Required action: Apply remediations or mitigations per vendor instructions or discontinue use of the product if remediation or mitigations are unavailable.

Affected Products

15 affected entries in total
ProductAffected versionsFixed in
MatomoMatomo0.2.37, 0.4.2, 0.4.30
Open Flash ChartTeethgrinder.co.uk2.0-beta_1, 2.0-gamera, 2.0-hyperion, 2.0-ichor, 2.0-j_rmungandr, 2.0-j_rmungandr-2, 2.0-kvasir, 2.0-lug_wyrm_charmern/a
piwik-prowordpress-plugin>= 0.2.350.4.4
wooprawordpress-pluginSee advisory1.4.3.2

Patched Releases

piwik-pro

0.4.4

woopra

1.4.3.2

Timeline

  1. Publicly disclosed

    Oct 20, 2009

  2. Added to Industry KEV feed

    May 6, 2014

  3. Last updated

    Aug 7, 2024

Weakness Type

  • CWE-434 Unrestricted Upload of File with Dangerous Type

References

15 more references in the full CVE brief

FAQ

Common Questions.

Is CVE-2009-4140 Running On Your Attack Surface?

Brandefense maps vulnerabilities like this one to your internet-facing assets and tells you exactly where to patch.

Request A Demo