Skip navigation
We successfully achieved an RCE on GitLab in its default configuration.
0:00 / 1:03

We successfully achieved an RCE on GitLab in its default configuration.

Yuhang Wu

@wupco19961.6K followers

Visit on X
688 likesDownloadOriginal post

103,111 views

We successfully achieved an RCE on GitLab in its default configuration. Historically, most GitLab RCEs have lived in the web or application-logic layers. This time, guided by the depthfirst spirit, we went deeper: into the low-level gem dependency chain beneath GitLab. The result? By sending crafted JSON data, we could exploit memory-corruption vulnerabilities buried deep in that chain and take control of the GitLab application server. depthfirst brings together some of the smartest people, and is building the best security AI agent. Follow our work, and come join us! Read more about this in the comment...

17 Comments

Comments from the original post on X (Twitter)

  • Yuhang Wu's profile picture

    @wupco1996

    GitLab OJ Spill overview: Technical details: Demo and PoC:

    72 likes

  • depthfirst's profile picture

    @depthfirstlabs

    Incredible work @wupco1996 and team

    7 likes

  • Francesco Piccoli's profile picture

    @francescpicc

    @depthfirstlabs This is huge

    6 likes

  • QM's profile picture

    @qasimmith

    @depthfirstlabs It's impressive that the @depthfirstlabs platform did exactly what it was designed to do. From finding a critical vulnerability in Oj to finding that it's exploitable in gitlab, which is used by many of the largest organizations on the planet.

    5 likes

  • Federico's profile picture

    @federicomobilia

    @depthfirstlabs insane I can't wait to see what you publish next :)

    5 likes

  • Yueqi Chen's profile picture

    @Lewis_Chen_

    @depthfirstlabs unstoppable

    5 likes

  • STJ's profile picture

    @thibautone

    @depthfirstlabs absolutely insane work by the team

    4 likes

  • Adam's profile picture

    @adamtoland7

    @depthfirstlabs wow!

    3 likes

  • Quang Vo's profile picture

    @smuggiekeplar

    @depthfirstlabs Did you guys defeat ASLR ?

    3 likes

  • Amitai Cohen's profile picture

    @AmitaiCo

    @depthfirstlabs Nice! What's the CVE ID? GitLab's patch notes don't mention anything matching the description in your writeup (as far as I can tell), they simply link to the commit bumping oj's version.

    3 likes

  • Yuhang Wu's profile picture

    @wupco1996

    @depthfirstlabs We did not request CVE identifiers. We reported the GitLab vulnerability to GitLab through its HackerOne vulnerability disclosure program. No separate CVE identifier was assigned to us for the GitLab-level exploit chain during that process.😂

    4 likes

  • Amitai Cohen's profile picture

    @AmitaiCo

    @depthfirstlabs Thanks - do any of the oj CVEs you mentioned correspond to the exploit chain in GitLab? They shouldn't assign a separate CVE if the vulnerability stems from a dependency.

  • steve's profile picture

    @benmoha

    @depthfirstlabs Really impressive work 👏

    3 likes

  • Tanmay Gupta's profile picture

    @tanmaygupta102

    @depthfirstlabs this is amazing!!

    1 like

  • Zeddy's profile picture

    @ZeddYu_Lu

    @depthfirstlabs Could u teach me plz, Master. Wu?

  • sanzhang's profile picture

    @startseck

    @chybeta @depthfirstlabs good job

  • Staatse's profile picture

    @staatse_sec

    @depthfirstlabs Wow 🙌