[{"data":1,"prerenderedAt":2645},["ShallowReactive",2],{"/blog/how-to-exploit-parser-differentials":3,"navigation-en-us":1892,"banner-en-us":2330,"footer-en-us":2338,"blog-post-authors-en-us-Joern Schneeweisz":2585,"blog-related-posts-en-us-how-to-exploit-parser-differentials":2600,"blog-share-wrapper-en-us":2625,"next-steps-en-us":2635},{"id":4,"title":5,"authors":6,"body":8,"category":1873,"date":1874,"description":1875,"extension":1876,"externalUrl":1877,"faq":1877,"featured":1878,"heroImage":1879,"hidePromo":1878,"meta":1880,"navigation":350,"path":1881,"seo":1882,"slug":1886,"stem":1887,"tags":1888,"template":1890,"updatedDate":1877,"__hash__":1891},"blogPosts/en-us/blog/how-to-exploit-parser-differentials.md","How to exploit parser differentials",[7],"Joern Schneeweisz",{"type":9,"value":10,"toc":1864},"minimark",[11,28,33,36,41,55,66,80,97,156,190,201,628,637,643,651,664,1072,1086,1090,1111,1472,1500,1506,1515,1562,1589,1681,1693,1699,1706,1747,1769,1773,1790,1814,1820,1828,1843,1846,1860],[12,13,14,15,21,22,27],"p",{},"The move to microservices-based architecture creates more attack surface for nefarious actors, so when our ",[16,17,20],"a",{"href":18,"rel":19},"https://handbook.gitlab.com/handbook/security/#security-research",[],"security researchers"," discovered a file upload vulnerability within GitLab, we patched it right up in our ",[16,23,26],{"href":24,"rel":25},"https://docs.gitlab.com/releases/",[],"GitLab 12.7.4 security release",". We dive deeper into the problems that lead to this vulnerability and use it to illustrate the underlying concept of parser differentials.",[29,30,32],"h2",{"id":31},"file-uploads-in-gitlab","File Uploads in GitLab",[12,34,35],{},"To understand the file upload vulnerability we need to go a bit deeper into file uploads within GitLab, and have a look at the involved components.",[37,38,40],"h3",{"id":39},"gitlab-workhorse","GitLab Workhorse",[12,42,43,44,51,52,54],{},"The first relevant component is GitLab's very own reverse proxy called ",[16,45,48],{"href":46,"rel":47},"https://gitlab.com/gitlab-org/gitlab-workhorse/",[],[49,50,39],"code",{},".",[49,53,39],{}," fulfills a variety of tasks, but for this specific example we only care about certain kinds of file uploads.",[12,56,57,58,65],{},"The second component is ",[16,59,62],{"href":60,"rel":61},"https://gitlab.com/gitlab-org/gitlab",[],[49,63,64],{},"gitlab-rails",", the Ruby on Rails-based heart of GitLab. It's the main application part of GitLab and implements most of the business logic.",[12,67,68,69,71,72,79],{},"The following source code excerpts from ",[49,70,39],{}," are based on the ",[16,73,76],{"href":74,"rel":75},"https://gitlab.com/gitlab-org/gitlab-workhorse/-/tags/v8.18.0",[],[49,77,78],{},"8.18.0"," release which was the most recent version at the time of identifying the vulnerability.",[12,81,82,83,90,91,96],{},"Consider the following route, defined in ",[16,84,87],{"href":85,"rel":86},"https://gitlab.com/gitlab-org/gitlab-workhorse/-/blob/9a9a83e7f92ceea5fb0e1542d604171c58615e28/internal/upstream/routes.go#L207-208",[],[49,88,89],{},"internal/upstream/routes.go",", which handles file uploads for ",[16,92,95],{"href":93,"rel":94},"https://conan.io/",[],"Conan"," packages:",[98,99,104],"pre",{"className":100,"code":101,"language":102,"meta":103,"style":103},"language-go shiki shiki-themes github-light","// Conan Artifact Repository\nroute(\"PUT\", apiPattern+`v4/packages/conan/`, filestore.BodyUploader(api, proxy, nil)),\n","go","",[49,105,106,115],{"__ignoreMap":103},[107,108,111],"span",{"class":109,"line":110},"line",1,[107,112,114],{"class":113},"sAwPA","// Conan Artifact Repository\n",[107,116,118,122,126,130,133,137,140,143,146,149,153],{"class":109,"line":117},2,[107,119,121],{"class":120},"s7eDp","route",[107,123,125],{"class":124},"sgsFI","(",[107,127,129],{"class":128},"sYBdl","\"PUT\"",[107,131,132],{"class":124},", apiPattern",[107,134,136],{"class":135},"sD7c4","+",[107,138,139],{"class":128},"`v4/packages/conan/`",[107,141,142],{"class":124},", filestore.",[107,144,145],{"class":120},"BodyUploader",[107,147,148],{"class":124},"(api, proxy, ",[107,150,152],{"class":151},"sYu0t","nil",[107,154,155],{"class":124},")),\n",[12,157,158,159,162,163,166,167,173,174,176,177,179,180,182,183,51],{},"The route defined above will pass any ",[49,160,161],{},"PUT"," request to paths underneath ",[49,164,165],{},"/api/v4/packages/conan/"," to the ",[16,168,171],{"href":169,"rel":170},"https://gitlab.com/gitlab-org/gitlab-workhorse/-/blob/9a9a83e7f92ceea5fb0e1542d604171c58615e28/internal/filestore/body_uploader.go#L40-79",[],[49,172,145],{},". Within this ",[49,175,145],{}," now some magic happens. Well, actually, it's not magic, the ",[49,178,145],{}," receives the uploaded file and lets the ",[49,181,64],{}," backend know where the file has been placed. This happens in ",[16,184,187],{"href":185,"rel":186},"https://gitlab.com/gitlab-org/gitlab-workhorse/-/blob/9a9a83e7f92ceea5fb0e1542d604171c58615e28/internal/filestore/file_handler.go#L52-81",[],[49,188,189],{},"internal/filestore/file_handler.go",[12,191,192,193,195,196,198,199,51],{},"Also worth mentioning: Any not-matched routes in ",[49,194,39],{}," will be passed on to the backend without modification. That's especially important in our discussion for non-",[49,197,161],{}," routes under ",[49,200,165],{},[98,202,204],{"className":100,"code":203,"language":102,"meta":103,"style":103},"// GitLabFinalizeFields returns a map with all the fields GitLab Rails needs in order to finalize the upload.\nfunc (fh *FileHandler) GitLabFinalizeFields(prefix string) map[string]string {\n    data := make(map[string]string)\n    key := func(field string) string {\n        if prefix == \"\" {\n            return field\n        }\n\n        return fmt.Sprintf(\"%s.%s\", prefix, field)\n    }\n    if fh.Name != \"\" {\n        data[key(\"name\")] = fh.Name\n    }\n    if fh.LocalPath != \"\" {\n        data[key(\"path\")] = fh.LocalPath\n    }\n    if fh.RemoteURL != \"\" {\n        data[key(\"remote_url\")] = fh.RemoteURL\n    }\n    if fh.RemoteID != \"\" {\n        data[key(\"remote_id\")] = fh.RemoteID\n    }\n    data[key(\"size\")] = strconv.FormatInt(fh.Size, 10)\n    for hashName, hash := range fh.hashes {\n        data[key(hashName)] = hash\n    }\n    return data\n}\n",[49,205,206,211,262,289,313,330,339,345,352,381,387,403,426,431,445,464,469,483,502,507,521,540,545,576,593,608,613,622],{"__ignoreMap":103},[107,207,208],{"class":109,"line":110},[107,209,210],{"class":113},"// GitLabFinalizeFields returns a map with all the fields GitLab Rails needs in order to finalize the upload.\n",[107,212,213,216,219,223,226,229,232,235,237,240,243,245,248,251,254,257,259],{"class":109,"line":117},[107,214,215],{"class":135},"func",[107,217,218],{"class":124}," (",[107,220,222],{"class":221},"sqxcx","fh ",[107,224,225],{"class":135},"*",[107,227,228],{"class":120},"FileHandler",[107,230,231],{"class":124},") ",[107,233,234],{"class":120},"GitLabFinalizeFields",[107,236,125],{"class":124},[107,238,239],{"class":221},"prefix",[107,241,242],{"class":135}," string",[107,244,231],{"class":124},[107,246,247],{"class":135},"map",[107,249,250],{"class":124},"[",[107,252,253],{"class":135},"string",[107,255,256],{"class":124},"]",[107,258,253],{"class":135},[107,260,261],{"class":124}," {\n",[107,263,265,268,271,274,276,278,280,282,284,286],{"class":109,"line":264},3,[107,266,267],{"class":124},"    data ",[107,269,270],{"class":135},":=",[107,272,273],{"class":120}," make",[107,275,125],{"class":124},[107,277,247],{"class":135},[107,279,250],{"class":124},[107,281,253],{"class":135},[107,283,256],{"class":124},[107,285,253],{"class":135},[107,287,288],{"class":124},")\n",[107,290,292,295,297,300,302,305,307,309,311],{"class":109,"line":291},4,[107,293,294],{"class":124},"    key ",[107,296,270],{"class":135},[107,298,299],{"class":135}," func",[107,301,125],{"class":124},[107,303,304],{"class":221},"field",[107,306,242],{"class":135},[107,308,231],{"class":124},[107,310,253],{"class":135},[107,312,261],{"class":124},[107,314,316,319,322,325,328],{"class":109,"line":315},5,[107,317,318],{"class":135},"        if",[107,320,321],{"class":124}," prefix ",[107,323,324],{"class":135},"==",[107,326,327],{"class":128}," \"\"",[107,329,261],{"class":124},[107,331,333,336],{"class":109,"line":332},6,[107,334,335],{"class":135},"            return",[107,337,338],{"class":124}," field\n",[107,340,342],{"class":109,"line":341},7,[107,343,344],{"class":124},"        }\n",[107,346,348],{"class":109,"line":347},8,[107,349,351],{"emptyLinePlaceholder":350},true,"\n",[107,353,355,358,361,364,366,369,372,374,376,378],{"class":109,"line":354},9,[107,356,357],{"class":135},"        return",[107,359,360],{"class":124}," fmt.",[107,362,363],{"class":120},"Sprintf",[107,365,125],{"class":124},[107,367,368],{"class":128},"\"",[107,370,371],{"class":151},"%s",[107,373,51],{"class":128},[107,375,371],{"class":151},[107,377,368],{"class":128},[107,379,380],{"class":124},", prefix, field)\n",[107,382,384],{"class":109,"line":383},10,[107,385,386],{"class":124},"    }\n",[107,388,390,393,396,399,401],{"class":109,"line":389},11,[107,391,392],{"class":135},"    if",[107,394,395],{"class":124}," fh.Name ",[107,397,398],{"class":135},"!=",[107,400,327],{"class":128},[107,402,261],{"class":124},[107,404,406,409,412,414,417,420,423],{"class":109,"line":405},12,[107,407,408],{"class":124},"        data[",[107,410,411],{"class":120},"key",[107,413,125],{"class":124},[107,415,416],{"class":128},"\"name\"",[107,418,419],{"class":124},")] ",[107,421,422],{"class":135},"=",[107,424,425],{"class":124}," fh.Name\n",[107,427,429],{"class":109,"line":428},13,[107,430,386],{"class":124},[107,432,434,436,439,441,443],{"class":109,"line":433},14,[107,435,392],{"class":135},[107,437,438],{"class":124}," fh.LocalPath ",[107,440,398],{"class":135},[107,442,327],{"class":128},[107,444,261],{"class":124},[107,446,448,450,452,454,457,459,461],{"class":109,"line":447},15,[107,449,408],{"class":124},[107,451,411],{"class":120},[107,453,125],{"class":124},[107,455,456],{"class":128},"\"path\"",[107,458,419],{"class":124},[107,460,422],{"class":135},[107,462,463],{"class":124}," fh.LocalPath\n",[107,465,467],{"class":109,"line":466},16,[107,468,386],{"class":124},[107,470,472,474,477,479,481],{"class":109,"line":471},17,[107,473,392],{"class":135},[107,475,476],{"class":124}," fh.RemoteURL ",[107,478,398],{"class":135},[107,480,327],{"class":128},[107,482,261],{"class":124},[107,484,486,488,490,492,495,497,499],{"class":109,"line":485},18,[107,487,408],{"class":124},[107,489,411],{"class":120},[107,491,125],{"class":124},[107,493,494],{"class":128},"\"remote_url\"",[107,496,419],{"class":124},[107,498,422],{"class":135},[107,500,501],{"class":124}," fh.RemoteURL\n",[107,503,505],{"class":109,"line":504},19,[107,506,386],{"class":124},[107,508,510,512,515,517,519],{"class":109,"line":509},20,[107,511,392],{"class":135},[107,513,514],{"class":124}," fh.RemoteID ",[107,516,398],{"class":135},[107,518,327],{"class":128},[107,520,261],{"class":124},[107,522,524,526,528,530,533,535,537],{"class":109,"line":523},21,[107,525,408],{"class":124},[107,527,411],{"class":120},[107,529,125],{"class":124},[107,531,532],{"class":128},"\"remote_id\"",[107,534,419],{"class":124},[107,536,422],{"class":135},[107,538,539],{"class":124}," fh.RemoteID\n",[107,541,543],{"class":109,"line":542},22,[107,544,386],{"class":124},[107,546,548,551,553,555,558,560,562,565,568,571,574],{"class":109,"line":547},23,[107,549,550],{"class":124},"    data[",[107,552,411],{"class":120},[107,554,125],{"class":124},[107,556,557],{"class":128},"\"size\"",[107,559,419],{"class":124},[107,561,422],{"class":135},[107,563,564],{"class":124}," strconv.",[107,566,567],{"class":120},"FormatInt",[107,569,570],{"class":124},"(fh.Size, ",[107,572,573],{"class":151},"10",[107,575,288],{"class":124},[107,577,579,582,585,587,590],{"class":109,"line":578},24,[107,580,581],{"class":135},"    for",[107,583,584],{"class":124}," hashName, hash ",[107,586,270],{"class":135},[107,588,589],{"class":135}," range",[107,591,592],{"class":124}," fh.hashes {\n",[107,594,596,598,600,603,605],{"class":109,"line":595},25,[107,597,408],{"class":124},[107,599,411],{"class":120},[107,601,602],{"class":124},"(hashName)] ",[107,604,422],{"class":135},[107,606,607],{"class":124}," hash\n",[107,609,611],{"class":109,"line":610},26,[107,612,386],{"class":124},[107,614,616,619],{"class":109,"line":615},27,[107,617,618],{"class":135},"    return",[107,620,621],{"class":124}," data\n",[107,623,625],{"class":109,"line":624},28,[107,626,627],{"class":124},"}\n",[12,629,630,631,633,634,636],{},"So ",[49,632,39],{}," will replace the uploaded file name by the path to where it has stored the file on disk, such that the ",[49,635,64],{}," backend knows where to pick it up.",[12,638,639,640,642],{},"Observe the following original request, as received by ",[49,641,39],{},":",[98,644,649],{"className":645,"code":647,"language":648,"meta":103},[646],"language-text","PUT /api/v4/packages/conan/v1/files/Hello/0.1/root+xxxxx/beta/0/export/conanfile.py HTTP/1.1\nHost: localhost\nUser-Agent: Conan/1.22.0 (Python 3.8.1) python-requests/2.22.0\nAccept-Encoding: gzip, deflate\nAccept: */*\nConnection: close\nX-Checksum-Sha1: 93ebaf6e85e8edde99c1ed46eaa1b5e1e5f4ac78\nContent-Length: 1765\nAuthorization: Bearer [.. shortened ..]\n\nfrom conans import ConanFile, CMake, tools\n\n\nclass HelloConan(ConanFile):\n    name = \"Hello\"\n[.. shortened ..]\n","text",[49,650,647],{"__ignoreMap":103},[12,652,653,654,656,657,659,660,663],{},"This is what this request will look like to ",[49,655,64],{}," after ",[49,658,39],{}," has processed it (excerpted from ",[49,661,662],{},"api_json.log","):",[98,665,669],{"className":666,"code":667,"language":668,"meta":103,"style":103},"language-json shiki shiki-themes github-light","{\n  \"time\": \"2020-02-20T14:49:44.738Z\",\n  \"severity\": \"INFO\",\n  \"duration\": 201.93,\n  \"db\": 67.34,\n  \"view\": 134.59,\n  \"status\": 200,\n  \"method\": \"PUT\",\n  \"path\": \"/api/v4/packages/conan/v1/files/Hello/0.1/root+xxxxx/beta/0/export/conanfile.py\",\n  \"params\": [\n    {\n      \"key\": \"file.md5\",\n      \"value\": \"719f0319f1fd5f6fcbc2433cc0008817\"\n    },\n    {\n      \"key\": \"file.path\",\n      \"value\": \"/var/opt/gitlab/gitlab-rails/shared/packages/tmp/uploads/582573467\"\n    },\n    {\n      \"key\": \"file.sha1\",\n      \"value\": \"93ebaf6e85e8edde99c1ed46eaa1b5e1e5f4ac78\"\n    },\n    {\n      \"key\": \"file.sha256\",\n      \"value\": \"f7059b223cd4d32002e5e34ab1ae5b4ea12f3bd0326589b00d5e910ce02c1f3a\"\n    },\n    {\n      \"key\": \"file.sha512\",\n      \"value\": \"efbe75ea58bd817d42fd9ca5ac556abd6fbe3236f66dfad81d508b5860252d32d1b1868ee03c7f4c6174a0ba6cc920a574b5865ca509f36c451113c9108f9a36\"\n    },\n    {\n      \"key\": \"file.size\",\n      \"value\": \"1765\"\n    }\n  ],\n  \"host\": \"localhost\",\n  \"remote_ip\": \"172.17.0.1, 127.0.0.1\",\n  \"ua\": \"Conan/1.22.0 (Python 3.8.1) python-requests/2.22.0\",\n  \"route\": \"/api/:version/packages/conan/v1/files/:package_name/:package_version/:package_username/:package_channel/:recipe_revision/export/:file_name\",\n  \"user_id\": 1,\n  \"username\": \"root\",\n  \"queue_duration\": 16.59,\n  \"correlation_id\": \"aSEqrgEfvX9\"\n}\n","json",[49,670,671,676,690,702,714,726,738,750,761,773,781,786,798,808,813,817,828,837,841,845,856,865,869,873,884,893,897,901,912,922,927,932,944,954,959,965,978,991,1004,1017,1030,1043,1056,1067],{"__ignoreMap":103},[107,672,673],{"class":109,"line":110},[107,674,675],{"class":124},"{\n",[107,677,678,681,684,687],{"class":109,"line":117},[107,679,680],{"class":151},"  \"time\"",[107,682,683],{"class":124},": ",[107,685,686],{"class":128},"\"2020-02-20T14:49:44.738Z\"",[107,688,689],{"class":124},",\n",[107,691,692,695,697,700],{"class":109,"line":264},[107,693,694],{"class":151},"  \"severity\"",[107,696,683],{"class":124},[107,698,699],{"class":128},"\"INFO\"",[107,701,689],{"class":124},[107,703,704,707,709,712],{"class":109,"line":291},[107,705,706],{"class":151},"  \"duration\"",[107,708,683],{"class":124},[107,710,711],{"class":151},"201.93",[107,713,689],{"class":124},[107,715,716,719,721,724],{"class":109,"line":315},[107,717,718],{"class":151},"  \"db\"",[107,720,683],{"class":124},[107,722,723],{"class":151},"67.34",[107,725,689],{"class":124},[107,727,728,731,733,736],{"class":109,"line":332},[107,729,730],{"class":151},"  \"view\"",[107,732,683],{"class":124},[107,734,735],{"class":151},"134.59",[107,737,689],{"class":124},[107,739,740,743,745,748],{"class":109,"line":341},[107,741,742],{"class":151},"  \"status\"",[107,744,683],{"class":124},[107,746,747],{"class":151},"200",[107,749,689],{"class":124},[107,751,752,755,757,759],{"class":109,"line":347},[107,753,754],{"class":151},"  \"method\"",[107,756,683],{"class":124},[107,758,129],{"class":128},[107,760,689],{"class":124},[107,762,763,766,768,771],{"class":109,"line":354},[107,764,765],{"class":151},"  \"path\"",[107,767,683],{"class":124},[107,769,770],{"class":128},"\"/api/v4/packages/conan/v1/files/Hello/0.1/root+xxxxx/beta/0/export/conanfile.py\"",[107,772,689],{"class":124},[107,774,775,778],{"class":109,"line":383},[107,776,777],{"class":151},"  \"params\"",[107,779,780],{"class":124},": [\n",[107,782,783],{"class":109,"line":389},[107,784,785],{"class":124},"    {\n",[107,787,788,791,793,796],{"class":109,"line":405},[107,789,790],{"class":151},"      \"key\"",[107,792,683],{"class":124},[107,794,795],{"class":128},"\"file.md5\"",[107,797,689],{"class":124},[107,799,800,803,805],{"class":109,"line":428},[107,801,802],{"class":151},"      \"value\"",[107,804,683],{"class":124},[107,806,807],{"class":128},"\"719f0319f1fd5f6fcbc2433cc0008817\"\n",[107,809,810],{"class":109,"line":433},[107,811,812],{"class":124},"    },\n",[107,814,815],{"class":109,"line":447},[107,816,785],{"class":124},[107,818,819,821,823,826],{"class":109,"line":466},[107,820,790],{"class":151},[107,822,683],{"class":124},[107,824,825],{"class":128},"\"file.path\"",[107,827,689],{"class":124},[107,829,830,832,834],{"class":109,"line":471},[107,831,802],{"class":151},[107,833,683],{"class":124},[107,835,836],{"class":128},"\"/var/opt/gitlab/gitlab-rails/shared/packages/tmp/uploads/582573467\"\n",[107,838,839],{"class":109,"line":485},[107,840,812],{"class":124},[107,842,843],{"class":109,"line":504},[107,844,785],{"class":124},[107,846,847,849,851,854],{"class":109,"line":509},[107,848,790],{"class":151},[107,850,683],{"class":124},[107,852,853],{"class":128},"\"file.sha1\"",[107,855,689],{"class":124},[107,857,858,860,862],{"class":109,"line":523},[107,859,802],{"class":151},[107,861,683],{"class":124},[107,863,864],{"class":128},"\"93ebaf6e85e8edde99c1ed46eaa1b5e1e5f4ac78\"\n",[107,866,867],{"class":109,"line":542},[107,868,812],{"class":124},[107,870,871],{"class":109,"line":547},[107,872,785],{"class":124},[107,874,875,877,879,882],{"class":109,"line":578},[107,876,790],{"class":151},[107,878,683],{"class":124},[107,880,881],{"class":128},"\"file.sha256\"",[107,883,689],{"class":124},[107,885,886,888,890],{"class":109,"line":595},[107,887,802],{"class":151},[107,889,683],{"class":124},[107,891,892],{"class":128},"\"f7059b223cd4d32002e5e34ab1ae5b4ea12f3bd0326589b00d5e910ce02c1f3a\"\n",[107,894,895],{"class":109,"line":610},[107,896,812],{"class":124},[107,898,899],{"class":109,"line":615},[107,900,785],{"class":124},[107,902,903,905,907,910],{"class":109,"line":624},[107,904,790],{"class":151},[107,906,683],{"class":124},[107,908,909],{"class":128},"\"file.sha512\"",[107,911,689],{"class":124},[107,913,915,917,919],{"class":109,"line":914},29,[107,916,802],{"class":151},[107,918,683],{"class":124},[107,920,921],{"class":128},"\"efbe75ea58bd817d42fd9ca5ac556abd6fbe3236f66dfad81d508b5860252d32d1b1868ee03c7f4c6174a0ba6cc920a574b5865ca509f36c451113c9108f9a36\"\n",[107,923,925],{"class":109,"line":924},30,[107,926,812],{"class":124},[107,928,930],{"class":109,"line":929},31,[107,931,785],{"class":124},[107,933,935,937,939,942],{"class":109,"line":934},32,[107,936,790],{"class":151},[107,938,683],{"class":124},[107,940,941],{"class":128},"\"file.size\"",[107,943,689],{"class":124},[107,945,947,949,951],{"class":109,"line":946},33,[107,948,802],{"class":151},[107,950,683],{"class":124},[107,952,953],{"class":128},"\"1765\"\n",[107,955,957],{"class":109,"line":956},34,[107,958,386],{"class":124},[107,960,962],{"class":109,"line":961},35,[107,963,964],{"class":124},"  ],\n",[107,966,968,971,973,976],{"class":109,"line":967},36,[107,969,970],{"class":151},"  \"host\"",[107,972,683],{"class":124},[107,974,975],{"class":128},"\"localhost\"",[107,977,689],{"class":124},[107,979,981,984,986,989],{"class":109,"line":980},37,[107,982,983],{"class":151},"  \"remote_ip\"",[107,985,683],{"class":124},[107,987,988],{"class":128},"\"172.17.0.1, 127.0.0.1\"",[107,990,689],{"class":124},[107,992,994,997,999,1002],{"class":109,"line":993},38,[107,995,996],{"class":151},"  \"ua\"",[107,998,683],{"class":124},[107,1000,1001],{"class":128},"\"Conan/1.22.0 (Python 3.8.1) python-requests/2.22.0\"",[107,1003,689],{"class":124},[107,1005,1007,1010,1012,1015],{"class":109,"line":1006},39,[107,1008,1009],{"class":151},"  \"route\"",[107,1011,683],{"class":124},[107,1013,1014],{"class":128},"\"/api/:version/packages/conan/v1/files/:package_name/:package_version/:package_username/:package_channel/:recipe_revision/export/:file_name\"",[107,1016,689],{"class":124},[107,1018,1020,1023,1025,1028],{"class":109,"line":1019},40,[107,1021,1022],{"class":151},"  \"user_id\"",[107,1024,683],{"class":124},[107,1026,1027],{"class":151},"1",[107,1029,689],{"class":124},[107,1031,1033,1036,1038,1041],{"class":109,"line":1032},41,[107,1034,1035],{"class":151},"  \"username\"",[107,1037,683],{"class":124},[107,1039,1040],{"class":128},"\"root\"",[107,1042,689],{"class":124},[107,1044,1046,1049,1051,1054],{"class":109,"line":1045},42,[107,1047,1048],{"class":151},"  \"queue_duration\"",[107,1050,683],{"class":124},[107,1052,1053],{"class":151},"16.59",[107,1055,689],{"class":124},[107,1057,1059,1062,1064],{"class":109,"line":1058},43,[107,1060,1061],{"class":151},"  \"correlation_id\"",[107,1063,683],{"class":124},[107,1065,1066],{"class":128},"\"aSEqrgEfvX9\"\n",[107,1068,1070],{"class":109,"line":1069},44,[107,1071,627],{"class":124},[12,1073,1074,1075,1078,1079,1082,1083,1085],{},"In particular, the ",[49,1076,1077],{},"params"," entry ",[49,1080,1081],{},"file.path"," is of interest, as it denotes the file system path where ",[49,1084,39],{}," has placed the uploaded file.",[37,1087,1088],{"id":64},[49,1089,64],{},[12,1091,1092,1093,1095,1096,1098,1099,1106,1107,1110],{},"This ",[49,1094,39],{},"-modified request, as ",[49,1097,64],{}," will see it, is handled in ",[16,1100,1103],{"href":1101,"rel":1102},"https://gitlab.com/gitlab-org/gitlab/-/blob/v12.7.4-ee/lib/uploaded_file.rb#L45-66",[],[49,1104,1105],{},"lib/uploaded_file.rb"," within the ",[49,1108,1109],{},"from_params"," method:",[98,1112,1116],{"className":1113,"code":1114,"language":1115,"meta":103,"style":103},"language-ruby shiki shiki-themes github-light","01  def self.from_params(params, field, upload_paths)\n02    path = params[\"#{field}.path\"]\n03    remote_id = params[\"#{field}.remote_id\"]\n04    return if path.blank? && remote_id.blank?\n05\n06    file_path = nil\n07    if path\n08      file_path = File.realpath(path)\n09\n10      paths = Array(upload_paths) \u003C\u003C Dir.tmpdir\n11      unless self.allowed_path?(file_path, paths.compact)\n12        raise InvalidPathError, \"insecure path used '#{file_path}'\"\n13      end\n14    end\n15\n16    UploadedFile.new(file_path,\n17      filename: params[\"#{field}.name\"],\n18      content_type: params[\"#{field}.type\"] || 'application/octet-stream',\n19      sha256: params[\"#{field}.sha256\"],\n20      remote_id: remote_id,\n21      size: params[\"#{field}.size\"])\n22  end\n","ruby",[49,1117,1118,1132,1156,1177,1202,1207,1220,1230,1251,1256,1282,1306,1329,1337,1345,1350,1366,1386,1414,1433,1444,1464],{"__ignoreMap":103},[107,1119,1120,1123,1126,1129],{"class":109,"line":110},[107,1121,1122],{"class":151},"01",[107,1124,1125],{"class":135},"  def",[107,1127,1128],{"class":120}," self.from_params",[107,1130,1131],{"class":124},"(params, field, upload_paths)\n",[107,1133,1134,1137,1140,1142,1145,1147,1150,1153],{"class":109,"line":117},[107,1135,1136],{"class":151},"02",[107,1138,1139],{"class":124},"    path ",[107,1141,422],{"class":135},[107,1143,1144],{"class":124}," params[",[107,1146,368],{"class":128},[107,1148,1149],{"class":128},"#{field}",[107,1151,1152],{"class":128},".path\"",[107,1154,1155],{"class":124},"]\n",[107,1157,1158,1161,1164,1166,1168,1170,1172,1175],{"class":109,"line":264},[107,1159,1160],{"class":151},"03",[107,1162,1163],{"class":124},"    remote_id ",[107,1165,422],{"class":135},[107,1167,1144],{"class":124},[107,1169,368],{"class":128},[107,1171,1149],{"class":128},[107,1173,1174],{"class":128},".remote_id\"",[107,1176,1155],{"class":124},[107,1178,1179,1182,1184,1187,1190,1193,1196,1199],{"class":109,"line":291},[107,1180,1181],{"class":151},"04",[107,1183,618],{"class":135},[107,1185,1186],{"class":135}," if",[107,1188,1189],{"class":124}," path.",[107,1191,1192],{"class":120},"blank?",[107,1194,1195],{"class":135}," &&",[107,1197,1198],{"class":124}," remote_id.",[107,1200,1201],{"class":120},"blank?\n",[107,1203,1204],{"class":109,"line":315},[107,1205,1206],{"class":151},"05\n",[107,1208,1209,1212,1215,1217],{"class":109,"line":332},[107,1210,1211],{"class":151},"06",[107,1213,1214],{"class":124},"    file_path ",[107,1216,422],{"class":135},[107,1218,1219],{"class":151}," nil\n",[107,1221,1222,1225,1227],{"class":109,"line":341},[107,1223,1224],{"class":151},"07",[107,1226,392],{"class":135},[107,1228,1229],{"class":124}," path\n",[107,1231,1232,1235,1238,1240,1243,1245,1248],{"class":109,"line":347},[107,1233,1234],{"class":151},"08",[107,1236,1237],{"class":124},"      file_path ",[107,1239,422],{"class":135},[107,1241,1242],{"class":151}," File",[107,1244,51],{"class":124},[107,1246,1247],{"class":120},"realpath",[107,1249,1250],{"class":124},"(path)\n",[107,1252,1253],{"class":109,"line":354},[107,1254,1255],{"class":151},"09\n",[107,1257,1258,1260,1263,1265,1268,1271,1274,1277,1279],{"class":109,"line":383},[107,1259,573],{"class":151},[107,1261,1262],{"class":124},"      paths ",[107,1264,422],{"class":135},[107,1266,1267],{"class":151}," Array",[107,1269,1270],{"class":124},"(upload_paths) ",[107,1272,1273],{"class":135},"\u003C\u003C",[107,1275,1276],{"class":151}," Dir",[107,1278,51],{"class":124},[107,1280,1281],{"class":120},"tmpdir\n",[107,1283,1284,1287,1290,1293,1295,1298,1301,1304],{"class":109,"line":389},[107,1285,1286],{"class":151},"11",[107,1288,1289],{"class":135},"      unless",[107,1291,1292],{"class":151}," self",[107,1294,51],{"class":124},[107,1296,1297],{"class":120},"allowed_path?",[107,1299,1300],{"class":124},"(file_path, paths.",[107,1302,1303],{"class":120},"compact",[107,1305,288],{"class":124},[107,1307,1308,1311,1314,1317,1320,1323,1326],{"class":109,"line":405},[107,1309,1310],{"class":151},"12",[107,1312,1313],{"class":135},"        raise",[107,1315,1316],{"class":151}," InvalidPathError",[107,1318,1319],{"class":124},", ",[107,1321,1322],{"class":128},"\"insecure path used '",[107,1324,1325],{"class":128},"#{file_path}",[107,1327,1328],{"class":128},"'\"\n",[107,1330,1331,1334],{"class":109,"line":428},[107,1332,1333],{"class":151},"13",[107,1335,1336],{"class":135},"      end\n",[107,1338,1339,1342],{"class":109,"line":433},[107,1340,1341],{"class":151},"14",[107,1343,1344],{"class":135},"    end\n",[107,1346,1347],{"class":109,"line":447},[107,1348,1349],{"class":151},"15\n",[107,1351,1352,1355,1358,1360,1363],{"class":109,"line":466},[107,1353,1354],{"class":151},"16",[107,1356,1357],{"class":151},"    UploadedFile",[107,1359,51],{"class":124},[107,1361,1362],{"class":135},"new",[107,1364,1365],{"class":124},"(file_path,\n",[107,1367,1368,1371,1374,1376,1378,1380,1383],{"class":109,"line":471},[107,1369,1370],{"class":151},"17",[107,1372,1373],{"class":151},"      filename:",[107,1375,1144],{"class":124},[107,1377,368],{"class":128},[107,1379,1149],{"class":128},[107,1381,1382],{"class":128},".name\"",[107,1384,1385],{"class":124},"],\n",[107,1387,1388,1391,1394,1396,1398,1400,1403,1406,1409,1412],{"class":109,"line":485},[107,1389,1390],{"class":151},"18",[107,1392,1393],{"class":151},"      content_type:",[107,1395,1144],{"class":124},[107,1397,368],{"class":128},[107,1399,1149],{"class":128},[107,1401,1402],{"class":128},".type\"",[107,1404,1405],{"class":124},"] ",[107,1407,1408],{"class":135},"||",[107,1410,1411],{"class":128}," 'application/octet-stream'",[107,1413,689],{"class":124},[107,1415,1416,1419,1422,1424,1426,1428,1431],{"class":109,"line":504},[107,1417,1418],{"class":151},"19",[107,1420,1421],{"class":151},"      sha256:",[107,1423,1144],{"class":124},[107,1425,368],{"class":128},[107,1427,1149],{"class":128},[107,1429,1430],{"class":128},".sha256\"",[107,1432,1385],{"class":124},[107,1434,1435,1438,1441],{"class":109,"line":509},[107,1436,1437],{"class":151},"20",[107,1439,1440],{"class":151},"      remote_id:",[107,1442,1443],{"class":124}," remote_id,\n",[107,1445,1446,1449,1452,1454,1456,1458,1461],{"class":109,"line":523},[107,1447,1448],{"class":151},"21",[107,1450,1451],{"class":151},"      size:",[107,1453,1144],{"class":124},[107,1455,368],{"class":128},[107,1457,1149],{"class":128},[107,1459,1460],{"class":128},".size\"",[107,1462,1463],{"class":124},"])\n",[107,1465,1466,1469],{"class":109,"line":542},[107,1467,1468],{"class":151},"22",[107,1470,1471],{"class":135},"  end\n",[12,1473,1474,1475,1478,1479,1481,1482,1485,1486,1489,1490,1493,1494,1496,1497,1499],{},"We can see here the handling of the uploaded file reference. The part in line ",[49,1476,1477],{},"10-13"," in the snippet above implements a whitelist of a specific set of paths from where a ",[49,1480,39],{}," uploaded file will be accepted.",[49,1483,1484],{},"Dir.tmpdir"," which resolves to the path ",[49,1487,1488],{},"/tmp"," is added to the whitelist as well. In the subsequent lines a new ",[49,1491,1492],{},"UploadedFile"," is constructed from the ",[49,1495,1081],{}," and other parameters ",[49,1498,39],{}," has set.",[29,1501,1503,1505],{"id":1502},"gitlab-workhorse-bypass",[49,1504,39],{}," bypass",[12,1507,1508,1509,1511,1512,1514],{},"So we've seen the inner workings of both ",[49,1510,39],{}," and ",[49,1513,64],{}," when it comes to file uploads for Conan packages. In recap it would go as follows:",[98,1516,1520],{"className":1517,"code":1518,"language":1519,"meta":103,"style":103},"language-mermaid shiki shiki-themes github-light","sequenceDiagram\n    participant User\n    participant workhorse\n    participant Rails\n    User->>workhorse: PUT request to conan registry\n    workhorse->>workhorse: Place uploaded file on disk and re-write PUT request\n    workhorse->>Rails: Pass on modified PUT request\n    Rails->>Rails: Pick up file from disk and store in UploadedFile\n","mermaid",[49,1521,1522,1527,1532,1537,1542,1547,1552,1557],{"__ignoreMap":103},[107,1523,1524],{"class":109,"line":110},[107,1525,1526],{"class":124},"sequenceDiagram\n",[107,1528,1529],{"class":109,"line":117},[107,1530,1531],{"class":124},"    participant User\n",[107,1533,1534],{"class":109,"line":264},[107,1535,1536],{"class":124},"    participant workhorse\n",[107,1538,1539],{"class":109,"line":291},[107,1540,1541],{"class":124},"    participant Rails\n",[107,1543,1544],{"class":109,"line":315},[107,1545,1546],{"class":124},"    User->>workhorse: PUT request to conan registry\n",[107,1548,1549],{"class":109,"line":332},[107,1550,1551],{"class":124},"    workhorse->>workhorse: Place uploaded file on disk and re-write PUT request\n",[107,1553,1554],{"class":109,"line":341},[107,1555,1556],{"class":124},"    workhorse->>Rails: Pass on modified PUT request\n",[107,1558,1559],{"class":109,"line":347},[107,1560,1561],{"class":124},"    Rails->>Rails: Pick up file from disk and store in UploadedFile\n",[12,1563,1564,1565,1567,1568,1570,1571,1573,1574,1577,1578,1580,1581,1583,1584,1586,1587,51],{},"From an attacker perspective it would be nice to meddle with the modified ",[49,1566,161],{}," request, especially control over the ",[49,1569,1081],{}," parameter would allow us to grab arbitrary files from ",[49,1572,1488],{}," and the defined ",[49,1575,1576],{},"upload_paths",". But as ",[49,1579,39],{}," sits right in front of ",[49,1582,64],{}," we can't just pass those parameters or otherwise interact directly with ",[49,1585,64],{}," without going via ",[49,1588,39],{},[12,1590,1591,1592,1594,1595,1597,1598,1605,1606,1608,1609,1611,1612,1615,1616,1618,1619,1626,1627,1629,1630,1632,1633,1635,1636,1638,1639,1642,1643,1646,1647,1649,1650,1653,1654,1656,1657,1664,1665,1511,1667,1670,1671,1673,1674,1676,1677,1680],{},"We can indeed achieve this by leveraging the fact that ",[49,1593,39],{}," parses the HTTP requests in a different way than ",[49,1596,64],{}," does. In particular, we can use ",[16,1599,1602],{"href":1600,"rel":1601},"https://www.rubydoc.info/gems/rack/Rack/MethodOverride",[],[49,1603,1604],{},"Rack::MethodOverride"," in ",[49,1607,64],{}," which is a default middleware in Ruby on Rails applications. The ",[49,1610,1604],{}," middleware allows us to send a ",[49,1613,1614],{},"POST"," request and let ",[49,1617,64],{}," know ",[1620,1621,1622,1623,1625],"strong",{},"\"well, actually this is a ",[49,1624,161],{}," request! ¯\\_(ツ)_/¯ \"",". With this little trick we can sneak past the ",[49,1628,39],{}," route which would intercept the ",[49,1631,161],{}," request, as ",[49,1634,39],{}," is not aware of the overridden ",[49,1637,1614],{}," method. So by specifying either a ",[49,1640,1641],{},"_method=PUT"," parameter or a ",[49,1644,1645],{},"X-HTTP-METHOD-OVERRIDE: PUT"," HTTP header we can indeed directly point ",[49,1648,64],{}," to files on disk. The method override is used a lot in Ruby on Rails applications to allow simple ",[49,1651,1652],{},"\u003Cform>"," based ",[49,1655,1614],{}," requests to use other ",[16,1658,1661],{"href":1659,"rel":1660},"https://de.wikipedia.org/wiki/Representational_State_Transfer",[],[49,1662,1663],{},"REST","-based methods like ",[49,1666,161],{},[49,1668,1669],{},"DELETE"," by overriding the ",[49,1672,1652],{},"s ",[49,1675,1614],{}," request with the ",[49,1678,1679],{},"_method"," parameter.",[12,1682,1683,1684,1686,1687,1511,1689,1692],{},"So a ",[49,1685,1614],{}," request to the right Conan endpoint with a ",[49,1688,1081],{},[49,1690,1691],{},"file.size"," parameter will do the trick.\nA full request using this bypass would look like this:",[98,1694,1697],{"className":1695,"code":1696,"language":648,"meta":103},[646],"POST /api/v4/packages/conan/v1/files/Hello/0.1/lol+wat/beta/0/export/conanmanifest.txt?file.size=4&file.path=/tmp/test1234 HTTP/1.1\nHost: localhost\nUser-Agent: Conan/1.21.0 (Python 3.8.1) python-requests/2.22.0\nAccept-Encoding: gzip, deflate\nAccept: */*\nConnection: close\nX-HTTP-Method-Override: PUT\nX-Checksum-Deploy: true\nX-Checksum-Sha1: ee96149f7b93af931d4548e9562484bdb6ac8fda\nContent-Length: 4\nAuthorization: Bearer [.. shortened ..]\n\nasdf\n",[49,1698,1696],{"__ignoreMap":103},[12,1700,1701,1702,1705],{},"This would, instead of uploading a file, let us get a hold of the file ",[49,1703,1704],{},"/tmp/test1234"," from the GitLab server's file system. In recap, the flow to exploit this issue looks as follows:",[98,1707,1709],{"className":1517,"code":1708,"language":1519,"meta":103,"style":103},"sequenceDiagram\n    participant User\n    participant workhorse\n    participant Rails\n    User->>workhorse: POST request to conan registry\n    workhorse->>workhorse: Route does not match anything\n    workhorse->>Rails: Pass on unmodified POST request\n    Rails->>Rails: Interpret as PUT and pick up file from disk\n",[49,1710,1711,1715,1719,1723,1727,1732,1737,1742],{"__ignoreMap":103},[107,1712,1713],{"class":109,"line":110},[107,1714,1526],{"class":124},[107,1716,1717],{"class":109,"line":117},[107,1718,1531],{"class":124},[107,1720,1721],{"class":109,"line":264},[107,1722,1536],{"class":124},[107,1724,1725],{"class":109,"line":291},[107,1726,1541],{"class":124},[107,1728,1729],{"class":109,"line":315},[107,1730,1731],{"class":124},"    User->>workhorse: POST request to conan registry\n",[107,1733,1734],{"class":109,"line":332},[107,1735,1736],{"class":124},"    workhorse->>workhorse: Route does not match anything\n",[107,1738,1739],{"class":109,"line":341},[107,1740,1741],{"class":124},"    workhorse->>Rails: Pass on unmodified POST request\n",[107,1743,1744],{"class":109,"line":347},[107,1745,1746],{"class":124},"    Rails->>Rails: Interpret as PUT and pick up file from disk\n",[12,1748,1749,1750,1752,1753,1760,1761],{},"We fixed this issue within ",[49,1751,39],{}," by ",[16,1754,1757,1758],{"href":1755,"rel":1756},"https://gitlab.com/gitlab-org/gitlab-workhorse/-/commit/3a34323b104be89e92db49828268f0bfd831e75a",[],"signing Requests which pass ",[49,1759,39],{},", the signature then is verified on ",[16,1762,1765,1766,1768],{"href":1763,"rel":1764},"https://gitlab.com/gitlab-org/gitlab/-/commit/043c664908e474f34e62e88365be0fc945f1d0b3",[],"the ",[49,1767,64],{}," side",[29,1770,1772],{"id":1771},"how-parser-differentials-can-introduce-vulnerabilities","How parser differentials can introduce vulnerabilities",[12,1774,1775,1776,1511,1778,1780,1781,1783,1784,1786,1787,1789],{},"Let's take a huge step back and see from an high-level perspective what just happened. We've had ",[49,1777,39],{},[49,1779,64],{}," both looking at a ",[49,1782,1614],{}," request. But ",[49,1785,64],{}," ultimately saw a ",[49,1788,161],{}," request due to the overridden HTTP method.",[12,1791,1792,1793,1796,1797,1511,1799,1801,1802,1807,1808,1813],{},"What occurred here is a case of a ",[1620,1794,1795],{},"parser differential",", as ",[49,1798,39],{},[49,1800,64],{}," parsed the incoming HTTP request differently. The term parser differential originates from the ",[16,1803,1806],{"href":1804,"rel":1805},"http://langsec.org",[],"Language-theoretic Security approach",". It denotes the fact that two (or more) different parsers \"understand\" the very same message in a different way. Or, as described in the ",[16,1809,1812],{"href":1810,"rel":1811},"http://langsec.org/bof-handout.pdf",[],"LangSec handout"," as follows:",[1815,1816,1817],"blockquote",{},[12,1818,1819],{},"Different interpretation of messages or data streams by components breaks any assumptions that components adhere to a shared specification and so introduces inconsistent state and unanticipated computation.",[12,1821,1822,1823,1827],{},"Indeed such issues and the consequential ",[1824,1825,1826],"em",{},"unanticipated computation"," get more and more common when we look at modern web environments. The days of web applications being a stand-alone bunch of scripts invoked on a web server are long gone. The rise of microservices leads to complex environments and the very same message (or HTTP request) might be interpreted by several different services in several different ways. Just as shown in the above example this sometimes comes along with security implications.",[12,1829,1830,1831,1836,1837,1842],{},"From the point of view of a pragmatic bug hunter, the idea of parser differentials is very interesting as those issue can yield unique security bugs. Consider, for instance, this ",[16,1832,1835],{"href":1833,"rel":1834},"https://justi.cz/security/2017/11/14/couchdb-rce-npm.html",[],"RCE in couchdb",". Also the ",[16,1838,1841],{"href":1839,"rel":1840},"https://portswigger.net/research/http-desync-attacks-request-smuggling-reborn",[],"HTTP desync attack technique",", which has gotten a lot attention in the bug bounty community, is a matter of parser differentials.",[12,1844,1845],{},"For the developer perspective we need to be aware of other components and their parsing behavior in order to avoid security issues which arise from interpreting the same message differently.",[12,1847,1848,1849,1854,1855],{},"Cover Photo by ",[16,1850,1853],{"href":1851,"rel":1852},"https://www.pexels.com/@martabranco?utm_content=attributionCopyText&utm_medium=referral&utm_source=pexels",[],"Marta Branco"," on ",[16,1856,1859],{"href":1857,"rel":1858},"https://www.pexels.com/photo/closeup-photo-of-black-and-blue-keyboard-1194713/?utm_content=attributionCopyText&utm_medium=referral&utm_source=pexels",[],"Pexels",[1861,1862,1863],"style",{},"html pre.shiki code .sAwPA, html code.shiki .sAwPA{--shiki-default:#6A737D}html pre.shiki code .s7eDp, html code.shiki .s7eDp{--shiki-default:#6F42C1}html pre.shiki code .sgsFI, html code.shiki .sgsFI{--shiki-default:#24292E}html pre.shiki code .sYBdl, html code.shiki .sYBdl{--shiki-default:#032F62}html pre.shiki code .sD7c4, html code.shiki .sD7c4{--shiki-default:#D73A49}html pre.shiki code .sYu0t, html code.shiki .sYu0t{--shiki-default:#005CC5}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html pre.shiki code .sqxcx, html code.shiki .sqxcx{--shiki-default:#E36209}",{"title":103,"searchDepth":117,"depth":117,"links":1865},[1866,1870,1872],{"id":31,"depth":117,"text":32,"children":1867},[1868,1869],{"id":39,"depth":264,"text":40},{"id":64,"depth":264,"text":64},{"id":1502,"depth":117,"text":1871},"gitlab-workhorse bypass",{"id":1771,"depth":117,"text":1772},"security","2020-03-30","Your guide to abusing 'language barriers' between web components.","md",null,false,"https://res.cloudinary.com/about-gitlab-com/image/upload/v1749668524/Blog/Hero%20Images/closeup-photo-of-black-and-blue-keyboard-1194713.jpg",{},"/en-us/blog/how-to-exploit-parser-differentials",{"title":5,"description":1875,"ogTitle":5,"ogDescription":1875,"noIndex":1878,"ogImage":1879,"ogUrl":1883,"ogSiteName":1884,"ogType":1885,"canonicalUrls":1883},"https://about.gitlab.com/blog/how-to-exploit-parser-differentials","https://about.gitlab.com","article","how-to-exploit-parser-differentials","en-us/blog/how-to-exploit-parser-differentials",[1873,1889],"security research","BlogPost","aGbzyea2dYg5SRsnM6u8SCeJ2k53i0HB6NI4RU477ec",{"logo":1893,"freeTrial":1898,"sales":1903,"login":1908,"items":1913,"search":2249,"minimal":2281,"duo":2300,"switchNav":2309,"pricingDeployment":2320},{"config":1894},{"href":1895,"dataGaName":1896,"dataGaLocation":1897},"/","gitlab logo","header",{"text":1899,"config":1900},"Get free trial",{"href":1901,"dataGaName":1902,"dataGaLocation":1897},"https://gitlab.com/-/trial_registrations/new?glm_source=about.gitlab.com&glm_content=default-saas-trial/","free trial",{"text":1904,"config":1905},"Request a demo",{"href":1906,"dataGaName":1907,"dataGaLocation":1897},"/request-a-demo/","sales",{"text":1909,"config":1910},"Sign in",{"href":1911,"dataGaName":1912,"dataGaLocation":1897},"https://gitlab.com/users/sign_in/","sign in",[1914,2000,2088,2093,2173,2227],{"text":1915,"left":350,"config":1916,"menu":1918},"Platform",{"dataNavLevelOne":1917},"platform",{"type":1919,"link":1920,"columns":1924,"feature":1989},"lists",{"text":1921,"config":1922},"Explore the Platform",{"href":1923,"dataGaName":1917,"dataGaLocation":1897},"/platform/",[1925,1948,1971],{"title":1926,"items":1927},"DevOps",[1928,1933,1938,1943],{"text":1929,"config":1930},"CI/CD",{"href":1931,"dataGaLocation":1897,"dataGaName":1932},"/solutions/continuous-integration/","ci/cd",{"text":1934,"config":1935},"Source Code Management",{"href":1936,"dataGaLocation":1897,"dataGaName":1937},"/solutions/source-code-management/","source code management",{"text":1939,"config":1940},"Agile Delivery",{"href":1941,"dataGaLocation":1897,"dataGaName":1942},"/solutions/agile-delivery/","agile delivery",{"text":1944,"config":1945},"Artifact Management",{"href":1946,"dataGaLocation":1897,"dataGaName":1947},"/artifact-central/","artifact management",{"title":1949,"items":1950},"Security & Governance",[1951,1956,1961,1966],{"text":1952,"config":1953},"Application Security Testing",{"href":1954,"dataGaLocation":1897,"dataGaName":1955},"/solutions/application-security-testing/","application security testing",{"text":1957,"config":1958},"Governance & Compliance",{"href":1959,"dataGaLocation":1897,"dataGaName":1960},"/solutions/software-compliance/","governance and compliance",{"text":1962,"config":1963},"Secrets Management",{"href":1964,"dataGaLocation":1897,"dataGaName":1965},"/gitlab-secrets-manager/","secrets management",{"text":1967,"config":1968},"Supply Chain Security",{"href":1969,"dataGaLocation":1897,"dataGaName":1970},"/solutions/supply-chain/","supply chain security",{"title":1972,"items":1973},"Agentic AI & Context",[1974,1979,1984],{"text":1975,"config":1976},"Duo Agent Platform",{"href":1977,"dataGaLocation":1897,"dataGaName":1978},"/gitlab-duo-agent-platform/","duo agent platform",{"text":1980,"config":1981},"Orbit Context Graph",{"href":1982,"dataGaLocation":1897,"dataGaName":1983},"/gitlab-orbit/","orbit",{"text":1985,"config":1986},"Visibility & Measurement",{"href":1987,"dataGaLocation":1897,"dataGaName":1988},"/solutions/visibility-measurement/","visibility and measurement",{"config":1990,"title":1993,"text":1994,"link":1995},{"background":1991,"textColor":1992},"url('https://res.cloudinary.com/about-gitlab-com/image/upload/v1790185102/o7dn32anqcb6z8dgd3as.jpg')","#000","GitLab Orbit is generally available","Higher agent accuracy, lower token cost",{"text":1996,"config":1997},"Read the announcement",{"href":1998,"dataGaName":1999,"dataGaLocation":1897},"/blog/gitlab-orbit-ga/","orbit ga announcement",{"text":2001,"left":350,"config":2002,"menu":2004},"Solutions",{"dataNavLevelOne":2003},"solutions",{"type":1919,"link":2005,"columns":2009,"feature":2079},{"text":2006,"config":2007},"View all Solutions",{"href":2008,"dataGaName":2003,"dataGaLocation":1897},"/solutions/",[2010,2028,2046],{"title":2011,"items":2012},"Outcomes",[2013,2018,2023],{"text":2014,"config":2015},"DevOps Modernization",{"href":2016,"dataGaLocation":1897,"dataGaName":2017},"/assessments/devops-modernization-assessment/","devops modernization",{"text":2019,"config":2020},"Security Modernization",{"href":2021,"dataGaLocation":1897,"dataGaName":2022},"/assessments/security-modernization-assessment/","security modernization",{"text":2024,"config":2025},"AI Modernization",{"href":2026,"dataGaLocation":1897,"dataGaName":2027},"/assessments/ai-modernization-assessment/","ai modernization",{"title":2029,"items":2030},"By size",[2031,2036,2041],{"text":2032,"config":2033},"Enterprise",{"href":2034,"dataGaLocation":1897,"dataGaName":2035},"/enterprise/","enterprise",{"text":2037,"config":2038},"Small Business",{"href":2039,"dataGaLocation":1897,"dataGaName":2040},"/small-business/","small business",{"text":2042,"config":2043},"Startups",{"href":2044,"dataGaLocation":1897,"dataGaName":2045},"/solutions/startups/","startups",{"title":2047,"items":2048},"Industries",[2049,2054,2059,2064,2069,2074],{"text":2050,"config":2051},"Financial Services",{"href":2052,"dataGaLocation":1897,"dataGaName":2053},"/solutions/finance/","financial services",{"text":2055,"config":2056},"Public Sector",{"href":2057,"dataGaLocation":1897,"dataGaName":2058},"/solutions/public-sector/","public sector",{"text":2060,"config":2061},"Telecommunications",{"href":2062,"dataGaLocation":1897,"dataGaName":2063},"/solutions/telecommunications/","telecommunications",{"text":2065,"config":2066},"Automotive",{"href":2067,"dataGaLocation":1897,"dataGaName":2068},"/solutions/automotive/","automotive",{"text":2070,"config":2071},"Education",{"href":2072,"dataGaLocation":1897,"dataGaName":2073},"/solutions/education/","education",{"text":2075,"config":2076},"Aerospace",{"href":2077,"dataGaLocation":1897,"dataGaName":2078},"/solutions/aerospace/","aerospace",{"config":2080,"title":2081,"text":2082,"link":2083},{"background":1991,"textColor":1992},"GitLab Security Standard","Learn how to harden your software factory and let AI agents earn autonomy, without trading away security.",{"text":2084,"config":2085},"Explore the standard",{"href":2086,"dataGaName":2087,"dataGaLocation":1897},"/gitlab-security-standard/","gitlab security standard",{"text":2089,"config":2090},"Pricing",{"href":2091,"dataGaName":2092,"dataGaLocation":1897,"dataNavLevelOne":2092},"/pricing/","pricing",{"text":2094,"config":2095,"menu":2097},"Resources",{"dataNavLevelOne":2096},"resources",{"type":1919,"link":2098,"columns":2102,"feature":2164},{"text":2099,"config":2100},"View all resources",{"href":2101,"dataGaName":2096,"dataGaLocation":1897},"/resources/",[2103,2136],{"title":2104,"items":2105},"Discover",[2106,2111,2116,2121,2126,2131],{"text":2107,"config":2108},"Docs",{"href":2109,"dataGaName":2110,"dataGaLocation":1897},"https://docs.gitlab.com/","docs",{"text":2112,"config":2113},"University",{"href":2114,"dataGaName":2115,"dataGaLocation":1897},"https://university.gitlab.com/","university",{"text":2117,"config":2118},"Demo Series",{"href":2119,"dataGaName":2120,"dataGaLocation":1897},"/gitlab-technical-demo-series/","demo series",{"text":2122,"config":2123},"Demo Hub",{"href":2124,"dataGaName":2125,"dataGaLocation":1897},"/demo-hub/","demo hub",{"text":2127,"config":2128},"Services",{"href":2129,"dataGaName":2130,"dataGaLocation":1897},"/services/","services",{"text":2132,"config":2133},"Well Architected",{"href":2134,"dataGaName":2135,"dataGaLocation":1897},"/resources/well-architected/","well architected",{"title":2137,"items":2138},"Connect",[2139,2144,2149,2154,2159],{"text":2140,"config":2141},"Blog",{"href":2142,"dataGaName":2143,"dataGaLocation":1897},"/blog/","blog",{"text":2145,"config":2146},"Community",{"href":2147,"dataGaName":2148,"dataGaLocation":1897},"/community/","community",{"text":2150,"config":2151},"Customers",{"href":2152,"dataGaName":2153,"dataGaLocation":1897},"/customers/","customers",{"text":2155,"config":2156},"Partners",{"href":2157,"dataGaName":2158,"dataGaLocation":1897},"/partners/","partners",{"text":2160,"config":2161},"Events",{"href":2162,"dataGaName":2163,"dataGaLocation":1897},"/events/","events",{"config":2165,"title":2166,"text":2167,"link":2168},{"background":1991,"textColor":1992},"What’s new in GitLab","Stay updated with our latest features and improvements.",{"text":2169,"config":2170},"Read the latest",{"href":2171,"dataGaName":2172,"dataGaLocation":1897},"/whats-new/","whats new",{"text":2174,"config":2175,"menu":2177},"Company",{"dataNavLevelOne":2176},"company",{"type":1919,"columns":2178},[2179],{"items":2180},[2181,2186,2192,2197,2202,2207,2212,2217,2222],{"text":2182,"config":2183},"About",{"href":2184,"dataGaName":2185,"dataGaLocation":1897},"/company/","about",{"text":2187,"config":2188,"footerGa":2191},"Jobs",{"href":2189,"dataGaName":2190,"dataGaLocation":1897},"/jobs/","jobs",{"dataGaName":2190},{"text":2193,"config":2194},"Press",{"href":2195,"dataGaName":2196,"dataGaLocation":1897},"/press/","press",{"text":2198,"config":2199},"Handbook",{"href":2200,"dataGaName":2201,"dataGaLocation":1897},"https://handbook.gitlab.com/","handbook",{"text":2203,"config":2204},"Leadership",{"href":2205,"dataGaName":2206,"dataGaLocation":1897},"/company/team/e-group/","leadership",{"text":2208,"config":2209},"Investor relations",{"href":2210,"dataGaName":2211,"dataGaLocation":1897},"https://ir.gitlab.com/overview/default.aspx","investor relations",{"text":2213,"config":2214},"Trust Center",{"href":2215,"dataGaName":2216,"dataGaLocation":1897},"/security/","trust center",{"text":2218,"config":2219},"AI Transparency Center",{"href":2220,"dataGaName":2221,"dataGaLocation":1897},"/ai-transparency-center/","ai transparency center",{"text":2223,"config":2224},"Newsletter",{"href":2225,"dataGaName":2226,"dataGaLocation":1897},"/company/contact/#contact-forms","newsletter",{"text":2228,"config":2229,"menu":2230},"Contact us",{"dataNavLevelOne":2176},{"type":1919,"columns":2231},[2232],{"items":2233},[2234,2239,2244],{"text":2235,"config":2236},"Talk to sales",{"href":2237,"dataGaName":2238,"dataGaLocation":1897},"/sales/","talk to sales",{"text":2240,"config":2241},"Support portal",{"href":2242,"dataGaName":2243,"dataGaLocation":1897},"https://support.gitlab.com/hc/en-us","support portal",{"text":2245,"config":2246},"Customer portal",{"href":2247,"dataGaName":2248,"dataGaLocation":1897},"https://customers.gitlab.com/customers/sign_in/","customer portal",{"close":2250,"login":2251,"suggestions":2258},"Close",{"text":2252,"link":2253},"To search repositories and projects, login to",{"text":2254,"config":2255},"gitlab.com",{"href":1911,"dataGaName":2256,"dataGaLocation":2257},"search login","search",{"text":2259,"default":2260},"Suggestions",[2261,2264,2267,2269,2273,2277],{"text":2262,"config":2263},"GitLab Duo Agent Platform",{"href":1977,"dataGaName":2262,"dataGaLocation":2257},{"text":2265,"config":2266},"Code Suggestions (AI)",{"href":1977,"dataGaName":2265,"dataGaLocation":2257},{"text":1929,"config":2268},{"href":1931,"dataGaName":1929,"dataGaLocation":2257},{"text":2270,"config":2271},"GitLab on AWS",{"href":2272,"dataGaName":2270,"dataGaLocation":2257},"/partners/technology-partners/aws/",{"text":2274,"config":2275},"GitLab on Google Cloud",{"href":2276,"dataGaName":2274,"dataGaLocation":2257},"/partners/technology-partners/google-cloud-platform/",{"text":2278,"config":2279},"Why GitLab?",{"href":2280,"dataGaName":2278,"dataGaLocation":2257},"/why-gitlab/",{"freeTrial":2282,"mobileIcon":2287,"desktopIcon":2292,"secondaryButton":2295},{"text":2283,"config":2284},"Start free trial",{"href":2285,"dataGaName":1902,"dataGaLocation":2286},"https://gitlab.com/-/trials/new/","nav",{"altText":2288,"config":2289},"Gitlab Icon",{"src":2290,"dataGaName":2291,"dataGaLocation":2286},"https://res.cloudinary.com/about-gitlab-com/image/upload/v1758203874/jypbw1jx72aexsoohd7x.svg","gitlab icon",{"altText":2288,"config":2293},{"src":2294,"dataGaName":2291,"dataGaLocation":2286},"https://res.cloudinary.com/about-gitlab-com/image/upload/v1758203875/gs4c8p8opsgvflgkswz9.svg",{"text":2296,"config":2297},"Get Started",{"href":2298,"dataGaName":2299,"dataGaLocation":2286},"https://gitlab.com/-/trial_registrations/new?glm_source=about.gitlab.com/get-started/","get started",{"freeTrial":2301,"mobileIcon":2305,"desktopIcon":2307},{"text":2302,"config":2303},"Learn more about GitLab Duo",{"href":1977,"dataGaName":2304,"dataGaLocation":2286},"gitlab duo",{"altText":2288,"config":2306},{"src":2290,"dataGaName":2291,"dataGaLocation":2286},{"altText":2288,"config":2308},{"src":2294,"dataGaName":2291,"dataGaLocation":2286},{"button":2310,"mobileIcon":2315,"desktopIcon":2317},{"text":2311,"config":2312},"/switch",{"href":2313,"dataGaName":2314,"dataGaLocation":2286},"#contact","switch",{"altText":2288,"config":2316},{"src":2290,"dataGaName":2291,"dataGaLocation":2286},{"altText":2288,"config":2318},{"src":2319,"dataGaName":2291,"dataGaLocation":2286},"https://res.cloudinary.com/about-gitlab-com/image/upload/v1773335277/ohhpiuoxoldryzrnhfrh.png",{"freeTrial":2321,"mobileIcon":2326,"desktopIcon":2328},{"text":2322,"config":2323},"Back to pricing",{"href":2091,"dataGaName":2324,"dataGaLocation":2286,"icon":2325},"back to pricing","GoBack",{"altText":2288,"config":2327},{"src":2290,"dataGaName":2291,"dataGaLocation":2286},{"altText":2288,"config":2329},{"src":2294,"dataGaName":2291,"dataGaLocation":2286},{"title":2331,"button":2332,"config":2336},"GitLab Orbit is generally available. Increase agent accuracy and lower token cost",{"text":1996,"config":2333},{"href":1998,"dataGaName":2334,"dataGaLocation":2335},"orbit-ga-banner","global-banner",{"layout":2337,"disabled":1878},"release",{"data":2339},{"text":2340,"config":2341,"items":2346,"minimal":2574},"Git is a trademark of Software Freedom Conservancy and our use of 'GitLab' is under license",{"twitter":2342,"facebook":2343,"youtube":2344,"linkedin":2345},"https://twitter.com/gitlab","https://www.facebook.com/gitlab","https://www.youtube.com/channel/UCnMGQ8QHMAnVIsI3xJrihhg","https://www.linkedin.com/company/gitlab-com",[2347,2395,2454,2501,2542],{"title":2089,"links":2348,"subMenu":2364},[2349,2354,2359],{"text":2350,"config":2351},"View plans",{"href":2091,"dataGaName":2352,"dataGaLocation":2353},"view plans","footer",{"text":2355,"config":2356},"Why Premium?",{"href":2357,"dataGaName":2358,"dataGaLocation":2353},"/pricing/premium/","why premium",{"text":2360,"config":2361},"Why Ultimate?",{"href":2362,"dataGaName":2363,"dataGaLocation":2353},"/pricing/ultimate/","why ultimate",[2365],{"title":2366,"links":2367},"Contact Us",[2368,2371,2373,2375,2380,2385,2390],{"text":2369,"config":2370},"Contact sales",{"href":2237,"dataGaName":1907,"dataGaLocation":2353},{"text":2240,"config":2372},{"href":2242,"dataGaName":2243,"dataGaLocation":2353},{"text":2245,"config":2374},{"href":2247,"dataGaName":2248,"dataGaLocation":2353},{"text":2376,"config":2377},"Status",{"href":2378,"dataGaName":2379,"dataGaLocation":2353},"https://status.gitlab.com/","status",{"text":2381,"config":2382},"Terms of use",{"href":2383,"dataGaName":2384,"dataGaLocation":2353},"/terms/","terms of use",{"text":2386,"config":2387},"Privacy statement",{"href":2388,"dataGaName":2389,"dataGaLocation":2353},"/privacy/","privacy statement",{"text":2391,"config":2392},"Cookie preferences",{"dataGaName":2393,"dataGaLocation":2353,"id":2394,"isOneTrustButton":350},"cookie preferences","ot-sdk-btn",{"title":1915,"links":2396,"subMenu":2412},[2397,2400,2402,2404,2406,2408],{"text":2398,"config":2399},"Explore the platform",{"href":1923,"dataGaName":1917,"dataGaLocation":2353},{"text":1975,"config":2401},{"href":1977,"dataGaName":1978,"dataGaLocation":2353},{"text":1929,"config":2403},{"href":1931,"dataGaName":1932,"dataGaLocation":2353},{"text":1980,"config":2405},{"href":1982,"dataGaName":1983,"dataGaLocation":2353},{"text":1962,"config":2407},{"href":1964,"dataGaName":1965,"dataGaLocation":2353},{"text":2409,"config":2410},"Why GitLab",{"href":2280,"dataGaName":2411,"dataGaLocation":2353},"why gitlab",[2413],{"title":2414,"links":2415},"Topics",[2416,2420,2425,2429,2434,2439,2444,2449],{"text":1929,"config":2417},{"href":2418,"dataGaName":2419,"dataGaLocation":2353},"/topics/ci-cd/","cicd",{"text":2421,"config":2422},"GitOps",{"href":2423,"dataGaName":2424,"dataGaLocation":2353},"/topics/gitops/","gitops",{"text":1926,"config":2426},{"href":2427,"dataGaName":2428,"dataGaLocation":2353},"/topics/devops/","devops",{"text":2430,"config":2431},"Version Control",{"href":2432,"dataGaName":2433,"dataGaLocation":2353},"/topics/version-control/","version control",{"text":2435,"config":2436},"DevSecOps",{"href":2437,"dataGaName":2438,"dataGaLocation":2353},"/topics/devsecops/","devsecops",{"text":2440,"config":2441},"Cloud Native",{"href":2442,"dataGaName":2443,"dataGaLocation":2353},"/topics/cloud-native/","cloud native",{"text":2445,"config":2446},"AI for Coding",{"href":2447,"dataGaName":2448,"dataGaLocation":2353},"/topics/devops/ai-for-coding/","ai for coding",{"text":2450,"config":2451},"Agentic AI",{"href":2452,"dataGaName":2453,"dataGaLocation":2353},"/topics/agentic-ai/","agentic ai",{"title":2001,"links":2455},[2456,2459,2462,2465,2468,2471,2473,2475,2477,2479,2481,2484,2486,2489,2493,2497],{"text":2457,"config":2458},"DevOps modernization",{"href":2016,"dataGaName":2017,"dataGaLocation":2353},{"text":2460,"config":2461},"Security modernization",{"href":2021,"dataGaName":2022,"dataGaLocation":2353},{"text":2463,"config":2464},"AI modernization",{"href":2026,"dataGaName":2027,"dataGaLocation":2353},{"text":2466,"config":2467},"Financial services",{"href":2052,"dataGaName":2053,"dataGaLocation":2353},{"text":2469,"config":2470},"Public sector",{"href":2057,"dataGaName":2058,"dataGaLocation":2353},{"text":2060,"config":2472},{"href":2062,"dataGaName":2063,"dataGaLocation":2353},{"text":2065,"config":2474},{"href":2067,"dataGaName":2068,"dataGaLocation":2353},{"text":2070,"config":2476},{"href":2072,"dataGaName":2073,"dataGaLocation":2353},{"text":2075,"config":2478},{"href":2077,"dataGaName":2078,"dataGaLocation":2353},{"text":2032,"config":2480},{"href":2034,"dataGaName":2035,"dataGaLocation":2353},{"text":2482,"config":2483},"Small business",{"href":2039,"dataGaName":2040,"dataGaLocation":2353},{"text":2042,"config":2485},{"href":2044,"dataGaName":2045,"dataGaLocation":2353},{"text":2421,"config":2487},{"href":2488,"dataGaName":2424,"dataGaLocation":2353},"/solutions/gitops/",{"text":2490,"config":2491},"Software composition analysis",{"href":1969,"dataGaName":2492,"dataGaLocation":2353},"software composition analysis",{"text":2494,"config":2495},"Value stream management",{"href":1987,"dataGaName":2496,"dataGaLocation":2353},"value stream management",{"text":2498,"config":2499},"All solutions",{"href":2008,"dataGaName":2500,"dataGaLocation":2353},"all solutions",{"title":2094,"links":2502},[2503,2508,2513,2515,2517,2519,2521,2523,2525,2527,2529,2531,2533,2535,2538],{"text":2504,"config":2505},"Install",{"href":2506,"dataGaName":2507,"dataGaLocation":2353},"/install/","install",{"text":2509,"config":2510},"Quick start guides",{"href":2511,"dataGaName":2512,"dataGaLocation":2353},"/get-started/","quick setup checklists",{"text":2107,"config":2514},{"href":2109,"dataGaName":2110,"dataGaLocation":2353},{"text":2112,"config":2516},{"href":2114,"dataGaName":2115,"dataGaLocation":2353},{"text":2117,"config":2518},{"href":2119,"dataGaName":2120,"dataGaLocation":2353},{"text":2122,"config":2520},{"href":2124,"dataGaName":2125,"dataGaLocation":2353},{"text":2127,"config":2522},{"href":2129,"dataGaName":2130,"dataGaLocation":2353},{"text":2140,"config":2524},{"href":2142,"dataGaName":2143,"dataGaLocation":2353},{"text":2145,"config":2526},{"href":2147,"dataGaName":2148,"dataGaLocation":2353},{"text":2150,"config":2528},{"href":2152,"dataGaName":2153,"dataGaLocation":2353},{"text":2155,"config":2530},{"href":2157,"dataGaName":2158,"dataGaLocation":2353},{"text":2160,"config":2532},{"href":2162,"dataGaName":2163,"dataGaLocation":2353},{"text":2223,"config":2534},{"href":2225,"dataGaName":2226,"dataGaLocation":2353},{"text":2536,"config":2537},"What's new",{"href":2171,"dataGaName":2172,"dataGaLocation":2353},{"text":2539,"config":2540},"All resources",{"href":2101,"dataGaName":2541,"dataGaLocation":2353},"all resources",{"title":2174,"links":2543},[2544,2546,2548,2550,2552,2554,2556,2558,2560,2564,2569],{"text":2182,"config":2545},{"href":2184,"dataGaName":2176,"dataGaLocation":2353},{"text":2187,"config":2547},{"href":2189,"dataGaName":2190,"dataGaLocation":2353},{"text":2193,"config":2549},{"href":2195,"dataGaName":2196,"dataGaLocation":2353},{"text":2198,"config":2551},{"href":2200,"dataGaName":2201,"dataGaLocation":2353},{"text":2203,"config":2553},{"href":2205,"dataGaName":2206,"dataGaLocation":2353},{"text":2208,"config":2555},{"href":2210,"dataGaName":2211,"dataGaLocation":2353},{"text":2213,"config":2557},{"href":2215,"dataGaName":2216,"dataGaLocation":2353},{"text":2218,"config":2559},{"href":2220,"dataGaName":2221,"dataGaLocation":2353},{"text":2561,"config":2562},"Sustainability",{"href":2563,"dataGaName":2561,"dataGaLocation":2353},"/sustainability/",{"text":2565,"config":2566},"Diversity, inclusion and belonging (DIB)",{"href":2567,"dataGaName":2568,"dataGaLocation":2353},"/diversity-inclusion-belonging/","Diversity, inclusion and belonging",{"text":2570,"config":2571},"Modern Slavery Transparency Statement",{"href":2572,"dataGaName":2573,"dataGaLocation":2353},"https://handbook.gitlab.com/handbook/legal/modern-slavery-act-transparency-statement/","modern slavery transparency statement",{"items":2575},[2576,2579,2582],{"text":2577,"config":2578},"Terms",{"href":2383,"dataGaName":2384,"dataGaLocation":2353},{"text":2580,"config":2581},"Cookies",{"dataGaName":2393,"dataGaLocation":2353,"id":2394,"isOneTrustButton":350},{"text":2583,"config":2584},"Privacy",{"href":2388,"dataGaName":2389,"dataGaLocation":2353},[2586],{"id":2587,"title":7,"body":1877,"config":2588,"content":2590,"description":1877,"extension":2594,"meta":2595,"navigation":350,"path":2596,"seo":2597,"stem":2598,"__hash__":2599},"blogAuthors/en-us/blog/authors/joern-schneeweisz.yml",{"template":2589},"BlogAuthor",{"name":7,"config":2591},{"headshot":2592,"ctfId":2593},"https://res.cloudinary.com/about-gitlab-com/image/upload/v1749679144/Blog/Author%20Headshots/joernchen-headshot.png","joernchen","yml",{},"/en-us/blog/authors/joern-schneeweisz",{},"en-us/blog/authors/joern-schneeweisz","7lq_RPJjB0t-8_Ky8UIjryswPotuX6Aqerg4scz_2gI",[2601,2609,2617],{"title":2602,"description":2603,"heroImage":2604,"category":1873,"date":2605,"authors":2606,"slug":2608,"externalUrl":1877},"GitLab Orbit: Find vulnerability blast radius without the manual hunt","Exploitation happens at machine speed now. Map every project, owner, and pipeline a critical CVE touches so remediation can keep up.","https://res.cloudinary.com/about-gitlab-com/image/upload/v1780996524/sd1vpl8empy26wizarqj.png","2026-10-29",[2607],"Rebecca Carter","find-vulnerability-blast-radius-with-gitlab-orbit",{"title":2610,"description":2611,"heroImage":2612,"category":1873,"date":2613,"authors":2614,"slug":2616,"externalUrl":1877},"What happens when vulnerabilities are discovered faster than you can fix them?","Frontier AI is changing how quickly vulnerabilities can be discovered and exploited. The next challenge is bringing that same speed to remediation and prevention, inside the software factory.","https://res.cloudinary.com/about-gitlab-com/image/upload/v1772195014/ooezwusxjl1f7ijfmbvj.png","2026-10-28",[2615],"Bill Staples","security-at-machine-speed",{"title":2618,"description":2619,"heroImage":2620,"category":1873,"date":2621,"authors":2622,"slug":2624,"externalUrl":1877},"Uncover the business logic vulnerabilities SAST scanners miss","Now in early access, Business Logic Security Analyzer reads your repository, infers what each endpoint should enforce, and flags the gaps.","https://res.cloudinary.com/about-gitlab-com/image/upload/v1756122536/akivvcnafog9c4dhhzkp.png","2026-10-20",[2623],"Chris Widstrom","gitlab-business-logic-security-analyzer",{"header":2626,"text":2627,"button":2631,"disclaimer":2634},"Start your free\n\n30-day GitLab trial\n",[2628,2629,2630],"GitLab Duo Agent Platform access","Try our most advanced features","Automate complex tasks with AI",{"text":1899,"config":2632},{"href":2633,"dataGaName":1902,"dataGaLocation":2143},"https://gitlab.com/-/trials/new?glm_content=default-saas-trial&glm_source=about.gitlab.com/blog/","No credit card required.",{"header":2636,"blurb":2637,"button":2638,"secondaryButton":2643},"Start building faster today","See what your team can do with the intelligent orchestration platform for DevSecOps.\n",{"text":2639,"config":2640},"Get your free trial",{"href":2641,"dataGaName":1902,"dataGaLocation":2642},"https://gitlab.com/-/trial_registrations/new?glm_content=default-saas-trial&glm_source=about.gitlab.com/","feature",{"text":2369,"config":2644},{"href":2237,"dataGaName":1907,"dataGaLocation":2642},1794911794314]