Skip to content

Commit 41ff12c

Browse files
committed
Fixed: Disable the Birt component in all branches (including trunk) because of CVE-2022-25371 (OFBIZ-12824)
See https://lists.apache.org/thread/bvp3sczqq863lxr1wh7wjvdtjbkcwspq No patches were provided because only 18.12.06 was concerned so far Conflicts handled by hand birt/src/docs/asciidoc/birt.adoc
1 parent 582add7 commit 41ff12c

File tree

2 files changed

+14
-3
lines changed

2 files changed

+14
-3
lines changed

birt/ofbiz-component.xml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,11 @@ specific language governing permissions and limitations
1818
under the License.
1919
-->
2020

21-
<ofbiz-component name="birt" enabled="true"
21+
<!--
22+
Warning: before you enable this component please read:
23+
https://cwiki.apache.org/confluence/display/OFBIZ/Using+BIRT+with+OFBiz
24+
-->
25+
<ofbiz-component name="birt" enabled="false"
2226
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
2327
xsi:noNamespaceSchemaLocation="https://ofbiz.apache.org/dtds/ofbiz-component.xsd">
2428
<resource-loader name="main" type="component"/>
@@ -42,7 +46,7 @@ under the License.
4246
<entity-resource type="model" reader-name="main" loader="main" location="entitydef/ServiceReportsView.xml"/>
4347

4448
<service-resource type="model" loader="main" location="servicedef/services.xml"/>
45-
49+
4650
<!-- this overrides the accounting, facility and order applications in order to use Birt in these applications -->
4751
<webapp name="accounting"
4852
title="Accounting"

birt/src/docs/asciidoc/birt.adoc

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,14 @@ under the License.
1818
////
1919
= Birt Apache OFBiz® plugin
2020
The Apache OFBiz Project
21-
Release 17.12
21+
22+
23+
[CAUTION]
24+
====
25+
By default the Birt plugin is disabled for security reason, see the Birt ofbiz-component.xml file for more info.
26+
27+
====
28+
2229
:imagesdir: ./images
2330
ifdef::backend-pdf[]
2431
:title-logo-image: image::OFBiz-Logo.svg[Apache OFBiz Logo, pdfwidth=4.25in, align=center]

0 commit comments

Comments
 (0)