Description
MobileCartly version 1.0 contains an arbitrary file creation vulnerability in the savepage.php script. The application fails to perform authentication or authorization checks before invoking file_put_contents() on attacker-controlled input. An unauthenticated attacker can exploit this flaw by sending crafted HTTP GET requests to savepage.php, specifying both the filename and content. This allows arbitrary file creation within the pages/ directory or any writable path on the server, allowing remote code execution.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| MobileCartly | MobileCartly | 1.0 | — |
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
-
MobileCartly 1.0 Arbitrary File Creation Vulnerability
exploit/multi/http/mobilecartly_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/multi/http/mobilecartly_upload_exec.rb exploit
- https://www.exploit-db.com/exploits/20422 exploit
- https://www.exploit-db.com/exploits/21079 exploit
- https://web.archive.org/web/20120919081957/http://mobilecartly.com/ product
- https://www.vulncheck.com/advisories/mobilecartly-arbitrary-file-creation third-party-advisory