ID CVE-2024-4901
Summary An issue was discovered in GitLab CE/EE affecting all versions starting from 16.9 prior to 16.11.5, starting from 17.0 prior to 17.0.3, and starting from 17.1 prior to 17.1.1, where a stored XSS vulnerability could be imported from a project with malicious commit notes.
References
Vulnerable Configurations
  • cpe:2.3:a:gitlab:gitlab:17.1.0:*:*:*:enterprise:*:*:*
    cpe:2.3:a:gitlab:gitlab:17.1.0:*:*:*:enterprise:*:*:*
  • cpe:2.3:a:gitlab:gitlab:17.1.0:*:*:*:community:*:*:*
    cpe:2.3:a:gitlab:gitlab:17.1.0:*:*:*:community:*:*:*
  • cpe:2.3:a:gitlab:gitlab:17.0.0:*:*:*:enterprise:*:*:*
    cpe:2.3:a:gitlab:gitlab:17.0.0:*:*:*:enterprise:*:*:*
  • cpe:2.3:a:gitlab:gitlab:17.0.1:*:*:*:enterprise:*:*:*
    cpe:2.3:a:gitlab:gitlab:17.0.1:*:*:*:enterprise:*:*:*
  • cpe:2.3:a:gitlab:gitlab:17.0.2:*:*:*:enterprise:*:*:*
    cpe:2.3:a:gitlab:gitlab:17.0.2:*:*:*:enterprise:*:*:*
  • cpe:2.3:a:gitlab:gitlab:17.0.0:*:*:*:community:*:*:*
    cpe:2.3:a:gitlab:gitlab:17.0.0:*:*:*:community:*:*:*
  • cpe:2.3:a:gitlab:gitlab:17.0.1:*:*:*:community:*:*:*
    cpe:2.3:a:gitlab:gitlab:17.0.1:*:*:*:community:*:*:*
  • cpe:2.3:a:gitlab:gitlab:17.0.2:*:*:*:community:*:*:*
    cpe:2.3:a:gitlab:gitlab:17.0.2:*:*:*:community:*:*:*
  • cpe:2.3:a:gitlab:gitlab:16.9.0:*:*:*:community:*:*:*
    cpe:2.3:a:gitlab:gitlab:16.9.0:*:*:*:community:*:*:*
  • cpe:2.3:a:gitlab:gitlab:16.9.1:*:*:*:community:*:*:*
    cpe:2.3:a:gitlab:gitlab:16.9.1:*:*:*:community:*:*:*
  • cpe:2.3:a:gitlab:gitlab:16.9.2:*:*:*:community:*:*:*
    cpe:2.3:a:gitlab:gitlab:16.9.2:*:*:*:community:*:*:*
  • cpe:2.3:a:gitlab:gitlab:16.9.3:*:*:*:community:*:*:*
    cpe:2.3:a:gitlab:gitlab:16.9.3:*:*:*:community:*:*:*
  • cpe:2.3:a:gitlab:gitlab:16.9.4:*:*:*:community:*:*:*
    cpe:2.3:a:gitlab:gitlab:16.9.4:*:*:*:community:*:*:*
  • cpe:2.3:a:gitlab:gitlab:16.9.5:*:*:*:community:*:*:*
    cpe:2.3:a:gitlab:gitlab:16.9.5:*:*:*:community:*:*:*
  • cpe:2.3:a:gitlab:gitlab:16.9.6:*:*:*:community:*:*:*
    cpe:2.3:a:gitlab:gitlab:16.9.6:*:*:*:community:*:*:*
  • cpe:2.3:a:gitlab:gitlab:16.9.7:*:*:*:community:*:*:*
    cpe:2.3:a:gitlab:gitlab:16.9.7:*:*:*:community:*:*:*
  • cpe:2.3:a:gitlab:gitlab:16.9.8:*:*:*:community:*:*:*
    cpe:2.3:a:gitlab:gitlab:16.9.8:*:*:*:community:*:*:*
  • cpe:2.3:a:gitlab:gitlab:16.9.9:*:*:*:community:*:*:*
    cpe:2.3:a:gitlab:gitlab:16.9.9:*:*:*:community:*:*:*
  • cpe:2.3:a:gitlab:gitlab:16.9.10:*:*:*:community:*:*:*
    cpe:2.3:a:gitlab:gitlab:16.9.10:*:*:*:community:*:*:*
  • cpe:2.3:a:gitlab:gitlab:16.9.11:*:*:*:community:*:*:*
    cpe:2.3:a:gitlab:gitlab:16.9.11:*:*:*:community:*:*:*
  • cpe:2.3:a:gitlab:gitlab:16.10.0:*:*:*:community:*:*:*
    cpe:2.3:a:gitlab:gitlab:16.10.0:*:*:*:community:*:*:*
  • cpe:2.3:a:gitlab:gitlab:16.10.1:*:*:*:community:*:*:*
    cpe:2.3:a:gitlab:gitlab:16.10.1:*:*:*:community:*:*:*
  • cpe:2.3:a:gitlab:gitlab:16.10.2:*:*:*:community:*:*:*
    cpe:2.3:a:gitlab:gitlab:16.10.2:*:*:*:community:*:*:*
  • cpe:2.3:a:gitlab:gitlab:16.10.3:*:*:*:community:*:*:*
    cpe:2.3:a:gitlab:gitlab:16.10.3:*:*:*:community:*:*:*
  • cpe:2.3:a:gitlab:gitlab:16.10.4:*:*:*:community:*:*:*
    cpe:2.3:a:gitlab:gitlab:16.10.4:*:*:*:community:*:*:*
  • cpe:2.3:a:gitlab:gitlab:16.10.5:*:*:*:community:*:*:*
    cpe:2.3:a:gitlab:gitlab:16.10.5:*:*:*:community:*:*:*
  • cpe:2.3:a:gitlab:gitlab:16.10.6:*:*:*:community:*:*:*
    cpe:2.3:a:gitlab:gitlab:16.10.6:*:*:*:community:*:*:*
  • cpe:2.3:a:gitlab:gitlab:16.10.7:*:*:*:community:*:*:*
    cpe:2.3:a:gitlab:gitlab:16.10.7:*:*:*:community:*:*:*
  • cpe:2.3:a:gitlab:gitlab:16.10.8:*:*:*:community:*:*:*
    cpe:2.3:a:gitlab:gitlab:16.10.8:*:*:*:community:*:*:*
  • cpe:2.3:a:gitlab:gitlab:16.10.9:*:*:*:community:*:*:*
    cpe:2.3:a:gitlab:gitlab:16.10.9:*:*:*:community:*:*:*
  • cpe:2.3:a:gitlab:gitlab:16.10.10:*:*:*:community:*:*:*
    cpe:2.3:a:gitlab:gitlab:16.10.10:*:*:*:community:*:*:*
  • cpe:2.3:a:gitlab:gitlab:16.11.0:*:*:*:community:*:*:*
    cpe:2.3:a:gitlab:gitlab:16.11.0:*:*:*:community:*:*:*
  • cpe:2.3:a:gitlab:gitlab:16.11.1:*:*:*:community:*:*:*
    cpe:2.3:a:gitlab:gitlab:16.11.1:*:*:*:community:*:*:*
  • cpe:2.3:a:gitlab:gitlab:16.11.2:*:*:*:community:*:*:*
    cpe:2.3:a:gitlab:gitlab:16.11.2:*:*:*:community:*:*:*
  • cpe:2.3:a:gitlab:gitlab:16.11.3:*:*:*:community:*:*:*
    cpe:2.3:a:gitlab:gitlab:16.11.3:*:*:*:community:*:*:*
  • cpe:2.3:a:gitlab:gitlab:16.11.4:*:*:*:community:*:*:*
    cpe:2.3:a:gitlab:gitlab:16.11.4:*:*:*:community:*:*:*
  • cpe:2.3:a:gitlab:gitlab:16.9.0:*:*:*:enterprise:*:*:*
    cpe:2.3:a:gitlab:gitlab:16.9.0:*:*:*:enterprise:*:*:*
  • cpe:2.3:a:gitlab:gitlab:16.9.1:*:*:*:enterprise:*:*:*
    cpe:2.3:a:gitlab:gitlab:16.9.1:*:*:*:enterprise:*:*:*
  • cpe:2.3:a:gitlab:gitlab:16.9.2:*:*:*:enterprise:*:*:*
    cpe:2.3:a:gitlab:gitlab:16.9.2:*:*:*:enterprise:*:*:*
  • cpe:2.3:a:gitlab:gitlab:16.9.3:*:*:*:enterprise:*:*:*
    cpe:2.3:a:gitlab:gitlab:16.9.3:*:*:*:enterprise:*:*:*
  • cpe:2.3:a:gitlab:gitlab:16.9.4:*:*:*:enterprise:*:*:*
    cpe:2.3:a:gitlab:gitlab:16.9.4:*:*:*:enterprise:*:*:*
  • cpe:2.3:a:gitlab:gitlab:16.9.5:*:*:*:enterprise:*:*:*
    cpe:2.3:a:gitlab:gitlab:16.9.5:*:*:*:enterprise:*:*:*
  • cpe:2.3:a:gitlab:gitlab:16.9.6:*:*:*:enterprise:*:*:*
    cpe:2.3:a:gitlab:gitlab:16.9.6:*:*:*:enterprise:*:*:*
  • cpe:2.3:a:gitlab:gitlab:16.9.7:*:*:*:enterprise:*:*:*
    cpe:2.3:a:gitlab:gitlab:16.9.7:*:*:*:enterprise:*:*:*
  • cpe:2.3:a:gitlab:gitlab:16.9.8:*:*:*:enterprise:*:*:*
    cpe:2.3:a:gitlab:gitlab:16.9.8:*:*:*:enterprise:*:*:*
  • cpe:2.3:a:gitlab:gitlab:16.9.9:*:*:*:enterprise:*:*:*
    cpe:2.3:a:gitlab:gitlab:16.9.9:*:*:*:enterprise:*:*:*
  • cpe:2.3:a:gitlab:gitlab:16.9.10:*:*:*:enterprise:*:*:*
    cpe:2.3:a:gitlab:gitlab:16.9.10:*:*:*:enterprise:*:*:*
  • cpe:2.3:a:gitlab:gitlab:16.9.11:*:*:*:enterprise:*:*:*
    cpe:2.3:a:gitlab:gitlab:16.9.11:*:*:*:enterprise:*:*:*
  • cpe:2.3:a:gitlab:gitlab:16.10.0:*:*:*:enterprise:*:*:*
    cpe:2.3:a:gitlab:gitlab:16.10.0:*:*:*:enterprise:*:*:*
  • cpe:2.3:a:gitlab:gitlab:16.10.1:*:*:*:enterprise:*:*:*
    cpe:2.3:a:gitlab:gitlab:16.10.1:*:*:*:enterprise:*:*:*
  • cpe:2.3:a:gitlab:gitlab:16.10.2:*:*:*:enterprise:*:*:*
    cpe:2.3:a:gitlab:gitlab:16.10.2:*:*:*:enterprise:*:*:*
  • cpe:2.3:a:gitlab:gitlab:16.10.3:*:*:*:enterprise:*:*:*
    cpe:2.3:a:gitlab:gitlab:16.10.3:*:*:*:enterprise:*:*:*
  • cpe:2.3:a:gitlab:gitlab:16.10.4:*:*:*:enterprise:*:*:*
    cpe:2.3:a:gitlab:gitlab:16.10.4:*:*:*:enterprise:*:*:*
  • cpe:2.3:a:gitlab:gitlab:16.10.5:*:*:*:enterprise:*:*:*
    cpe:2.3:a:gitlab:gitlab:16.10.5:*:*:*:enterprise:*:*:*
  • cpe:2.3:a:gitlab:gitlab:16.10.6:*:*:*:enterprise:*:*:*
    cpe:2.3:a:gitlab:gitlab:16.10.6:*:*:*:enterprise:*:*:*
  • cpe:2.3:a:gitlab:gitlab:16.10.7:*:*:*:enterprise:*:*:*
    cpe:2.3:a:gitlab:gitlab:16.10.7:*:*:*:enterprise:*:*:*
  • cpe:2.3:a:gitlab:gitlab:16.10.8:*:*:*:enterprise:*:*:*
    cpe:2.3:a:gitlab:gitlab:16.10.8:*:*:*:enterprise:*:*:*
  • cpe:2.3:a:gitlab:gitlab:16.10.9:*:*:*:enterprise:*:*:*
    cpe:2.3:a:gitlab:gitlab:16.10.9:*:*:*:enterprise:*:*:*
  • cpe:2.3:a:gitlab:gitlab:16.10.10:*:*:*:enterprise:*:*:*
    cpe:2.3:a:gitlab:gitlab:16.10.10:*:*:*:enterprise:*:*:*
  • cpe:2.3:a:gitlab:gitlab:16.11.0:*:*:*:enterprise:*:*:*
    cpe:2.3:a:gitlab:gitlab:16.11.0:*:*:*:enterprise:*:*:*
  • cpe:2.3:a:gitlab:gitlab:16.11.1:*:*:*:enterprise:*:*:*
    cpe:2.3:a:gitlab:gitlab:16.11.1:*:*:*:enterprise:*:*:*
  • cpe:2.3:a:gitlab:gitlab:16.11.2:*:*:*:enterprise:*:*:*
    cpe:2.3:a:gitlab:gitlab:16.11.2:*:*:*:enterprise:*:*:*
  • cpe:2.3:a:gitlab:gitlab:16.11.3:*:*:*:enterprise:*:*:*
    cpe:2.3:a:gitlab:gitlab:16.11.3:*:*:*:enterprise:*:*:*
  • cpe:2.3:a:gitlab:gitlab:16.11.4:*:*:*:enterprise:*:*:*
    cpe:2.3:a:gitlab:gitlab:16.11.4:*:*:*:enterprise:*:*:*
CVSS
Base: None
Impact:
Exploitability:
CWE CWE-79
CAPEC
  • Reflected XSS
    This type of attack is a form of Cross-Site Scripting (XSS) where a malicious script is "reflected" off a vulnerable web application and then executed by a victim's browser. The process starts with an adversary delivering a malicious script to a victim and convincing the victim to send the script to the vulnerable web application. The most common method of this is through a phishing email where the adversary embeds the malicious script with a URL that the victim then clicks on. In processing the subsequent request, the vulnerable web application incorrectly considers the malicious script as valid input and uses it to creates a reposnse that is then sent back to the victim. To launch a successful Reflected XSS attack, an adversary looks for places where user-input is used directly in the generation of a response. This often involves elements that are not expected to host scripts such as image tags (<img>), or the addition of event attibutes such as onload and onmouseover. These elements are often not subject to the same input validation, output encoding, and other content filtering and checking routines.
  • XSS Using MIME Type Mismatch
    An adversary creates a file with scripting content but where the specified MIME type of the file is such that scripting is not expected. The adversary tricks the victim into accessing a URL that responds with the script file. Some browsers will detect that the specified MIME type of the file does not match the actual type of its content and will automatically switch to using an interpreter for the real content type. If the browser does not invoke script filters before doing this, the adversary's script may run on the target unsanitized, possibly revealing the victim's cookies or executing arbitrary script in their browser.
  • DOM-Based XSS
    This type of attack is a form of Cross-Site Scripting (XSS) where a malicious script is inserted into the client-side HTML being parsed by a web browser. Content served by a vulnerable web application includes script code used to manipulate the Document Object Model (DOM). This script code either does not properly validate input, or does not perform proper output encoding, thus creating an opportunity for an adversary to inject a malicious script launch a XSS attack. A key distinction between other XSS attacks and DOM-based attacks is that in other XSS attacks, the malicious script runs when the vulnerable web page is initially loaded, while a DOM-based attack executes sometime after the page loads. Another distinction of DOM-based attacks is that in some cases, the malicious script is never sent to the vulnerable web server at all. An attack like this is guaranteed to bypass any server-side filtering attempts to protect users.
  • Stored XSS
    This type of attack is a form of Cross-site Scripting (XSS) where a malicious script is persistenly "stored" within the data storage of a vulnerable web application. Initially presented by an adversary to the vulnerable web application, the malicious script is incorrectly considered valid input and is not properly encoded by the web application. A victim is then convinced to use the web application in a way that creates a response that includes the malicious script. This response is subsequently sent to the victim and the malicious script is executed by the victim's browser. To launch a successful Stored XSS attack, an adversary looks for places where stored input data is used in the generation of a response. This often involves elements that are not expected to host scripts such as image tags (<img>), or the addition of event attibutes such as onload and onmouseover. These elements are often not subject to the same input validation, output encoding, and other content filtering and checking routines.
  • AJAX Fingerprinting
    This attack utilizes the frequent client-server roundtrips in Ajax conversation to scan a system. While Ajax does not open up new vulnerabilities per se, it does optimize them from an attacker point of view. In many XSS attacks the attacker must get a "hole in one" and successfully exploit the vulnerability on the victim side the first time, once the client is redirected the attacker has many chances to engage in follow on probes, but there is only one first chance. In a widely used web application this is not a major problem because 1 in a 1,000 is good enough in a widely used application. A common first step for an attacker is to footprint the environment to understand what attacks will work. Since footprinting relies on enumeration, the conversational pattern of rapid, multiple requests and responses that are typical in Ajax applications enable an attacker to look for many vulnerabilities, well-known ports, network locations and so on.
  • Cross-Site Scripting (XSS)
    An adversary embeds malicious scripts in content that will be served to web browsers. The goal of the attack is for the target software, the client-side browser, to execute the script with the users' privilege level. An attack of this type exploits a programs' vulnerabilities that are brought on by allowing remote hosts to execute code and scripts. Web browsers, for example, have some simple security controls in place, but if a remote attacker is allowed to execute scripts (through injecting them in to user-generated content like bulletin boards) then these controls may be bypassed. Further, these attacks are very difficult for an end user to detect.
Access
VectorComplexityAuthentication
Impact
ConfidentialityIntegrityAvailability
Last major update 21-11-2024 - 09:43
Published 27-06-2024 - 00:15
Last modified 21-11-2024 - 09:43
Back to Top