BreachSpiderVerified, not vibes

CVE-2009-4140 in Matomo and 1 more product

High 7.5 Public exploit reported

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

Affects 2 products from 2 vendors. Facts below cite their sources.

CVSS 2.07.5
EPSS75.8%
EPSS percentile100th
FixUnknown

Remotely exploitable over the network, low complexity.

Affected products and versions

VendorProductAffected versions
Matomo Matomo 0.2.37 0.4.2 0.4.3
Teethgrinder.Co.Uk Open Flash Chart 2.0

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

No official vendor advisory link on record. See the CVE record.

Vendor PSIRT: [email protected]

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitReported · reference

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

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2009-4140
BreachSpider IDBS-2009-GLOBAL-161195-H
CVSS vectorAV:N/AC:L/Au:N/C:P/I:P/A:P
Published2009-12-22
Last modified2026-06-16
SourceNVD

Analysis AI-written, not human-reviewed

An unrestricted file upload vulnerability in ofc_upload_image.php in Open Flash Chart versions Beta 1 through Lug Wyrm Charmer, as used in Piwik and Woopra Analytics Plugin, allows remote authenticated users to execute arbitrary code by uploading a file with an executable extension through the name parameter when register_globals is enabled.

The vulnerability arises from the lack of proper validation and restriction on file uploads in the ofc_upload_image.php script. When register_globals is enabled, an attacker can manipulate the 'name' parameter to upload a file with an executable extension, leading to remote code execution.

Questions

What is CVE-2009-4140?

An unrestricted file upload vulnerability in ofc_upload_image.php in Open Flash Chart versions Beta 1 through Lug Wyrm Charmer, as used in Piwik and Woopra Analytics Plugin, allows remote authenticated users to execute arbitrary code by uploading a file with an executable extension through the name parameter when register_globals is enabled.

What is the CVSS score for CVE-2009-4140?

CVE-2009-4140 has CVSS 7.5 (High). Vector: AV:N/AC:L/Au:N/C:P/I:P/A:P. EPSS: 75.8%.

Is CVE-2009-4140 actively exploited?

Public exploit available for CVE-2009-4140. Exploitation risk elevated.

How do I remediate CVE-2009-4140?

Priority: IMMEDIATE. PSIRT: [email protected]

What systems are affected by CVE-2009-4140?

CVE-2009-4140 affects Matomo Matomo; Teethgrinder.Co.Uk Open Flash Chart.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Matomo","product":"Matomo","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-16.