CVE-2022-4138
Description
A Cross Site Request Forgery issue has been discovered in GitLab CE/EE affecting all versions before 15.6.7, all versions starting from 15.7 before 15.7.6, and all versions starting from 15.8 before 15.8.1. An attacker could take over a project if an Owner or Maintainer uploads a file to a malicious project.
Summary dbcve.org
A Cross-Site Request Forgery (CSRF) vulnerability in GitLab CE/EE allows attackers to exploit file upload functionality. Attackers can trick authenticated Owner or Maintainer users into uploading files to malicious projects by leveraging the lack of proper CSRF token validation on file upload endpoints, potentially leading to complete project takeover.
Mitigation
Upgrade GitLab to version 15.6.7, 15.7.6, or 15.8.1 or later. These versions implement proper CSRF protection for file upload operations.