{"id":19278784,"url":"https://github.com/ait-testbed/atb-ansible-sshkeyprivesc","last_synced_at":"2026-04-18T01:35:14.412Z","repository":{"id":168231548,"uuid":"630486555","full_name":"ait-testbed/atb-ansible-sshkeyprivesc","owner":"ait-testbed","description":"AECID Testbed Ansible Role to create a privesc vulnerability on a server by adding an ssh-key with weak permissions","archived":false,"fork":false,"pushed_at":"2023-04-20T13:40:58.000Z","size":2,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-07-29T12:58:34.885Z","etag":null,"topics":["aecid","ansible","ansible-role","atb","privesc","testbed","vulnerability"],"latest_commit_sha":null,"homepage":"","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/ait-testbed.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-04-20T13:39:17.000Z","updated_at":"2024-03-01T11:37:21.000Z","dependencies_parsed_at":"2023-06-08T09:00:08.869Z","dependency_job_id":null,"html_url":"https://github.com/ait-testbed/atb-ansible-sshkeyprivesc","commit_stats":null,"previous_names":["ait-cs-iaas/atb-ansible-sshkeyprivesc","ait-testbed/atb-ansible-sshkeyprivesc"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/ait-testbed/atb-ansible-sshkeyprivesc","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ait-testbed%2Fatb-ansible-sshkeyprivesc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ait-testbed%2Fatb-ansible-sshkeyprivesc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ait-testbed%2Fatb-ansible-sshkeyprivesc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ait-testbed%2Fatb-ansible-sshkeyprivesc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ait-testbed","download_url":"https://codeload.github.com/ait-testbed/atb-ansible-sshkeyprivesc/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ait-testbed%2Fatb-ansible-sshkeyprivesc/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31953515,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-18T00:39:45.007Z","status":"ssl_error","status_checked_at":"2026-04-18T00:39:20.671Z","response_time":62,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["aecid","ansible","ansible-role","atb","privesc","testbed","vulnerability"],"created_at":"2024-11-09T21:11:48.224Z","updated_at":"2026-04-18T01:35:14.380Z","avatar_url":"https://github.com/ait-testbed.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"AECID Testbed Ansible SSH-Key Privilege Escalation\n==================================================\n\nThis ansible role generates a ssh-key with weak permissions on a machine. This key is added to /root/authorized_keys\nand can be used by malicious user to escalate the privileges.\n\nRequirements\n------------\n\nNo requirements\n\nRole Variables\n--------------\n\nInstall the weak key into the user-home of the following user:\n\n```\nsshkeyprivesc_user: webdev\n```\n\n** This user will be created if it does not exist **\n\nDependencies\n------------\n\n- Ubuntu/Debian\n\nExample Playbook\n----------------\n\n```\n    - hosts: vulnserver\n      roles:\n         - role: sshkeyprivesc\n           vars:\n             sshkeyprivesc_user: johnsmith\n```\n\nLicense\n-------\n\nGPL-3.0\n\nAuthor Information\n------------------\n\nWolfgang Hotwagner (https://www.ait.ac.at)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fait-testbed%2Fatb-ansible-sshkeyprivesc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fait-testbed%2Fatb-ansible-sshkeyprivesc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fait-testbed%2Fatb-ansible-sshkeyprivesc/lists"}