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.
Problem types
CWE-434 Unrestricted Upload of File with Dangerous Type
Product status
1.0
Credits
Yakir Wizman
References
www.exploit-db.com/exploits/21079
www.exploit-db.com/exploits/20422
raw.githubusercontent.com/...ttp/mobilecartly_upload_exec.rb
raw.githubusercontent.com/...ttp/mobilecartly_upload_exec.rb
www.exploit-db.com/exploits/20422
www.exploit-db.com/exploits/21079
web.archive.org/web/20120919081957/http://mobilecartly.com/
www.vulncheck.com/...es/mobilecartly-arbitrary-file-creation