cve/2022/CVE-2022-40797.md

18 lines
781 B
Markdown
Raw Normal View History

2024-05-25 21:48:12 +02:00
### [CVE-2022-40797](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-40797)
![](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
Roxy Fileman 1.4.6 allows Remote Code Execution via a .phar upload, because the default FORBIDDEN_UPLOADS value in conf.json only blocks .php, .php4, and .php5 files. (Visiting any .phar file invokes the PHP interpreter in some realistic web-server configurations.)
### POC
#### Reference
- http://packetstormsecurity.com/files/169964/Roxy-Fileman-1.4.6-Remote-Shell-Upload.html
#### Github
- https://github.com/ARPSyndicate/cvemon