Description
An unauthenticated arbitrary file upload vulnerability exists in LibrettoCMS version 1.1.7 (and possibly earlier) contains an unauthenticated arbitrary file upload vulnerability in its File Manager plugin. The upload handler located at adm/ui/js/ckeditor/plugins/pgrfilemanager/php/upload.php fails to properly validate file extensions, allowing attackers to upload files with misleading extensions and subsequently rename them to executable .php scripts. This enables remote code execution on the server without authentication.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| LibrettoCMS | LibrettoCMS | 1.1.7 | — |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
Metasploit 1 module
-
LibrettoCMS File Manager Arbitary File Upload Vulnerability
exploit/unix/webapp/libretto_upload_exec
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
References
- https://raw.githubusercontent.com/rapid7/metasploit-framework/master/modules/exploits/unix/webapp/libretto_upload_exec.rb exploit
- https://www.exploit-db.com/exploits/26213 exploit
- https://www.exploit-db.com/exploits/26421 exploit
- https://sourceforge.net/projects/librettocms/ product
- https://www.vulncheck.com/advisories/librettocms-file-manager-arbitrary-file-upload third-party-advisory