{"id":14706,"date":"2021-10-11T19:39:46","date_gmt":"2021-10-11T22:39:46","guid":{"rendered":"https:\/\/dev.dbarj.com.br\/?p=14706"},"modified":"2021-10-15T10:20:44","modified_gmt":"2021-10-15T13:20:44","slug":"active-data-guard-dml-redirection-cool-feature-but-may-brings-some-security-opportunities","status":"publish","type":"post","link":"https:\/\/dev.dbarj.com.br\/en\/2021\/10\/active-data-guard-dml-redirection-cool-feature-but-may-brings-some-security-opportunities\/","title":{"rendered":"Active Data Guard DML Redirection: cool feature, but may bring some security opportunities"},"content":{"rendered":"<p>Today is October 11th, <span class=\"r-18u37iz\"><a class=\"css-4rbku5 css-18t94o4 css-901oao css-16my406 r-1cvl2hr r-1loqt21 r-poiln3 r-bcqeeo r-1ny4l3l r-1ddef8g r-tjvw6i r-qvutc0\" dir=\"ltr\" role=\"link\" href=\"https:\/\/twitter.com\/hashtag\/JoelKallmanDay?src=hashtag_click\">#JoelKallmanDay<\/a>, a day where the Oracle community appreciates all Joel Kallman&#8217;s work and effort to improve the huge Oracle community we have.<\/span> I share a lot the thoughts and feelings of what <a href=\"https:\/\/twitter.com\/dohdatabase\" target=\"_blank\" rel=\"noopener\">Daniel<\/a> has written (<a href=\"https:\/\/dohdatabase.com\/2021\/10\/11\/i-never-meet-joel-but-i-have-met-his-spirit-joelkallmanday\/\" target=\"_blank\" rel=\"noopener\">https:\/\/dohdatabase.com\/2021\/10\/11\/i-never-meet-joel-but-i-have-met-his-spirit-joelkallmanday\/<\/a>). Unfortunately, I didn&#8217;t have the chance to know him in person, even though I can &#8220;feel&#8221; everything he did for this community which I love.<\/p>\n<p>Today, I will write about an extremely cool feature introduced in the Data Guard component on Oracle Database, but which enables opportunities to be maliciously used by an attacker in case you don&#8217;t properly protect your database and applications: <a href=\"https:\/\/docs.oracle.com\/en\/database\/oracle\/oracle-database\/19\/sbydb\/managing-oracle-data-guard-physical-standby-databases.html#GUID-B1C66720-3EA6-45A3-986E-6E510381EC79\" target=\"_blank\" rel=\"noopener\"><span id=\"kmPgTpl:r1:0:ol22\" class=\"p_AFHoverTarget xq\">Active Data Guard DML Redirection<\/span><\/a><\/p>\n<p>It was officially introduced in Oracle 19c, but was also <span id=\"kmPgTpl:r1:ot71\" class=\"kmContent\">present in the 18c version via the underscore parameter <strong>&#8220;_enable_proxy_adg_redirect=true&#8221;<\/strong>. There is a <a href=\"https:\/\/support.oracle.com\/epmos\/faces\/DocContentDisplay?id=2465016.1\" target=\"_blank\" rel=\"noopener\">MOS note which gives more details about it<\/a>.<\/span><\/p>\n<p>&#8220;With this feature, you can run DML operations on Active Data Guard standby databases. This enables you to run read-mostly applications, which occasionally execute DMLs, on the standby database&#8221;. So imagine one reporting application that needs to create some staging tables, but that you couldn&#8217;t have it running in the ADG as it was a fully read-only environment before. Now, this is no longer a problem.<\/p>\n<p>The only issue I see with this feature is that <span style=\"text-decoration: underline;\"><strong>it is controlled by a session modifiable level parameter, and there is no master switch to turn it on\/off<\/strong><\/span>. In other words, any database user can enable this for himself on the standby side.<\/p>\n<p>I&#8217;ve already seen some customers that don&#8217;t care about protecting their standby databases for read-only access because they know that, even though all the data is accessible from there, it was technically impossible for anyone to run any DML or change any data.<\/p>\n<p id=\"bstEUxm\"><img loading=\"lazy\" decoding=\"async\" width=\"1362\" height=\"856\" class=\"alignnone size-full wp-image-14713 \" src=\"https:\/\/dev.dbarj.com.br\/wp-content\/uploads\/2021\/10\/img_61647aecc2611.png\" alt=\"\" srcset=\"https:\/\/dev.dbarj.com.br\/wp-content\/uploads\/2021\/10\/img_61647aecc2611.png 1362w, https:\/\/dev.dbarj.com.br\/wp-content\/uploads\/2021\/10\/img_61647aecc2611-300x189.png 300w, https:\/\/dev.dbarj.com.br\/wp-content\/uploads\/2021\/10\/img_61647aecc2611-1024x644.png 1024w, https:\/\/dev.dbarj.com.br\/wp-content\/uploads\/2021\/10\/img_61647aecc2611-768x483.png 768w, https:\/\/dev.dbarj.com.br\/wp-content\/uploads\/2021\/10\/img_61647aecc2611-870x547.png 870w\" sizes=\"auto, (max-width: 1362px) 100vw, 1362px\" \/><\/p>\n<p>However, starting on 19c, any user connected to the Data Guard environment could potentially change the data in the Production, as long as the user has the appropriate grants in primary to do so. Thus, leveraging the protection on being a &#8220;read-only&#8221; environment is not enough anymore. All the protections made on the primary should be extended to the DGs.<\/p>\n<h3>Example<\/h3>\n<p>First, let&#8217;s create a user and an important table in the production primary database:<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">[oracle@pri ~]$ sqlplus \/ as sysdba\r\n\r\nSQL*Plus: Release 19.0.0.0.0 - Production on Mon Oct 11 18:18:05 2021\r\nVersion 19.12.0.0.0\r\n\r\nCopyright (c) 1982, 2021, Oracle.  All rights reserved.\r\n\r\nConnected to:\r\nOracle Database 19c EE High Perf Release 19.0.0.0.0 - Production\r\nVersion 19.12.0.0.0\r\n\r\nSQL&gt; show pdbs\r\n\r\n    CON_ID CON_NAME                       OPEN MODE  RESTRICTED\r\n---------- ------------------------------ ---------- ----------\r\n         2 PDB$SEED                       READ ONLY  NO\r\n         3 DB0930_PDB1                    READ WRITE NO\r\n\r\nSQL&gt; alter session set container=DB0930_PDB1;\r\n\r\nSession altered.\r\n\r\nSQL&gt; create user dbarj identified by \"RodrigoJorge11..\";\r\n\r\nUser created.\r\n\r\nSQL&gt; grant create session to dbarj;\r\n\r\nGrant succeeded.\r\n\r\nSQL&gt; create table important_table as select * from dba_objects;\r\n\r\nTable created.\r\n\r\nSQL&gt; grant select, insert, update, delete on important_table to dbarj;\r\n\r\nGrant succeeded.\r\n\r\nSQL&gt; exit\r\n\r\nDisconnected from Oracle Database 19c EE High Perf Release 19.0.0.0.0 - Production\r\nVersion 19.12.0.0.0\r\n[oracle@pri ~]$<\/pre>\n<p>Note I&#8217;ve given all DML grants on <span style=\"color: #800000;\"><strong>IMPORTANT_TABLE<\/strong><\/span> to <span style=\"color: #800000;\"><strong>DBARJ<\/strong><\/span>. Apart from that, the only system privilege this user has is the CREATE SESSION.<\/p>\n<p>Now I will try to connect to the standby database and change this table:<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">[oracle@sby ~]$ sqlplus dbarj@DB0930_PDB1_SBY\r\n\r\nSQL*Plus: Release 19.0.0.0.0 - Production on Mon Oct 11 21:29:45 2021\r\nVersion 19.12.0.0.0\r\n\r\nCopyright (c) 1982, 2021, Oracle.  All rights reserved.\r\n\r\nEnter password:\r\n\r\nConnected to:\r\nOracle Database 19c EE High Perf Release 19.0.0.0.0 - Production\r\nVersion 19.12.0.0.0\r\n\r\nSQL&gt; delete from sys.important_table;\r\ndelete from sys.important_table\r\n                *\r\nERROR at line 1:\r\nORA-16000: database or pluggable database open for read-only access\r\n\r\nSQL&gt; alter session enable adg_redirect_dml;\r\n\r\nSession altered.\r\n\r\nSQL&gt; delete from sys.important_table;\r\n\r\n74522 rows deleted.\r\n\r\nSQL&gt; rollback;\r\n\r\nRollback complete.\r\n\r\nSQL&gt; exit\r\nDisconnected from Oracle Database 19c EE High Perf Release 19.0.0.0.0 - Production\r\nVersion 19.12.0.0.0\r\n[oracle@sby ~]$<\/pre>\n<h3>Solution<\/h3>\n<p>While we don&#8217;t have a master switch for this feature, the best way to avoid it is to protect your standby database just like you protect your primary. I tried to use <a href=\"https:\/\/docs.oracle.com\/en\/database\/oracle\/oracle-database\/19\/sqlrf\/CREATE-LOCKDOWN-PROFILE.html\" target=\"_blank\" rel=\"noopener\">LOCKDOWN PROFILES<\/a>, however, it is still not possible to disable that specific option:<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">SQL&gt; ALTER LOCKDOWN PROFILE PROTECT_ADG_REDIRECT_DML DISABLE STATEMENT = ('ALTER SESSION') CLAUSE = ('ENABLE') OPTION = ('ADG_REDIRECT_DML');\r\nALTER LOCKDOWN PROFILE PROTECT_ADG_REDIRECT_DML DISABLE STATEMENT = ('ALTER SESSION') CLAUSE = ('ENABLE') OPTION = ('ADG_REDIRECT_DML')\r\n*\r\nERROR at line 1:\r\nORA-65249: invalid option<\/pre>\n<p>And even if this option gets implemented, this will not cover non-cdb architecture which is still available in 19c release.<\/p>\n<p><span style=\"text-decoration: underline;\">Update:<\/span><\/p>\n<p id=\"KLZjZIY\"><img loading=\"lazy\" decoding=\"async\" width=\"1204\" height=\"246\" class=\"alignnone size-full wp-image-14731 \" src=\"https:\/\/dev.dbarj.com.br\/wp-content\/uploads\/2021\/10\/img_61682ad428308.png\" alt=\"\" srcset=\"https:\/\/dev.dbarj.com.br\/wp-content\/uploads\/2021\/10\/img_61682ad428308.png 1204w, https:\/\/dev.dbarj.com.br\/wp-content\/uploads\/2021\/10\/img_61682ad428308-300x61.png 300w, https:\/\/dev.dbarj.com.br\/wp-content\/uploads\/2021\/10\/img_61682ad428308-1024x209.png 1024w, https:\/\/dev.dbarj.com.br\/wp-content\/uploads\/2021\/10\/img_61682ad428308-768x157.png 768w, https:\/\/dev.dbarj.com.br\/wp-content\/uploads\/2021\/10\/img_61682ad428308-870x178.png 870w\" sizes=\"auto, (max-width: 1204px) 100vw, 1204px\" \/><\/p>\n<p><a href=\"https:\/\/twitter.com\/MathiasZarick\" target=\"_blank\" rel=\"noopener\">Mathias<\/a> gave 2 good ideas for controlling this feature:<\/p>\n<ul>\n<li>Totally disabling the database links on the standby database.<\/li>\n<li>Creating a logon trigger on the primary blocking connections coming from the standby database.<\/li>\n<\/ul>\n<p>Once I have time, I will update this blog post testing those 2 approaches.<\/p>\n<h3>Conclusion<\/h3>\n<p>It&#8217;s needless to say that everyone should already protect the DG environments with the same strong armory used in the primary database. Now, this feature gives another reason, as the standby databases can become a new target to attackers.<\/p>\n<p>Do you have any insight on this? Please share in the comments!<\/p>\n<b>Have you enjoyed? Please leave a comment or give a ?!<\/b>\n<div class='watch-action'><div class='watch-position align-left'><div class='action-like'><a class='lbg-style2 like-14706 jlk' href='javascript:void(0)' data-task='like' data-post_id='14706' data-nonce='b7aaf4ff99' rel='nofollow'><img class='wti-pixel' src='https:\/\/dev.dbarj.com.br\/wp-content\/plugins\/wti-like-post\/images\/pixel.gif' title='Like' \/><span class='lc-14706 lc'>+15<\/span><\/a><\/div><\/div> <div class='status-14706 status align-left'><\/div><\/div><div class='wti-clear'><\/div>","protected":false},"excerpt":{"rendered":"<p>Today is October 11th, #JoelKallmanDay, a day where the Oracle community appreciates all Joel Kallman&#8217;s work and effort to improve the huge Oracle community we have. I share a lot the thoughts and feelings of what Daniel has written (https:\/\/dohdatabase.com\/2021\/10\/11\/i-never-meet-joel-but-i-have-met-his-spirit-joelkallmanday\/). Unfortunately, I didn&#8217;t have the chance to know him in person, even though I can &hellip; <\/p>\n<p><a class=\"more-link btn\" href=\"https:\/\/dev.dbarj.com.br\/en\/2021\/10\/active-data-guard-dml-redirection-cool-feature-but-may-brings-some-security-opportunities\/\">Continue reading<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[15],"tags":[],"class_list":["post-14706","post","type-post","status-publish","format-standard","hentry","category-database-en","item-wrap"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.7 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Active Data Guard DML Redirection: cool feature, but may bring some security opportunities - DBA - Rodrigo Jorge - Oracle Tips and Guides<\/title>\n<meta name=\"description\" content=\"In this post I write about an extremely cool feature introduced in the Data Guard component in Oracle Database, but which can be dangerous and may be maliciously used by an attacker in case you don&#039;t properly design and protect your database: Active Data Guard DML Redirection\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/dev.dbarj.com.br\/en\/2021\/10\/active-data-guard-dml-redirection-cool-feature-but-may-brings-some-security-opportunities\/\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"DBA RJ\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"5 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/dev.dbarj.com.br\\\/en\\\/2021\\\/10\\\/active-data-guard-dml-redirection-cool-feature-but-may-brings-some-security-opportunities\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/dev.dbarj.com.br\\\/en\\\/2021\\\/10\\\/active-data-guard-dml-redirection-cool-feature-but-may-brings-some-security-opportunities\\\/\"},\"author\":{\"name\":\"DBA RJ\",\"@id\":\"https:\\\/\\\/dev.dbarj.com.br\\\/en\\\/#\\\/schema\\\/person\\\/28a44ca3a6633fe4156ad1ea209d40a9\"},\"headline\":\"Active Data Guard DML Redirection: cool feature, but may bring some security opportunities\",\"datePublished\":\"2021-10-11T22:39:46+00:00\",\"dateModified\":\"2021-10-15T13:20:44+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/dev.dbarj.com.br\\\/en\\\/2021\\\/10\\\/active-data-guard-dml-redirection-cool-feature-but-may-brings-some-security-opportunities\\\/\"},\"wordCount\":605,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/dev.dbarj.com.br\\\/en\\\/#\\\/schema\\\/person\\\/28a44ca3a6633fe4156ad1ea209d40a9\"},\"image\":{\"@id\":\"https:\\\/\\\/dev.dbarj.com.br\\\/en\\\/2021\\\/10\\\/active-data-guard-dml-redirection-cool-feature-but-may-brings-some-security-opportunities\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/dev.dbarj.com.br\\\/wp-content\\\/uploads\\\/2021\\\/10\\\/img_61647aecc2611.png\",\"articleSection\":[\"Oracle Database General\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/dev.dbarj.com.br\\\/en\\\/2021\\\/10\\\/active-data-guard-dml-redirection-cool-feature-but-may-brings-some-security-opportunities\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/dev.dbarj.com.br\\\/en\\\/2021\\\/10\\\/active-data-guard-dml-redirection-cool-feature-but-may-brings-some-security-opportunities\\\/\",\"url\":\"https:\\\/\\\/dev.dbarj.com.br\\\/en\\\/2021\\\/10\\\/active-data-guard-dml-redirection-cool-feature-but-may-brings-some-security-opportunities\\\/\",\"name\":\"Active Data Guard DML Redirection: cool feature, but may bring some security opportunities - DBA - Rodrigo Jorge - Oracle Tips and Guides\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/dev.dbarj.com.br\\\/en\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/dev.dbarj.com.br\\\/en\\\/2021\\\/10\\\/active-data-guard-dml-redirection-cool-feature-but-may-brings-some-security-opportunities\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/dev.dbarj.com.br\\\/en\\\/2021\\\/10\\\/active-data-guard-dml-redirection-cool-feature-but-may-brings-some-security-opportunities\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/dev.dbarj.com.br\\\/wp-content\\\/uploads\\\/2021\\\/10\\\/img_61647aecc2611.png\",\"datePublished\":\"2021-10-11T22:39:46+00:00\",\"dateModified\":\"2021-10-15T13:20:44+00:00\",\"description\":\"In this post I write about an extremely cool feature introduced in the Data Guard component in Oracle Database, but which can be dangerous and may be maliciously used by an attacker in case you don't properly design and protect your database: Active Data Guard DML Redirection\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/dev.dbarj.com.br\\\/en\\\/2021\\\/10\\\/active-data-guard-dml-redirection-cool-feature-but-may-brings-some-security-opportunities\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/dev.dbarj.com.br\\\/en\\\/2021\\\/10\\\/active-data-guard-dml-redirection-cool-feature-but-may-brings-some-security-opportunities\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/dev.dbarj.com.br\\\/en\\\/2021\\\/10\\\/active-data-guard-dml-redirection-cool-feature-but-may-brings-some-security-opportunities\\\/#primaryimage\",\"url\":\"https:\\\/\\\/dev.dbarj.com.br\\\/wp-content\\\/uploads\\\/2021\\\/10\\\/img_61647aecc2611.png\",\"contentUrl\":\"https:\\\/\\\/dev.dbarj.com.br\\\/wp-content\\\/uploads\\\/2021\\\/10\\\/img_61647aecc2611.png\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/dev.dbarj.com.br\\\/en\\\/2021\\\/10\\\/active-data-guard-dml-redirection-cool-feature-but-may-brings-some-security-opportunities\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/dev.dbarj.com.br\\\/en\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Active Data Guard DML Redirection: cool feature, but may bring some security opportunities\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/dev.dbarj.com.br\\\/en\\\/#website\",\"url\":\"https:\\\/\\\/dev.dbarj.com.br\\\/en\\\/\",\"name\":\"DBA - Rodrigo Jorge - Oracle Tips and Guides\",\"description\":\"Blog about Databases, Security and High Availability\",\"publisher\":{\"@id\":\"https:\\\/\\\/dev.dbarj.com.br\\\/en\\\/#\\\/schema\\\/person\\\/28a44ca3a6633fe4156ad1ea209d40a9\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/dev.dbarj.com.br\\\/en\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\\\/\\\/dev.dbarj.com.br\\\/en\\\/#\\\/schema\\\/person\\\/28a44ca3a6633fe4156ad1ea209d40a9\",\"name\":\"DBA RJ\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/dev.dbarj.com.br\\\/wp-content\\\/uploads\\\/2019\\\/09\\\/RodrigoJorgePOUG19.png\",\"url\":\"https:\\\/\\\/dev.dbarj.com.br\\\/wp-content\\\/uploads\\\/2019\\\/09\\\/RodrigoJorgePOUG19.png\",\"contentUrl\":\"https:\\\/\\\/dev.dbarj.com.br\\\/wp-content\\\/uploads\\\/2019\\\/09\\\/RodrigoJorgePOUG19.png\",\"width\":712,\"height\":712,\"caption\":\"DBA RJ\"},\"logo\":{\"@id\":\"https:\\\/\\\/dev.dbarj.com.br\\\/wp-content\\\/uploads\\\/2019\\\/09\\\/RodrigoJorgePOUG19.png\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Active Data Guard DML Redirection: cool feature, but may bring some security opportunities - DBA - Rodrigo Jorge - Oracle Tips and Guides","description":"In this post I write about an extremely cool feature introduced in the Data Guard component in Oracle Database, but which can be dangerous and may be maliciously used by an attacker in case you don't properly design and protect your database: Active Data Guard DML Redirection","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/dev.dbarj.com.br\/en\/2021\/10\/active-data-guard-dml-redirection-cool-feature-but-may-brings-some-security-opportunities\/","twitter_misc":{"Written by":"DBA RJ","Est. reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/dev.dbarj.com.br\/en\/2021\/10\/active-data-guard-dml-redirection-cool-feature-but-may-brings-some-security-opportunities\/#article","isPartOf":{"@id":"https:\/\/dev.dbarj.com.br\/en\/2021\/10\/active-data-guard-dml-redirection-cool-feature-but-may-brings-some-security-opportunities\/"},"author":{"name":"DBA RJ","@id":"https:\/\/dev.dbarj.com.br\/en\/#\/schema\/person\/28a44ca3a6633fe4156ad1ea209d40a9"},"headline":"Active Data Guard DML Redirection: cool feature, but may bring some security opportunities","datePublished":"2021-10-11T22:39:46+00:00","dateModified":"2021-10-15T13:20:44+00:00","mainEntityOfPage":{"@id":"https:\/\/dev.dbarj.com.br\/en\/2021\/10\/active-data-guard-dml-redirection-cool-feature-but-may-brings-some-security-opportunities\/"},"wordCount":605,"commentCount":0,"publisher":{"@id":"https:\/\/dev.dbarj.com.br\/en\/#\/schema\/person\/28a44ca3a6633fe4156ad1ea209d40a9"},"image":{"@id":"https:\/\/dev.dbarj.com.br\/en\/2021\/10\/active-data-guard-dml-redirection-cool-feature-but-may-brings-some-security-opportunities\/#primaryimage"},"thumbnailUrl":"https:\/\/dev.dbarj.com.br\/wp-content\/uploads\/2021\/10\/img_61647aecc2611.png","articleSection":["Oracle Database General"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/dev.dbarj.com.br\/en\/2021\/10\/active-data-guard-dml-redirection-cool-feature-but-may-brings-some-security-opportunities\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/dev.dbarj.com.br\/en\/2021\/10\/active-data-guard-dml-redirection-cool-feature-but-may-brings-some-security-opportunities\/","url":"https:\/\/dev.dbarj.com.br\/en\/2021\/10\/active-data-guard-dml-redirection-cool-feature-but-may-brings-some-security-opportunities\/","name":"Active Data Guard DML Redirection: cool feature, but may bring some security opportunities - DBA - Rodrigo Jorge - Oracle Tips and Guides","isPartOf":{"@id":"https:\/\/dev.dbarj.com.br\/en\/#website"},"primaryImageOfPage":{"@id":"https:\/\/dev.dbarj.com.br\/en\/2021\/10\/active-data-guard-dml-redirection-cool-feature-but-may-brings-some-security-opportunities\/#primaryimage"},"image":{"@id":"https:\/\/dev.dbarj.com.br\/en\/2021\/10\/active-data-guard-dml-redirection-cool-feature-but-may-brings-some-security-opportunities\/#primaryimage"},"thumbnailUrl":"https:\/\/dev.dbarj.com.br\/wp-content\/uploads\/2021\/10\/img_61647aecc2611.png","datePublished":"2021-10-11T22:39:46+00:00","dateModified":"2021-10-15T13:20:44+00:00","description":"In this post I write about an extremely cool feature introduced in the Data Guard component in Oracle Database, but which can be dangerous and may be maliciously used by an attacker in case you don't properly design and protect your database: Active Data Guard DML Redirection","breadcrumb":{"@id":"https:\/\/dev.dbarj.com.br\/en\/2021\/10\/active-data-guard-dml-redirection-cool-feature-but-may-brings-some-security-opportunities\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/dev.dbarj.com.br\/en\/2021\/10\/active-data-guard-dml-redirection-cool-feature-but-may-brings-some-security-opportunities\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/dev.dbarj.com.br\/en\/2021\/10\/active-data-guard-dml-redirection-cool-feature-but-may-brings-some-security-opportunities\/#primaryimage","url":"https:\/\/dev.dbarj.com.br\/wp-content\/uploads\/2021\/10\/img_61647aecc2611.png","contentUrl":"https:\/\/dev.dbarj.com.br\/wp-content\/uploads\/2021\/10\/img_61647aecc2611.png"},{"@type":"BreadcrumbList","@id":"https:\/\/dev.dbarj.com.br\/en\/2021\/10\/active-data-guard-dml-redirection-cool-feature-but-may-brings-some-security-opportunities\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/dev.dbarj.com.br\/en\/"},{"@type":"ListItem","position":2,"name":"Active Data Guard DML Redirection: cool feature, but may bring some security opportunities"}]},{"@type":"WebSite","@id":"https:\/\/dev.dbarj.com.br\/en\/#website","url":"https:\/\/dev.dbarj.com.br\/en\/","name":"DBA - Rodrigo Jorge - Oracle Tips and Guides","description":"Blog about Databases, Security and High Availability","publisher":{"@id":"https:\/\/dev.dbarj.com.br\/en\/#\/schema\/person\/28a44ca3a6633fe4156ad1ea209d40a9"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/dev.dbarj.com.br\/en\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":["Person","Organization"],"@id":"https:\/\/dev.dbarj.com.br\/en\/#\/schema\/person\/28a44ca3a6633fe4156ad1ea209d40a9","name":"DBA RJ","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/dev.dbarj.com.br\/wp-content\/uploads\/2019\/09\/RodrigoJorgePOUG19.png","url":"https:\/\/dev.dbarj.com.br\/wp-content\/uploads\/2019\/09\/RodrigoJorgePOUG19.png","contentUrl":"https:\/\/dev.dbarj.com.br\/wp-content\/uploads\/2019\/09\/RodrigoJorgePOUG19.png","width":712,"height":712,"caption":"DBA RJ"},"logo":{"@id":"https:\/\/dev.dbarj.com.br\/wp-content\/uploads\/2019\/09\/RodrigoJorgePOUG19.png"}}]}},"_links":{"self":[{"href":"https:\/\/dev.dbarj.com.br\/en\/wp-json\/wp\/v2\/posts\/14706","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/dev.dbarj.com.br\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/dev.dbarj.com.br\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/dev.dbarj.com.br\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/dev.dbarj.com.br\/en\/wp-json\/wp\/v2\/comments?post=14706"}],"version-history":[{"count":5,"href":"https:\/\/dev.dbarj.com.br\/en\/wp-json\/wp\/v2\/posts\/14706\/revisions"}],"predecessor-version":[{"id":14739,"href":"https:\/\/dev.dbarj.com.br\/en\/wp-json\/wp\/v2\/posts\/14706\/revisions\/14739"}],"wp:attachment":[{"href":"https:\/\/dev.dbarj.com.br\/en\/wp-json\/wp\/v2\/media?parent=14706"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/dev.dbarj.com.br\/en\/wp-json\/wp\/v2\/categories?post=14706"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/dev.dbarj.com.br\/en\/wp-json\/wp\/v2\/tags?post=14706"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}