{"id":18688788,"url":"https://github.com/noraj/fuelcms-rce","last_synced_at":"2025-04-12T05:38:42.253Z","repository":{"id":86822339,"uuid":"312904658","full_name":"noraj/fuelcms-rce","owner":"noraj","description":"Fuel CMS 1.4 - Remote Code Execution","archived":false,"fork":false,"pushed_at":"2021-11-13T15:41:56.000Z","size":6,"stargazers_count":7,"open_issues_count":1,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-12T05:38:36.404Z","etag":null,"topics":["cve-2018-16763","exploit","fuel-cms","poc","rce","remote-code-execution"],"latest_commit_sha":null,"homepage":"","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/noraj.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-11-14T21:25:12.000Z","updated_at":"2025-02-10T15:12:42.000Z","dependencies_parsed_at":null,"dependency_job_id":"e539b006-a6b5-4c77-aaf1-f864f12b629f","html_url":"https://github.com/noraj/fuelcms-rce","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/noraj%2Ffuelcms-rce","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/noraj%2Ffuelcms-rce/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/noraj%2Ffuelcms-rce/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/noraj%2Ffuelcms-rce/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/noraj","download_url":"https://codeload.github.com/noraj/fuelcms-rce/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248525168,"owners_count":21118616,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cve-2018-16763","exploit","fuel-cms","poc","rce","remote-code-execution"],"created_at":"2024-11-07T10:38:22.158Z","updated_at":"2025-04-12T05:38:42.223Z","avatar_url":"https://github.com/noraj.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Fuel CMS RCE exploit / PoC\n\n\u003e Fuel CMS 1.4 - Remote Code Execution\n\nExploit / PoC for [CVE-2018-16763](https://nvd.nist.gov/vuln/detail/CVE-2018-16763).\n\n[[EDB-49487]](https://www.exploit-db.com/exploits/49487) [[PacketStorm](https://packetstormsecurity.com/files/160080/Fuel-CMS-1.4-Remote-Code-Execution.html)] [[WLB-2020110119](https://cxsecurity.com/issue/WLB-2020110119)]\n\n## Usage\n\n```\n$ ruby exploit.rb -h\nFuel CMS 1.4 - Remote Code Execution\n\nUsage:\n  exploit.rb \u003curl\u003e \u003ccmd\u003e\n  exploit.rb -h | --help\n\nOptions:\n  \u003curl\u003e         Root URL (base path) including HTTP scheme, port and root folder\n  \u003ccmd\u003e         The system command to execute\n  -h, --help    Show this screen\n\nExamples:\n  exploit.rb http://example.org id\n  exploit.rb https://example.org:8443/fuelcms 'cat /etc/passwd'\n```\n\n## Requirements\n\n- [httpclient](https://github.com/nahi/httpclient)\n- [docopt.rb](https://github.com/docopt/docopt.rb)\n\nExample for BlackArch:\n\n```\npacman -S ruby-httpclient ruby-docopt\n```\n\nExample using gem:\n\n```\ngem install httpclient docopt\n```\n\n## Demo environment\n\n```\n$ docker pull her0ma/fuelcms\n$ docker run -d -p 8099:80 -p 3306:3306 her0ma/fuelcms /bin/startup.sh\n$ ruby exploit.rb http://127.0.0.1:8099/index.php/ 'ls -lhA'\n```\n\n## Reference\n\nThis is a better re-write of [EDB-ID-47138][EDB-ID-47138] ([Github](https://github.com/dinhbaouit/CVE-2018-16763)):\n\n- better output (displays only command's output)\n- using arguments (instead of hardcoded values)\n- cleaner \u0026 more customizable\n- using ruby (python2 is deprecated)\n\nThis exploit was tested with Ruby 2.7.2, 3.0.2.\n\nAbout [EDB-ID-47138][EDB-ID-47138]:\n\n```\n# Exploit Title: fuelCMS 1.4.1 - Remote Code Execution\n# Date: 2019-07-19\n# Exploit Author: 0xd0ff9\n# Vendor Homepage: https://www.getfuelcms.com/\n# Software Link: https://github.com/daylightstudio/FUEL-CMS/releases/tag/1.4.1\n# Version: \u003c= 1.4.1\n# Tested on: Ubuntu - Apache2 - php5\n# CVE : CVE-2018-16763\n```\n\n[EDB-ID-47138]:https://www.exploit-db.com/exploits/47138\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnoraj%2Ffuelcms-rce","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnoraj%2Ffuelcms-rce","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnoraj%2Ffuelcms-rce/lists"}