{"id":"CVE-2024-7404","state":"PUBLISHED","title":"Improper Restriction of Rendered UI Layers or Frames in GitLab","description":"An issue was discovered in GitLab CE/EE affecting all versions starting from 17.2 prior to 17.3.7, starting from 17.4 prior to 17.4.4 and starting from 17.5 prior to 17.5.2, which could have allowed an attacker gaining full API access as the victim via the Device OAuth flow.","publishedAt":"2024-11-14T13:02:23.587Z","updatedAt":"2024-11-14T15:08:01.260Z","severity":{"score":6.8,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N","source":"GitLab"},"assigner":"GitLab","products":["GitLab GitLab"],"affected":[{"vendor":"GitLab","product":"GitLab","defaultStatus":"unaffected","versions":[{"version":"17.2","status":"affected","lessThan":"17.3.7","versionType":"semver"},{"version":"17.4","status":"affected","lessThan":"17.4.4","versionType":"semver"},{"version":"17.5","status":"affected","lessThan":"17.5.2","versionType":"semver"}],"repo":"git://git@gitlab.com:gitlab-org/gitlab.git","cpes":["cpe:2.3:a:gitlab:gitlab:*:*:*:*:*:*:*:*"]}],"references":["https://gitlab.com/gitlab-org/gitlab/-/issues/476670","https://hackerone.com/reports/2627925","https://about.gitlab.com/releases/2024/11/13/patch-release-gitlab-17-5-2-released/#device-oauth-flow-allows-for-cross-window-forgery"],"weaknesses":["CWE-1021"],"ingestedAt":"2026-10-29T20:08:20.985Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2024/7xxx/CVE-2024-7404.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2024-7404","state":"PUBLISHED","datePublished":"2024-11-14T13:02:23.587Z","dateUpdated":"2024-11-14T15:08:01.260Z","assignerShortName":"GitLab","assignerOrgId":"ceab7361-8a18-47b1-92ba-4d7d25f6715a","dateReserved":"2024-08-02T07:30:52.534Z"},"containers":{"cna":{"title":"Improper Restriction of Rendered UI Layers or Frames in GitLab","descriptions":[{"lang":"en","value":"An issue was discovered in GitLab CE/EE affecting all versions starting from 17.2 prior to 17.3.7, starting from 17.4 prior to 17.4.4 and starting from 17.5 prior to 17.5.2, which could have allowed an attacker gaining full API access as the victim via the Device OAuth flow."}],"affected":[{"vendor":"GitLab","product":"GitLab","defaultStatus":"unaffected","versions":[{"version":"17.2","status":"affected","lessThan":"17.3.7","versionType":"semver"},{"version":"17.4","status":"affected","lessThan":"17.4.4","versionType":"semver"},{"version":"17.5","status":"affected","lessThan":"17.5.2","versionType":"semver"}],"repo":"git://git@gitlab.com:gitlab-org/gitlab.git","cpes":["cpe:2.3:a:gitlab:gitlab:*:*:*:*:*:*:*:*"]}],"references":[{"url":"https://gitlab.com/gitlab-org/gitlab/-/issues/476670","name":"GitLab Issue #476670","tags":["issue-tracking","permissions-required"]},{"url":"https://hackerone.com/reports/2627925","name":"HackerOne Bug Bounty Report #2627925","tags":["technical-description","exploit","permissions-required"]},{"url":"https://about.gitlab.com/releases/2024/11/13/patch-release-gitlab-17-5-2-released/#device-oauth-flow-allows-for-cross-window-forgery"}],"metrics":[{"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}],"cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N","attackVector":"NETWORK","attackComplexity":"HIGH","privilegesRequired":"NONE","userInteraction":"REQUIRED","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"NONE","baseScore":6.8,"baseSeverity":"MEDIUM"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-1021","lang":"en","description":"CWE-1021: Improper Restriction of Rendered UI Layers or Frames","type":"CWE"}]}],"providerMetadata":{"shortName":"GitLab","orgId":"ceab7361-8a18-47b1-92ba-4d7d25f6715a","dateUpdated":"2024-11-14T13:02:23.587Z"},"solutions":[{"lang":"en","value":"Upgrade to versions 17.5.2, 17.4.4, 17.3.7 or above."}],"credits":[{"lang":"en","value":"Thanks [joaxcar](https://hackerone.com/joaxcar) for reporting this vulnerability through our HackerOne bug bounty program","type":"finder"}]},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2024-11-14T15:07:52.970956Z","id":"CVE-2024-7404","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2024-11-14T15:08:01.260Z"}}]}}}