{
    "id": "CVE-2009-4140",
    "published": "2009-12-22 22:30:00",
    "last_modified": "2026-06-16 23:13:06",
    "cvss_score": "7.5",
    "cvss_severity": "HIGH",
    "cvss_version": "2.0",
    "cvss_vector": "AV:N/AC:L/Au:N/C:P/I:P/A:P",
    "cwe": null,
    "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/.",
    "epss_score": "0.75838",
    "epss_percentile": "0.99511",
    "kev": 0,
    "kev_due": null,
    "has_exploit": 1,
    "updated_at": "2026-09-26 18:16:55",
    "priority": {
        "rank": 2,
        "label": "Patch early",
        "why": "A public exploit exists."
    },
    "products": [
        {
            "vendor": "matomo",
            "product": "matomo"
        },
        {
            "vendor": "teethgrinder.co.uk",
            "product": "open_flash_chart"
        }
    ],
    "kev_detail": null,
    "exploits": [
        {
            "source": "exploit-db",
            "ref_id": "29210",
            "title": "Open Flash Chart 2 - Arbitrary File Upload (Metasploit)",
            "date": "2013-10-26",
            "url": "https://www.exploit-db.com/exploits/29210"
        },
        {
            "source": "exploit-db",
            "ref_id": "29091",
            "title": "ZonPHP 2.25 - Remote Code Execution",
            "date": "2013-10-20",
            "url": "https://www.exploit-db.com/exploits/29091"
        },
        {
            "source": "exploit-db",
            "ref_id": "24969",
            "title": "Joomla! Component com_civicrm 4.2.2 - Remote Code Injection",
            "date": "2013-04-22",
            "url": "https://www.exploit-db.com/exploits/24969"
        },
        {
            "source": "exploit-db",
            "ref_id": "24529",
            "title": "OpenEMR - Arbitrary '.PHP' File Upload (Metasploit)",
            "date": "2013-02-20",
            "url": "https://www.exploit-db.com/exploits/24529"
        },
        {
            "source": "exploit-db",
            "ref_id": "24492",
            "title": "OpenEMR 4.1.1 - 'ofc_upload_image.php' Arbitrary File Upload",
            "date": "2013-02-13",
            "url": "https://www.exploit-db.com/exploits/24492"
        },
        {
            "source": "exploit-db",
            "ref_id": "10532",
            "title": "Piwik Open Flash Chart - Remote Code Execution",
            "date": "2009-12-17",
            "url": "https://www.exploit-db.com/exploits/10532"
        }
    ],
    "refs_list": [
        "http://packetstormsecurity.com/files/123493/wpseowatcher-exec.txt",
        "http://packetstormsecurity.com/files/123494/wpslimstatex-exec.txt",
        "http://packetstormsecurity.org/0910-exploits/piwik-upload.txt",
        "http://piwik.org/blog/2009/10/piwik-response-to-secunia-advisory-sa37078/",
        "http://secunia.com/advisories/37078",
        "http://secunia.com/advisories/37911",
        "http://secunia.com/advisories/55160",
        "http://secunia.com/advisories/55162",
        "http://wordpress.org/extend/plugins/woopra/changelog/",
        "http://www.exploit-db.com/exploits/24969",
        "http://www.openwall.com/lists/oss-security/2009/12/14/1",
        "http://www.openwall.com/lists/oss-security/2009/12/14/3",
        "http://www.osvdb.org/59051",
        "http://www.securityfocus.com/bid/37314",
        "http://www.vupen.com/english/advisories/2009/2966",
        "https://exchange.xforce.ibmcloud.com/vulnerabilities/53825",
        "http://packetstormsecurity.com/files/123493/wpseowatcher-exec.txt",
        "http://packetstormsecurity.com/files/123494/wpslimstatex-exec.txt",
        "http://packetstormsecurity.org/0910-exploits/piwik-upload.txt",
        "http://piwik.org/blog/2009/10/piwik-response-to-secunia-advisory-sa37078/",
        "http://secunia.com/advisories/37078",
        "http://secunia.com/advisories/37911",
        "http://secunia.com/advisories/55160",
        "http://secunia.com/advisories/55162",
        "http://wordpress.org/extend/plugins/woopra/changelog/"
    ]
}