cve/2009/CVE-2009-4140.md
2024-06-18 02:51:15 +02:00

23 lines
1.2 KiB
Markdown

### [CVE-2009-4140](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2009-4140)
![](https://img.shields.io/static/v1?label=Product&message=n%2Fa&color=blue)
![](https://img.shields.io/static/v1?label=Version&message=n%2Fa&color=blue)
![](https://img.shields.io/static/v1?label=Vulnerability&message=n%2Fa&color=brighgreen)
### 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/.
### POC
#### Reference
- http://packetstormsecurity.com/files/123493/wpseowatcher-exec.txt
- http://packetstormsecurity.com/files/123494/wpslimstatex-exec.txt
- http://packetstormsecurity.org/0910-exploits/piwik-upload.txt
#### Github
- https://github.com/ARPSyndicate/cvemon
- https://github.com/Alexeyan/CVE-2009-4137
- https://github.com/CVEDB/PoC-List
- https://github.com/CVEDB/awesome-cve-repo