{"id":25218,"date":"2023-07-27T04:14:00","date_gmt":"2023-07-27T04:14:00","guid":{"rendered":"https:\/\/nsfocusglobal.com\/?p=25218"},"modified":"2026-04-17T18:07:40","modified_gmt":"2026-04-17T18:07:40","slug":"nsfocus-waf-log4j2_rce-protection","status":"publish","type":"post","link":"https:\/\/nsfocusglobal.com\/pt-br\/nsfocus-waf-log4j2_rce-protection\/","title":{"rendered":"NSFOCUS WAF Log4j2_RCE Protection"},"content":{"rendered":"<!DOCTYPE html PUBLIC \"-\/\/W3C\/\/DTD HTML 4.0 Transitional\/\/EN\" \"http:\/\/www.w3.org\/TR\/REC-html40\/loose.dtd\">\n<html><body><p>Logging events is a critical aspect of software development. While there are lots of frameworks available in Java ecosystem, Log4j has been the most popular for decades, due to the flexibility and simplicity it provides. Apache Log4j is part of the Apache Logging Services, a project of the Apache Software Foundation. Log4j 2 is a new and improved version of the classic Log4j framework. In Log4j2, an appender is simply a destination for log events. It can be as simple as a console and can be complex like any RDBMS. Layouts determine how the logs will be presented and filters filter the data according to the various criterion.<\/p>\n\n\n\n<p>Log4j has some known vulnerabilities as below:<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td class=\"has-text-align-left\" data-align=\"left\"><strong>Name<\/strong><\/td><td><strong>Description<\/strong><\/td><\/tr><tr><td class=\"has-text-align-left\" data-align=\"left\">CVE-2019-17571<\/td><td>Included in Log4j 1.2 is a SocketServer class that is vulnerable to deserialization of untrusted data which can be exploited to remotely execute arbitrary code when combined with a deserialization gadget when listening to untrusted network traffic for log data. This affects Log4j versions up to 1.2 up to 1.2.17.<\/td><\/tr><tr><td class=\"has-text-align-left\" data-align=\"left\">CVE-2021-44228<\/td><td>Apache Log4j2 2.0-beta9 through 2.15.0 (excluding security releases 2.12.2, 2.12.3, and 2.3.1) JNDI features used in configuration, log messages, and parameters do not protect against attacker-controlled LDAP and other JNDI-related endpoints. An attacker who can control log messages or log message parameters can execute arbitrary code loaded from LDAP servers when message lookup substitution is enabled. From log4j 2.15.0, this behavior has been disabled by default. From version 2.16.0 (along with 2.12.2, 2.12.3, and 2.3.1), this functionality has been completely removed. Note that this vulnerability is specific to log4j-core and does not affect log4net, log4cxx, or other Apache Logging Services projects.<\/td><\/tr><tr><td class=\"has-text-align-left\" data-align=\"left\">CVE-2021-44832<\/td><td>Apache Log4j2 versions 2.0-beta7 through 2.17.0 (excluding security fix releases 2.3.2 and 2.12.4) are vulnerable to a remote code execution (RCE) attack when a configuration uses a JDBC Appender with a JNDI LDAP data source URI when an attacker has control of the target LDAP server. This issue is fixed by limiting JNDI data source names to the java protocol in Log4j2 versions 2.17.1, 2.12.4, and 2.3.2.<\/td><\/tr><tr><td class=\"has-text-align-left\" data-align=\"left\">CVE-2021-45105<\/td><td>Apache Log4j2 versions 2.0-alpha1 through 2.16.0 (excluding 2.12.3 and 2.3.1) did not protect from uncontrolled recursion from self-referential lookups. This allows an attacker with control over Thread Context Map data to cause a denial of service when a crafted string is interpreted. This issue was fixed in Log4j 2.17.0, 2.12.3, and 2.3.1.<\/td><\/tr><tr><td class=\"has-text-align-left\" data-align=\"left\">CVE-2021-45046<\/td><td>It was found that the fix to address CVE-2021-44228 in Apache Log4j 2.15.0 was incomplete in certain non-default configurations. This could allow attackers with control over Thread Context Map (MDC) input data when the logging configuration uses a non-default Pattern Layout with either a Context Lookup (for example, $${ctx:loginId}) or a Thread Context Map pattern (%X, %mdc, or %MDC) to craft malicious input data using a JNDI Lookup pattern resulting in an information leak and remote code execution in some environments and local code execution in all environments. Log4j 2.16.0 (Java 8) and 2.12.2 (Java 7) fix this issue by removing support for message lookup patterns and disabling JNDI functionality by default.<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p>Taking CVE-2021-44228 as a demonstration.<\/p>\n\n\n\n<p>Configuration procedure:<\/p>\n\n\n\n<p>Choose <strong>Security Management &gt; Policy Management &gt; Basic Protection &gt; Web Server\/Plug-in Protection,<\/strong> click <strong>Create<\/strong> in the upper-right corner, configure basic information as required, select <strong>apache_log4j2_rce<\/strong>, and click <strong>OK<\/strong>.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><a href=\"https:\/\/nsfocusglobal.com\/wp-content\/uploads\/2023\/07\/Fig1.jpg\"><img fetchpriority=\"high\" decoding=\"async\" width=\"1024\" height=\"500\" src=\"https:\/\/nsfocusglobal.com\/wp-content\/uploads\/2023\/07\/Fig1-1024x500.jpg\" alt=\"Red circular no entry sign with a white horizontal bar.\" class=\"wp-image-25219\" srcset=\"https:\/\/nsfocusglobal.com\/wp-content\/uploads\/2023\/07\/Fig1-1024x500.jpg 1024w, https:\/\/nsfocusglobal.com\/wp-content\/uploads\/2023\/07\/Fig1-300x146.jpg 300w, https:\/\/nsfocusglobal.com\/wp-content\/uploads\/2023\/07\/Fig1-768x375.jpg 768w, https:\/\/nsfocusglobal.com\/wp-content\/uploads\/2023\/07\/Fig1-1536x750.jpg 1536w, https:\/\/nsfocusglobal.com\/wp-content\/uploads\/2023\/07\/Fig1-600x293.jpg 600w, https:\/\/nsfocusglobal.com\/wp-content\/uploads\/2023\/07\/Fig1-200x98.jpg 200w, https:\/\/nsfocusglobal.com\/wp-content\/uploads\/2023\/07\/Fig1.jpg 1920w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n<\/div>\n\n\n<p><\/p>\n\n\n\n<p>Parameters for creating a Log4j2_RCE policy:<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td>Parameter<\/td><td>Description<\/td><\/tr><tr><td>Name<\/td><td>Name of the new policy.<\/td><\/tr><tr><td>Description<\/td><td>Brief description of the new policy.<\/td><\/tr><tr><td>Alert or Not<\/td><td>Controls whether to generate alert logs.<\/td><\/tr><tr><td>Action<\/td><td>Specifies the action WAF will take on a matched request. Actions include the following:<br>  <strong>Pass<\/strong>: WAF directly forwards such a request to the server without any more security checks.<br>  <strong>Accept<\/strong>: WAF ends the check against the current policy but will still check such a request against other policies.<br>  <strong>Block<\/strong>: WAF ends the current check and tears down the current TCP connection. After selecting this action, you need to further set <strong>Source IP Block,<\/strong> <strong>Session Block<\/strong>, and <strong>UA Block<\/strong>.<br>  <strong>Redirection<\/strong>: WAF constructs a 302 redirect page to respond to the client and tears down the current TCP connection.<br>  <strong>Disguise<\/strong>: WAF responds to the client with a customized HTTP response code and response file contents, and tears down the current TCP connection.<\/td><\/tr><tr><td>Source IP Blocking<\/td><td>Controls whether to block the source IP address of a packet that matches this new policy. This parameter needs to be set only when <strong>Action<\/strong> is set to <strong>Block<\/strong>.<br>  <strong>Never<\/strong>: WAF does not block the source IP address.<br>  <strong>Permanently block<\/strong>: WAF permanently blocks the source IP address.<br>  <strong>Block as customized<\/strong>: WAF blocks the source IP address in the customized period. You can customize the period to seconds, minutes, and hours.<\/td><\/tr><tr><td>Session Block<\/td><td>Controls whether to block the session that matches this new policy. This parameter needs to be set only when <strong>Action<\/strong> is set to <strong>Block<\/strong>.<br>  <strong>Never<\/strong>: WAF does not block the session<br>  <strong>Permanently block<\/strong>: WAF permanently blocks the session.<br>  <strong>Block as customized<\/strong>: WAF blocks the session in the customized period. You can customize the period to seconds, minutes, and hours.<\/td><\/tr><tr><td>UA Block<\/td><td>Controls whether to block the user agent that matches this new policy. This parameter needs to be set only when <strong>Action<\/strong> is set to <strong>Block<\/strong>.<br>  <strong>Never:<\/strong> WAF does not block the session<br>  <strong>Permanently block<\/strong>: WAF permanently blocks the session.<br>  <strong>Block as customized<\/strong>: WAF blocks the session in the customized period. You can customize the period to seconds, minutes, and hours.<\/td><\/tr><tr><td>Redirection Path<\/td><td>Redirection URL. This parameter needs to be set only when <strong>Action<\/strong> is set to <strong>Redirection<\/strong>.<\/td><\/tr><tr><td>Response Code<\/td><td>Specifies an HTTP response code. This parameter is mandatory if you select <strong>Disguise<\/strong> for <strong>Action<\/strong>.<br>When the response code is equal to or greater than 200 but smaller than 400, protection will be triggered and an alert will be generated for a security event.<\/td><\/tr><tr><td>Response File<\/td><td>Specifies a response file (by uploading or selecting an existing one). This parameter is mandatory if you select <strong>Disguise<\/strong> for <strong>Action<\/strong>.<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p>Enable the Log4j2_RCE policy for a protected website:<\/p>\n\n\n\n<p>Choose <strong>Security Management &gt; Website Protection<\/strong>, select a website group in the left pane, click <strong>Web Security Protection<\/strong>, select the previously created policy for <strong>Web Server\/Plug-in Protection<\/strong>, and click <strong>OK <\/strong>on the bottom.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large is-resized\"><a href=\"https:\/\/nsfocusglobal.com\/wp-content\/uploads\/2023\/07\/Fig-2-5.jpg\"><img decoding=\"async\" src=\"https:\/\/nsfocusglobal.com\/wp-content\/uploads\/2023\/07\/Fig-2-5-1024x500.jpg\" alt=\"Red circular no entry sign with a white horizontal bar.\" class=\"wp-image-25240\" width=\"840\" height=\"410\" srcset=\"https:\/\/nsfocusglobal.com\/wp-content\/uploads\/2023\/07\/Fig-2-5-1024x500.jpg 1024w, https:\/\/nsfocusglobal.com\/wp-content\/uploads\/2023\/07\/Fig-2-5-300x146.jpg 300w, https:\/\/nsfocusglobal.com\/wp-content\/uploads\/2023\/07\/Fig-2-5-768x375.jpg 768w, https:\/\/nsfocusglobal.com\/wp-content\/uploads\/2023\/07\/Fig-2-5-1536x750.jpg 1536w, https:\/\/nsfocusglobal.com\/wp-content\/uploads\/2023\/07\/Fig-2-5-600x293.jpg 600w, https:\/\/nsfocusglobal.com\/wp-content\/uploads\/2023\/07\/Fig-2-5-200x98.jpg 200w, https:\/\/nsfocusglobal.com\/wp-content\/uploads\/2023\/07\/Fig-2-5.jpg 1920w\" sizes=\"(max-width: 840px) 100vw, 840px\" \/><\/a><\/figure>\n<\/div>\n\n\n<p><\/p>\n\n\n\n<p>Construct malicious commands to attack the protected website:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><a href=\"https:\/\/nsfocusglobal.com\/wp-content\/uploads\/2023\/07\/Fig-code.png\"><img decoding=\"async\" src=\"https:\/\/nsfocusglobal.com\/wp-content\/uploads\/2023\/07\/Fig-code.png\" alt=\"Red circular no entry sign with a white horizontal bar.\" class=\"wp-image-25242\" width=\"504\" height=\"40\" srcset=\"https:\/\/nsfocusglobal.com\/wp-content\/uploads\/2023\/07\/Fig-code.png 806w, https:\/\/nsfocusglobal.com\/wp-content\/uploads\/2023\/07\/Fig-code-300x24.png 300w, https:\/\/nsfocusglobal.com\/wp-content\/uploads\/2023\/07\/Fig-code-768x61.png 768w, https:\/\/nsfocusglobal.com\/wp-content\/uploads\/2023\/07\/Fig-code-600x48.png 600w, https:\/\/nsfocusglobal.com\/wp-content\/uploads\/2023\/07\/Fig-code-200x16.png 200w\" sizes=\"(max-width: 504px) 100vw, 504px\" \/><\/a><\/figure>\n\n\n\n<p>Check NSFOCUS WAF protection logs of the Log4j2_RCE attack:<\/p>\n\n\n\n<p>Choose <strong>Logs &amp; Reports &gt; Security Protection Logs &gt; Web Security Logs<\/strong>.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><a href=\"https:\/\/nsfocusglobal.com\/wp-content\/uploads\/2023\/07\/Fig-3-2.jpg\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"500\" src=\"https:\/\/nsfocusglobal.com\/wp-content\/uploads\/2023\/07\/Fig-3-2-1024x500.jpg\" alt=\"Red circular no entry sign with a white horizontal bar.\" class=\"wp-image-25244\" srcset=\"https:\/\/nsfocusglobal.com\/wp-content\/uploads\/2023\/07\/Fig-3-2-1024x500.jpg 1024w, https:\/\/nsfocusglobal.com\/wp-content\/uploads\/2023\/07\/Fig-3-2-300x146.jpg 300w, https:\/\/nsfocusglobal.com\/wp-content\/uploads\/2023\/07\/Fig-3-2-768x375.jpg 768w, https:\/\/nsfocusglobal.com\/wp-content\/uploads\/2023\/07\/Fig-3-2-1536x750.jpg 1536w, https:\/\/nsfocusglobal.com\/wp-content\/uploads\/2023\/07\/Fig-3-2-600x293.jpg 600w, https:\/\/nsfocusglobal.com\/wp-content\/uploads\/2023\/07\/Fig-3-2-200x98.jpg 200w, https:\/\/nsfocusglobal.com\/wp-content\/uploads\/2023\/07\/Fig-3-2.jpg 1920w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n<\/div>\n\n\n<p><\/p>\n\n\n\n<p>Check malicious payload by clicking <img loading=\"lazy\" decoding=\"async\" width=\"43\" height=\"35\" class=\"wp-image-25246\" style=\"width: 43px;\" src=\"https:\/\/nsfocusglobal.com\/wp-content\/uploads\/2023\/07\/check-icon-1.jpg\" alt=\"Red circular no entry sign with a white horizontal bar.\">in the <strong>Operation<\/strong> column.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><a href=\"https:\/\/nsfocusglobal.com\/wp-content\/uploads\/2023\/07\/Fig-4-2.jpg\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"500\" src=\"https:\/\/nsfocusglobal.com\/wp-content\/uploads\/2023\/07\/Fig-4-2-1024x500.jpg\" alt=\"Red circular no entry sign with a white horizontal bar.\" class=\"wp-image-25248\" srcset=\"https:\/\/nsfocusglobal.com\/wp-content\/uploads\/2023\/07\/Fig-4-2-1024x500.jpg 1024w, https:\/\/nsfocusglobal.com\/wp-content\/uploads\/2023\/07\/Fig-4-2-300x146.jpg 300w, https:\/\/nsfocusglobal.com\/wp-content\/uploads\/2023\/07\/Fig-4-2-768x375.jpg 768w, https:\/\/nsfocusglobal.com\/wp-content\/uploads\/2023\/07\/Fig-4-2-1536x750.jpg 1536w, https:\/\/nsfocusglobal.com\/wp-content\/uploads\/2023\/07\/Fig-4-2-600x293.jpg 600w, https:\/\/nsfocusglobal.com\/wp-content\/uploads\/2023\/07\/Fig-4-2-200x98.jpg 200w, https:\/\/nsfocusglobal.com\/wp-content\/uploads\/2023\/07\/Fig-4-2.jpg 1920w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n<\/div><\/body><\/html>\n","protected":false},"excerpt":{"rendered":"<p>Logging events is a critical aspect of software development. While there are lots of frameworks available in Java ecosystem, Log4j has been the most popular for decades, due to the flexibility and simplicity it provides. Apache Log4j is part of the Apache Logging Services, a project of the Apache Software Foundation. Log4j 2 is a [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":35693,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_coblocks_attr":"","_coblocks_dimensions":"","_coblocks_responsive_height":"","_coblocks_accordion_ie_support":"","footnotes":""},"categories":[21],"tags":[733,741],"class_list":["post-25218","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-waf","tag-waf","tag-web-security"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>NSFOCUS WAF Log4j2_RCE Protection - NSFOCUS<\/title>\n<meta name=\"description\" content=\"Logging events is a critical aspect of software development. While there are lots of frameworks available in Java ecosystem, Log4j has been the most popular for decades, due to the flexibility and simplicity it provides.\" \/>\n<meta name=\"robots\" content=\"noindex, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<meta property=\"og:locale\" content=\"pt_BR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"NSFOCUS WAF Log4j2_RCE Protection - NSFOCUS\" \/>\n<meta property=\"og:description\" content=\"Logging events is a critical aspect of software development. While there are lots of frameworks available in Java ecosystem, Log4j has been the most popular for decades, due to the flexibility and simplicity it provides.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/nsfocusglobal.com\/nsfocus-waf-log4j2_rce-protection\/\" \/>\n<meta property=\"og:site_name\" content=\"NSFOCUS\" \/>\n<meta property=\"article:published_time\" content=\"2023-07-27T04:14:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2026-04-17T18:07:40+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/nsfocusglobal.com\/wp-content\/uploads\/2023\/07\/Fig1-1024x500-1.jpg\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:title\" content=\"NSFOCUS WAF Log4j2_RCE Protection - NSFOCUS\" \/>\n<meta name=\"twitter:description\" content=\"Logging events is a critical aspect of software development. While there are lots of frameworks available in Java ecosystem, Log4j has been the most popular for decades, due to the flexibility and simplicity it provides.\" \/>\n<meta name=\"twitter:image\" content=\"https:\/\/nsfocusglobal.com\/wp-content\/uploads\/2023\/07\/Fig1-1024x500-1.jpg\" \/>\n<meta name=\"twitter:label1\" content=\"Escrito por\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. tempo de leitura\" \/>\n\t<meta name=\"twitter:data2\" content=\"6 minutos\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/nsfocusglobal.com\\\/nsfocus-waf-log4j2_rce-protection\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/nsfocusglobal.com\\\/nsfocus-waf-log4j2_rce-protection\\\/\"},\"author\":{\"name\":\"admin\",\"@id\":\"https:\\\/\\\/nsfocusglobal.com\\\/pt-br\\\/#\\\/schema\\\/person\\\/fd9ab61c9c77a81bbd870f725cc0c61d\"},\"headline\":\"NSFOCUS WAF Log4j2_RCE Protection\",\"datePublished\":\"2023-07-27T04:14:00+00:00\",\"dateModified\":\"2026-04-17T18:07:40+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/nsfocusglobal.com\\\/nsfocus-waf-log4j2_rce-protection\\\/\"},\"wordCount\":1063,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/nsfocusglobal.com\\\/pt-br\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/nsfocusglobal.com\\\/nsfocus-waf-log4j2_rce-protection\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/nsfocusglobal.com\\\/wp-content\\\/uploads\\\/2023\\\/07\\\/Fig1-1024x500-1.jpg\",\"keywords\":[\"waf\",\"Web Security\"],\"articleSection\":[\"WAF\"],\"inLanguage\":\"pt-BR\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/nsfocusglobal.com\\\/nsfocus-waf-log4j2_rce-protection\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/nsfocusglobal.com\\\/nsfocus-waf-log4j2_rce-protection\\\/\",\"url\":\"https:\\\/\\\/nsfocusglobal.com\\\/nsfocus-waf-log4j2_rce-protection\\\/\",\"name\":\"NSFOCUS WAF Log4j2_RCE Protection - NSFOCUS\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/nsfocusglobal.com\\\/pt-br\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/nsfocusglobal.com\\\/nsfocus-waf-log4j2_rce-protection\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/nsfocusglobal.com\\\/nsfocus-waf-log4j2_rce-protection\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/nsfocusglobal.com\\\/wp-content\\\/uploads\\\/2023\\\/07\\\/Fig1-1024x500-1.jpg\",\"datePublished\":\"2023-07-27T04:14:00+00:00\",\"dateModified\":\"2026-04-17T18:07:40+00:00\",\"description\":\"Logging events is a critical aspect of software development. While there are lots of frameworks available in Java ecosystem, Log4j has been the most popular for decades, due to the flexibility and simplicity it provides.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/nsfocusglobal.com\\\/nsfocus-waf-log4j2_rce-protection\\\/#breadcrumb\"},\"inLanguage\":\"pt-BR\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/nsfocusglobal.com\\\/nsfocus-waf-log4j2_rce-protection\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"pt-BR\",\"@id\":\"https:\\\/\\\/nsfocusglobal.com\\\/nsfocus-waf-log4j2_rce-protection\\\/#primaryimage\",\"url\":\"https:\\\/\\\/nsfocusglobal.com\\\/wp-content\\\/uploads\\\/2023\\\/07\\\/Fig1-1024x500-1.jpg\",\"contentUrl\":\"https:\\\/\\\/nsfocusglobal.com\\\/wp-content\\\/uploads\\\/2023\\\/07\\\/Fig1-1024x500-1.jpg\",\"width\":1024,\"height\":500,\"caption\":\"Web interface with security settings dialog open.\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/nsfocusglobal.com\\\/nsfocus-waf-log4j2_rce-protection\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/nsfocusglobal.com\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"NSFOCUS WAF Log4j2_RCE Protection\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/nsfocusglobal.com\\\/pt-br\\\/#website\",\"url\":\"https:\\\/\\\/nsfocusglobal.com\\\/pt-br\\\/\",\"name\":\"NSFOCUS\",\"description\":\"Security Made Smart and Simple\",\"publisher\":{\"@id\":\"https:\\\/\\\/nsfocusglobal.com\\\/pt-br\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/nsfocusglobal.com\\\/pt-br\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"pt-BR\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/nsfocusglobal.com\\\/pt-br\\\/#organization\",\"name\":\"NSFOCUS\",\"url\":\"https:\\\/\\\/nsfocusglobal.com\\\/pt-br\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"pt-BR\",\"@id\":\"https:\\\/\\\/nsfocusglobal.com\\\/pt-br\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/nsfocusglobal.com\\\/wp-content\\\/uploads\\\/2024\\\/08\\\/logo-ns.png\",\"contentUrl\":\"https:\\\/\\\/nsfocusglobal.com\\\/wp-content\\\/uploads\\\/2024\\\/08\\\/logo-ns.png\",\"width\":248,\"height\":36,\"caption\":\"NSFOCUS\"},\"image\":{\"@id\":\"https:\\\/\\\/nsfocusglobal.com\\\/pt-br\\\/#\\\/schema\\\/logo\\\/image\\\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/nsfocusglobal.com\\\/pt-br\\\/#\\\/schema\\\/person\\\/fd9ab61c9c77a81bbd870f725cc0c61d\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"pt-BR\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/d3dc987908fc59791d261b1006d84eb931d15287261476b9384e690ed0c568de?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/d3dc987908fc59791d261b1006d84eb931d15287261476b9384e690ed0c568de?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/d3dc987908fc59791d261b1006d84eb931d15287261476b9384e690ed0c568de?s=96&d=mm&r=g\",\"caption\":\"admin\"},\"sameAs\":[\"https:\\\/\\\/nsfocusglobal.com\"],\"url\":\"https:\\\/\\\/nsfocusglobal.com\\\/pt-br\\\/author\\\/admin\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"NSFOCUS WAF Log4j2_RCE Protection - NSFOCUS","description":"Logging events is a critical aspect of software development. While there are lots of frameworks available in Java ecosystem, Log4j has been the most popular for decades, due to the flexibility and simplicity it provides.","robots":{"index":"noindex","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"og_locale":"pt_BR","og_type":"article","og_title":"NSFOCUS WAF Log4j2_RCE Protection - NSFOCUS","og_description":"Logging events is a critical aspect of software development. While there are lots of frameworks available in Java ecosystem, Log4j has been the most popular for decades, due to the flexibility and simplicity it provides.","og_url":"https:\/\/nsfocusglobal.com\/nsfocus-waf-log4j2_rce-protection\/","og_site_name":"NSFOCUS","article_published_time":"2023-07-27T04:14:00+00:00","article_modified_time":"2026-04-17T18:07:40+00:00","og_image":[{"url":"https:\/\/nsfocusglobal.com\/wp-content\/uploads\/2023\/07\/Fig1-1024x500-1.jpg","type":"","width":"","height":""}],"author":"admin","twitter_card":"summary_large_image","twitter_title":"NSFOCUS WAF Log4j2_RCE Protection - NSFOCUS","twitter_description":"Logging events is a critical aspect of software development. While there are lots of frameworks available in Java ecosystem, Log4j has been the most popular for decades, due to the flexibility and simplicity it provides.","twitter_image":"https:\/\/nsfocusglobal.com\/wp-content\/uploads\/2023\/07\/Fig1-1024x500-1.jpg","twitter_misc":{"Escrito por":"admin","Est. tempo de leitura":"6 minutos"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/nsfocusglobal.com\/nsfocus-waf-log4j2_rce-protection\/#article","isPartOf":{"@id":"https:\/\/nsfocusglobal.com\/nsfocus-waf-log4j2_rce-protection\/"},"author":{"name":"admin","@id":"https:\/\/nsfocusglobal.com\/pt-br\/#\/schema\/person\/fd9ab61c9c77a81bbd870f725cc0c61d"},"headline":"NSFOCUS WAF Log4j2_RCE Protection","datePublished":"2023-07-27T04:14:00+00:00","dateModified":"2026-04-17T18:07:40+00:00","mainEntityOfPage":{"@id":"https:\/\/nsfocusglobal.com\/nsfocus-waf-log4j2_rce-protection\/"},"wordCount":1063,"commentCount":0,"publisher":{"@id":"https:\/\/nsfocusglobal.com\/pt-br\/#organization"},"image":{"@id":"https:\/\/nsfocusglobal.com\/nsfocus-waf-log4j2_rce-protection\/#primaryimage"},"thumbnailUrl":"https:\/\/nsfocusglobal.com\/wp-content\/uploads\/2023\/07\/Fig1-1024x500-1.jpg","keywords":["waf","Web Security"],"articleSection":["WAF"],"inLanguage":"pt-BR","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/nsfocusglobal.com\/nsfocus-waf-log4j2_rce-protection\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/nsfocusglobal.com\/nsfocus-waf-log4j2_rce-protection\/","url":"https:\/\/nsfocusglobal.com\/nsfocus-waf-log4j2_rce-protection\/","name":"NSFOCUS WAF Log4j2_RCE Protection - NSFOCUS","isPartOf":{"@id":"https:\/\/nsfocusglobal.com\/pt-br\/#website"},"primaryImageOfPage":{"@id":"https:\/\/nsfocusglobal.com\/nsfocus-waf-log4j2_rce-protection\/#primaryimage"},"image":{"@id":"https:\/\/nsfocusglobal.com\/nsfocus-waf-log4j2_rce-protection\/#primaryimage"},"thumbnailUrl":"https:\/\/nsfocusglobal.com\/wp-content\/uploads\/2023\/07\/Fig1-1024x500-1.jpg","datePublished":"2023-07-27T04:14:00+00:00","dateModified":"2026-04-17T18:07:40+00:00","description":"Logging events is a critical aspect of software development. While there are lots of frameworks available in Java ecosystem, Log4j has been the most popular for decades, due to the flexibility and simplicity it provides.","breadcrumb":{"@id":"https:\/\/nsfocusglobal.com\/nsfocus-waf-log4j2_rce-protection\/#breadcrumb"},"inLanguage":"pt-BR","potentialAction":[{"@type":"ReadAction","target":["https:\/\/nsfocusglobal.com\/nsfocus-waf-log4j2_rce-protection\/"]}]},{"@type":"ImageObject","inLanguage":"pt-BR","@id":"https:\/\/nsfocusglobal.com\/nsfocus-waf-log4j2_rce-protection\/#primaryimage","url":"https:\/\/nsfocusglobal.com\/wp-content\/uploads\/2023\/07\/Fig1-1024x500-1.jpg","contentUrl":"https:\/\/nsfocusglobal.com\/wp-content\/uploads\/2023\/07\/Fig1-1024x500-1.jpg","width":1024,"height":500,"caption":"Web interface with security settings dialog open."},{"@type":"BreadcrumbList","@id":"https:\/\/nsfocusglobal.com\/nsfocus-waf-log4j2_rce-protection\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/nsfocusglobal.com\/"},{"@type":"ListItem","position":2,"name":"NSFOCUS WAF Log4j2_RCE Protection"}]},{"@type":"WebSite","@id":"https:\/\/nsfocusglobal.com\/pt-br\/#website","url":"https:\/\/nsfocusglobal.com\/pt-br\/","name":"NSFOCUS","description":"Security Made Smart and Simple","publisher":{"@id":"https:\/\/nsfocusglobal.com\/pt-br\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/nsfocusglobal.com\/pt-br\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"pt-BR"},{"@type":"Organization","@id":"https:\/\/nsfocusglobal.com\/pt-br\/#organization","name":"NSFOCUS","url":"https:\/\/nsfocusglobal.com\/pt-br\/","logo":{"@type":"ImageObject","inLanguage":"pt-BR","@id":"https:\/\/nsfocusglobal.com\/pt-br\/#\/schema\/logo\/image\/","url":"https:\/\/nsfocusglobal.com\/wp-content\/uploads\/2024\/08\/logo-ns.png","contentUrl":"https:\/\/nsfocusglobal.com\/wp-content\/uploads\/2024\/08\/logo-ns.png","width":248,"height":36,"caption":"NSFOCUS"},"image":{"@id":"https:\/\/nsfocusglobal.com\/pt-br\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/nsfocusglobal.com\/pt-br\/#\/schema\/person\/fd9ab61c9c77a81bbd870f725cc0c61d","name":"admin","image":{"@type":"ImageObject","inLanguage":"pt-BR","@id":"https:\/\/secure.gravatar.com\/avatar\/d3dc987908fc59791d261b1006d84eb931d15287261476b9384e690ed0c568de?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/d3dc987908fc59791d261b1006d84eb931d15287261476b9384e690ed0c568de?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/d3dc987908fc59791d261b1006d84eb931d15287261476b9384e690ed0c568de?s=96&d=mm&r=g","caption":"admin"},"sameAs":["https:\/\/nsfocusglobal.com"],"url":"https:\/\/nsfocusglobal.com\/pt-br\/author\/admin\/"}]}},"_links":{"self":[{"href":"https:\/\/nsfocusglobal.com\/pt-br\/wp-json\/wp\/v2\/posts\/25218","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/nsfocusglobal.com\/pt-br\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/nsfocusglobal.com\/pt-br\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/nsfocusglobal.com\/pt-br\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/nsfocusglobal.com\/pt-br\/wp-json\/wp\/v2\/comments?post=25218"}],"version-history":[{"count":0,"href":"https:\/\/nsfocusglobal.com\/pt-br\/wp-json\/wp\/v2\/posts\/25218\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/nsfocusglobal.com\/pt-br\/wp-json\/wp\/v2\/media\/35693"}],"wp:attachment":[{"href":"https:\/\/nsfocusglobal.com\/pt-br\/wp-json\/wp\/v2\/media?parent=25218"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/nsfocusglobal.com\/pt-br\/wp-json\/wp\/v2\/categories?post=25218"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/nsfocusglobal.com\/pt-br\/wp-json\/wp\/v2\/tags?post=25218"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}