{"id":14638207,"url":"https://github.com/n3m1sys/CVE-2023-22809-sudoedit-privesc","last_synced_at":"2025-09-07T06:32:57.340Z","repository":{"id":65437351,"uuid":"591696201","full_name":"n3m1sys/CVE-2023-22809-sudoedit-privesc","owner":"n3m1sys","description":"A script to automate privilege escalation with CVE-2023-22809 vulnerability","archived":false,"fork":false,"pushed_at":"2023-02-15T18:10:53.000Z","size":6,"stargazers_count":142,"open_issues_count":0,"forks_count":35,"subscribers_count":3,"default_branch":"main","last_synced_at":"2024-07-30T14:19:07.581Z","etag":null,"topics":["cve","cve-2023-22809","exploit","privesc","script","sudo","sudoedit","vulnerability"],"latest_commit_sha":null,"homepage":"","language":"Shell","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/n3m1sys.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}},"created_at":"2023-01-21T15:19:23.000Z","updated_at":"2024-07-08T18:06:08.000Z","dependencies_parsed_at":"2024-02-06T12:27:47.844Z","dependency_job_id":"6c289e76-7be7-4c3e-9ac7-0afa486f35fa","html_url":"https://github.com/n3m1sys/CVE-2023-22809-sudoedit-privesc","commit_stats":null,"previous_names":["n3m1sys/cve-2023-22809-sudoedit-privesc","n3m1dotsys/cve-2023-22809-sudoedit-privesc"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/n3m1sys/CVE-2023-22809-sudoedit-privesc","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/n3m1sys%2FCVE-2023-22809-sudoedit-privesc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/n3m1sys%2FCVE-2023-22809-sudoedit-privesc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/n3m1sys%2FCVE-2023-22809-sudoedit-privesc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/n3m1sys%2FCVE-2023-22809-sudoedit-privesc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/n3m1sys","download_url":"https://codeload.github.com/n3m1sys/CVE-2023-22809-sudoedit-privesc/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/n3m1sys%2FCVE-2023-22809-sudoedit-privesc/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274005342,"owners_count":25205934,"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","status":"online","status_checked_at":"2025-09-07T02:00:09.463Z","response_time":67,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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","cve-2023-22809","exploit","privesc","script","sudo","sudoedit","vulnerability"],"created_at":"2024-09-10T02:01:56.355Z","updated_at":"2025-09-07T06:32:57.103Z","avatar_url":"https://github.com/n3m1sys.png","language":"Shell","funding_links":[],"categories":["Shell"],"sub_categories":[],"readme":"# CVE-2023-22809\n\n## sudo Privilege escalation\n\nAffected sudo versions: 1.8.0 to 1.9.12p1 \n\nThis script automates the exploitation of the CVE-2023-22809 vulnerability to \ngain a root shell. \n\nThe script checks if the current user has access to run the `sudoedit` or \n`sudo -e` command for some file with root privileges. If it does it opens the \nsudoers file for the attacker to introduce the privilege escalation policy \nfor the current user and get a root shell.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fn3m1sys%2FCVE-2023-22809-sudoedit-privesc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fn3m1sys%2FCVE-2023-22809-sudoedit-privesc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fn3m1sys%2FCVE-2023-22809-sudoedit-privesc/lists"}