{"id":3689,"date":"2024-05-22T08:00:00","date_gmt":"2024-05-22T13:00:00","guid":{"rendered":"https:\/\/www.darkreading.com\/application-security\/netflix-fixes-critical-vulnerability-on-big-data-orchestration-service"},"modified":"2024-05-22T08:00:00","modified_gmt":"2024-05-22T13:00:00","slug":"critical-netflix-genie-bug-opens-big-data-orchestration-to-rce","status":"publish","type":"post","link":"https:\/\/ddi.mohflo.net\/index.php\/2024\/05\/22\/critical-netflix-genie-bug-opens-big-data-orchestration-to-rce\/","title":{"rendered":"Critical Netflix Genie Bug Opens Big Data Orchestration to RCE"},"content":{"rendered":"<div class=\"media_block\"><a href=\"https:\/\/i0.wp.com\/eu-images.contentstack.com\/v3\/assets\/blt6d90778a997de1cd\/blt41e578c468911fb6\/664ce623403476ea6b9be376\/api_batjaket_shutterstock.jpg?ssl=1\"><img data-recalc-dims=\"1\" decoding=\"async\" src=\"https:\/\/i0.wp.com\/ddi.mohflo.net\/wp-content\/uploads\/2024\/05\/critical-netflix-genie-bug-opens-big-data-orchestration-to-rce.jpg?w=640&#038;ssl=1\" class=\"media_thumbnail\"><\/a><\/div>\n<div><img data-recalc-dims=\"1\" decoding=\"async\" src=\"https:\/\/i0.wp.com\/ddi.mohflo.net\/wp-content\/uploads\/2024\/05\/critical-netflix-genie-bug-opens-big-data-orchestration-to-rce.jpg?w=640&#038;ssl=1\" class=\"ff-og-image-inserted\"><\/div>\n<p class=\"ContentParagraph ContentParagraph_align_left\" data-testid=\"content-paragraph\"><span class=\"ContentText ContentText_variant_bodyNormal\" data-testid=\"content-text\">A critical vulnerability in the open source version of Netflix&#8217; Genie job orchestration engine for big data applications gives remote attackers a way to potentially execute arbitrary code on systems running affected versions of the software.<\/span><\/p>\n<p class=\"ContentParagraph ContentParagraph_align_left\" data-testid=\"content-paragraph\"><span class=\"ContentText ContentText_variant_bodyNormal\" data-testid=\"content-text\">The bug, designated as <\/span><span class=\"ContentText ContentText_variant_bodyNormal\" data-testid=\"content-text\"><a class=\"ContentText-BodyTextChunk ContentText-BodyTextChunk_link\" target=\"_blank\" href=\"https:\/\/github.com\/Netflix\/genie\/security\/advisories\/GHSA-wpcv-5jgp-69f3\" rel=\"noopener\">CVE-2024-4701<\/a><\/span><span class=\"ContentText ContentText_variant_bodyNormal\" data-testid=\"content-text\">, carries a near-max critical score of 9.9 out of 10 on the CVSS vulnerability-severity scale. It attacks organizations running their own instance of Genie OSS, using the underlying local file system to upload and store user-submitted file attachments.<\/span><\/p>\n<p class=\"ContentParagraph ContentParagraph_align_left\" data-testid=\"content-paragraph\"><span class=\"ContentText ContentText_variant_bodyNormal\" data-testid=\"content-text\">Organizations can use Genie to orchestrate, run, and monitor a variety of big data jobs and workflows across these different frameworks and across distributed computational clusters. The APIs also facilitate managing the metadata and configuration of those distributed clusters and the applications running on them.<\/span><\/p>\n<p class=\"ContentParagraph ContentParagraph_align_left\" data-testid=\"content-paragraph\"><span class=\"ContentText ContentText_variant_bodyNormal\" data-testid=\"content-text\">It also provides organizations with application programming interfaces (APIs) for users to access the computational resources required for big data environments such as Hadoop, Spark, Pig, Hive, Sqoop, and Presto.<\/span><\/p>\n<p class=\"ContentParagraph ContentParagraph_align_left\" data-testid=\"content-paragraph\"><span class=\"ContentText ContentText_variant_bodyNormal\" data-testid=\"content-text\">In short, it offers access to plenty of internal data and resources.<\/span><\/p>\n<p class=\"ContentParagraph ContentParagraph_align_left\" data-testid=\"content-paragraph\"><span class=\"ContentText ContentText_variant_bodyNormal\" data-testid=\"content-text\">Researchers from Contrast Security recently discovered and reported the bug to Netflix, and in a report filed this week, the security vendor described the vulnerability as enabling remote code execution (RCE) during the file upload process.<\/span><\/p>\n<p class=\"ContentParagraph ContentParagraph_align_left\" data-testid=\"content-paragraph\"><span class=\"ContentText ContentText_variant_bodyNormal\" data-testid=\"content-text\">&#8220;If successful, such an attack could fool a Web application into reading and consequently exposing the contents of files outside of the document root directory of the application or the Web server,&#8221; Contrast researchers wrote. &#8220;[This includes] credentials for back-end systems, application code and data, and sensitive operating system files.&#8221;<\/span><\/p>\n<p class=\"ContentParagraph ContentParagraph_align_left\" data-testid=\"content-paragraph\"><span class=\"ContentText ContentText_variant_bodyNormal\" data-testid=\"content-text\">Netflix has been using Genie internally for more than a decade to run thousands of daily Hadoop jobs in its petabytes-scale environment. The company <\/span><span class=\"ContentText ContentText_variant_bodyNormal\" data-testid=\"content-text\"><a class=\"ContentText-BodyTextChunk ContentText-BodyTextChunk_link\" target=\"_blank\" href=\"https:\/\/netflixtechblog.com\/genie-is-out-of-the-bottle-66b01784752a\" rel=\"noopener\">released the technology<\/a><\/span><span class=\"ContentText ContentText_variant_bodyNormal\" data-testid=\"content-text\"> to the open source community in 2013.<\/span><\/p>\n<h2 class=\"ContentText ContentText_variant_h2 ContentText_align_left\" data-testid=\"content-text\" id=\"Near Maximum Severity for CVE-2024-4701\">Near Maximum Severity for CVE-2024-4701<\/h2>\n<p class=\"ContentParagraph ContentParagraph_align_left\" data-testid=\"content-paragraph\"><span class=\"ContentText ContentText_variant_bodyNormal\" data-testid=\"content-text\">The vulnerability is present in Genie OSS versions prior to 4.3.18. Netflix has fixed the issue in Genie OSS version 4.3.18 and wants organizations to upgrade to the new version to mitigate risk. The company assessed the vulnerability as relatively easy to exploit and requiring no special user privileges or interaction.<\/span><\/p>\n<p class=\"ContentParagraph ContentParagraph_align_left\" data-testid=\"content-paragraph\"><span class=\"ContentText ContentText_variant_bodyNormal\" data-testid=\"content-text\">&#8220;Genie users who do not store attachments locally on the underlying file system are not vulnerable to this issue,&#8221; <\/span><span class=\"ContentText ContentText_variant_bodyNormal\" data-testid=\"content-text\"><a class=\"ContentText-BodyTextChunk ContentText-BodyTextChunk_link\" target=\"_blank\" href=\"https:\/\/github.com\/Netflix\/genie\/security\/advisories\/GHSA-wpcv-5jgp-69f3\" rel=\"noopener\">Netflix said in a post on GitHub<\/a><\/span><span class=\"ContentText ContentText_variant_bodyNormal\" data-testid=\"content-text\">.<\/span><\/p>\n<p class=\"ContentParagraph ContentParagraph_align_left\" data-testid=\"content-paragraph\"><span class=\"ContentText ContentText_variant_bodyNormal\" data-testid=\"content-text\">Contrast Security explained the vulnerability as involving a Genie API that \u2014 among other things \u2014 allows users to submit SQL queries via Spark SQL. &#8220;As part of this process, you can upload a SQL file containing the SQL to be run,&#8221; according to Contrast researchers. What they discovered was that the filename parameter is susceptible to a path traversal attack. So, an attacker basically could construct a filename in such a manner as to allow them to upload the file to a location that is out of the expected upload location.<\/span><\/p>\n<p class=\"ContentParagraph ContentParagraph_align_left\" data-testid=\"content-paragraph\"><span class=\"ContentText ContentText_variant_bodyNormal\" data-testid=\"content-text\">&#8220;[A successful attack would] allow an attacker to take control of the underlying server, and potentially gain access\/exfiltrate the big data sets that Genie is operating on,&#8221; says Joseph Beeton, staff application security researcher at Contrast. He advises that organizations that cannot immediately update to the fixed version of the software limit network access to the Genie application and ensure it is not accessible from the Internet.<\/span><\/p>\n<p class=\"ContentParagraph ContentParagraph_align_left\" data-testid=\"content-paragraph\"><span class=\"ContentText ContentText_variant_bodyNormal\" data-testid=\"content-text\">Netflix identified the problem as having to do with the API accepting a user-supplied filename and using that filename when writing the file to disk. &#8220;Since this filename is user-controlled, it is possible for a malicious actor to manipulate the filename in order to break out of the default attachment storage path and perform path traversal,&#8221; according to a Netflix GitHub post. An attacker could exploit this to upload a file with any user-specified name and file contents to any location on the system, thereby enabling remote code execution, Netflix said.<\/span><\/p>\n<p class=\"ContentParagraph ContentParagraph_align_left\" data-testid=\"content-paragraph\"><span class=\"ContentText ContentText_variant_bodyNormal\" data-testid=\"content-text\">Path traversal \u2014 or directory traversal \u2014 <\/span><span class=\"ContentText ContentText_variant_bodyNormal\" data-testid=\"content-text\"><a class=\"ContentText-BodyTextChunk ContentText-BodyTextChunk_link\" target=\"_blank\" href=\"https:\/\/www.darkreading.com\/vulnerabilities-threats\/path-traversal-bug-kyocera-office-printers\" rel=\"noopener\">vulnerabilities are a fairly common<\/a><\/span><span class=\"ContentText ContentText_variant_bodyNormal\" data-testid=\"content-text\"> and <\/span><span class=\"ContentText ContentText_variant_bodyNormal\" data-testid=\"content-text\"><a class=\"ContentText-BodyTextChunk ContentText-BodyTextChunk_link\" target=\"_blank\" href=\"https:\/\/www.darkreading.com\/vulnerabilities-threats\/fortra-releases-update-on-critical-severity-rce-flaw\" rel=\"noopener\">dangerous issue<\/a><\/span><span class=\"ContentText ContentText_variant_bodyNormal\" data-testid=\"content-text\">. The FBI&#8217;s Internet Crime Compliant Center (IC3) recently issued an <\/span><span class=\"ContentText ContentText_variant_bodyNormal\" data-testid=\"content-text\"><a class=\"ContentText-BodyTextChunk ContentText-BodyTextChunk_link\" target=\"_blank\" href=\"https:\/\/www.ic3.gov\/Media\/News\/2024\/240502-2.pdf\" rel=\"noopener\">advisory on the vulnerability class,<\/a><\/span><span class=\"ContentText ContentText_variant_bodyNormal\" data-testid=\"content-text\"> citing prolific threat actor activity.<\/span><\/p>\n<p class=\"ContentParagraph ContentParagraph_align_left\" data-testid=\"content-paragraph\"><span class=\"ContentText ContentText_variant_bodyNormal\" data-testid=\"content-text\">The examples included a recent vulnerability in ConnectWise ScreenConnect (<\/span><span class=\"ContentText ContentText_variant_bodyNormal\" data-testid=\"content-text\"><a class=\"ContentText-BodyTextChunk ContentText-BodyTextChunk_link\" target=\"_blank\" href=\"https:\/\/www.darkreading.com\/remote-workforce\/connectwise-screenconnect-mass-exploitation-delivers-ransomware\" rel=\"noopener\">CVE-2024-1708<\/a><\/span><span class=\"ContentText ContentText_variant_bodyNormal\" data-testid=\"content-text\">) that numerous initial access brokers and threat groups exploited to deliver ransomware, and <\/span><span class=\"ContentText ContentText_variant_bodyNormal\" data-testid=\"content-text\"><a class=\"ContentText-BodyTextChunk ContentText-BodyTextChunk_link\" target=\"_blank\" href=\"https:\/\/nvd.nist.gov\/vuln\/detail\/CVE-2024-20345\" rel=\"noopener\">CVE-2024-20345<\/a><\/span><span class=\"ContentText ContentText_variant_bodyNormal\" data-testid=\"content-text\">, a path traversal flaw in Cisco AppDynamics Controller that attackers exploited against healthcare and other critical infrastructure organizations. The US Cybersecurity and Infrastructure Security Agency (CISA) and the FBI are urging organizations to ask vendors if they have vetted their products for potential directory traversal issues and to take immediate measure to mitigate the issue if such defects are present in their environment.<\/span><\/p>\n<p class=\"ContentParagraph ContentParagraph_align_left\" data-testid=\"content-paragraph\"><span class=\"ContentText ContentText_variant_bodyNormal\" data-testid=\"content-text\">&#8220;Directory traversal exploits succeed because technology manufacturers fail to treat user supplied content as potentially malicious, hence failing to adequately protect their customers,&#8221; the IC3 advisory noted.<\/span><\/p>\n<p><a href=\"https:\/\/www.darkreading.com\/application-security\/netflix-fixes-critical-vulnerability-on-big-data-orchestration-service\">Source<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>A critical vulnerability in the open source version of Netflix&#8217;<\/p>\n","protected":false},"author":12,"featured_media":3690,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[1],"tags":[809],"class_list":["post-3689","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-uncategorized","tag-dark-reading"],"featured_image_urls":{"full":["https:\/\/i0.wp.com\/ddi.mohflo.net\/wp-content\/uploads\/2024\/05\/critical-netflix-genie-bug-opens-big-data-orchestration-to-rce.jpg?fit=1000%2C665&ssl=1",1000,665,false],"thumbnail":["https:\/\/i0.wp.com\/ddi.mohflo.net\/wp-content\/uploads\/2024\/05\/critical-netflix-genie-bug-opens-big-data-orchestration-to-rce.jpg?resize=150%2C150&ssl=1",150,150,true],"medium":["https:\/\/i0.wp.com\/ddi.mohflo.net\/wp-content\/uploads\/2024\/05\/critical-netflix-genie-bug-opens-big-data-orchestration-to-rce.jpg?fit=300%2C200&ssl=1",300,200,true],"medium_large":["https:\/\/i0.wp.com\/ddi.mohflo.net\/wp-content\/uploads\/2024\/05\/critical-netflix-genie-bug-opens-big-data-orchestration-to-rce.jpg?fit=640%2C426&ssl=1",640,426,true],"large":["https:\/\/i0.wp.com\/ddi.mohflo.net\/wp-content\/uploads\/2024\/05\/critical-netflix-genie-bug-opens-big-data-orchestration-to-rce.jpg?fit=640%2C426&ssl=1",640,426,true],"1536x1536":["https:\/\/i0.wp.com\/ddi.mohflo.net\/wp-content\/uploads\/2024\/05\/critical-netflix-genie-bug-opens-big-data-orchestration-to-rce.jpg?fit=1000%2C665&ssl=1",1000,665,true],"2048x2048":["https:\/\/i0.wp.com\/ddi.mohflo.net\/wp-content\/uploads\/2024\/05\/critical-netflix-genie-bug-opens-big-data-orchestration-to-rce.jpg?fit=1000%2C665&ssl=1",1000,665,true],"chromenews-featured":["https:\/\/i0.wp.com\/ddi.mohflo.net\/wp-content\/uploads\/2024\/05\/critical-netflix-genie-bug-opens-big-data-orchestration-to-rce.jpg?fit=1000%2C665&ssl=1",1000,665,true],"chromenews-large":["https:\/\/i0.wp.com\/ddi.mohflo.net\/wp-content\/uploads\/2024\/05\/critical-netflix-genie-bug-opens-big-data-orchestration-to-rce.jpg?resize=825%2C575&ssl=1",825,575,true],"chromenews-medium":["https:\/\/i0.wp.com\/ddi.mohflo.net\/wp-content\/uploads\/2024\/05\/critical-netflix-genie-bug-opens-big-data-orchestration-to-rce.jpg?resize=590%2C410&ssl=1",590,410,true]},"author_info":{"display_name":"Dark Reading","author_link":"https:\/\/ddi.mohflo.net\/index.php\/author\/darkreading\/"},"category_info":"<a href=\"https:\/\/ddi.mohflo.net\/index.php\/category\/uncategorized\/\" rel=\"category tag\">Uncategorized<\/a>","tag_info":"Uncategorized","comment_count":"0","jetpack_featured_media_url":"https:\/\/i0.wp.com\/ddi.mohflo.net\/wp-content\/uploads\/2024\/05\/critical-netflix-genie-bug-opens-big-data-orchestration-to-rce.jpg?fit=1000%2C665&ssl=1","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/ddi.mohflo.net\/index.php\/wp-json\/wp\/v2\/posts\/3689","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ddi.mohflo.net\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ddi.mohflo.net\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ddi.mohflo.net\/index.php\/wp-json\/wp\/v2\/users\/12"}],"replies":[{"embeddable":true,"href":"https:\/\/ddi.mohflo.net\/index.php\/wp-json\/wp\/v2\/comments?post=3689"}],"version-history":[{"count":0,"href":"https:\/\/ddi.mohflo.net\/index.php\/wp-json\/wp\/v2\/posts\/3689\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/ddi.mohflo.net\/index.php\/wp-json\/wp\/v2\/media\/3690"}],"wp:attachment":[{"href":"https:\/\/ddi.mohflo.net\/index.php\/wp-json\/wp\/v2\/media?parent=3689"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ddi.mohflo.net\/index.php\/wp-json\/wp\/v2\/categories?post=3689"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ddi.mohflo.net\/index.php\/wp-json\/wp\/v2\/tags?post=3689"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}