The SOAP and HTTP engines are open doors to security issues. At https://markmail.org/message/pgtjyh23bazq4s2w I proposed to comment them out as we did for RMI in the past. Of cause it must be clearly documented how to use them if needed. Here is the email content: After the recent fix for the CVE-2021-26295[1] we discussed with the security team about the opportunity need to comment out the SOAP and HTTP engines like we did in the past for RMI[2], this obviously for security reason. [1] OFBIZ-12167 "Adds a blacklist (to be renamed soon to denylist) in Java serialisation (CVE-2021-26295)" [2] OFBIZ-6942 "Comment out RMI related code because of the Java deserialization issue [CVE-2016-2170] " I just put a small comment in webtools controller, it should be enough. The tests pass
77 lines
4.0 KiB
XML
77 lines
4.0 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!--
|
|
Licensed to the Apache Software Foundation (ASF) under one
|
|
or more contributor license agreements. See the NOTICE file
|
|
distributed with this work for additional information
|
|
regarding copyright ownership. The ASF licenses this file
|
|
to you under the Apache License, Version 2.0 (the
|
|
"License"); you may not use this file except in compliance
|
|
with the License. You may obtain a copy of the License at
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
Unless required by applicable law or agreed to in writing,
|
|
software distributed under the License is distributed on an
|
|
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
KIND, either express or implied. See the License for the
|
|
specific language governing permissions and limitations
|
|
under the License.
|
|
-->
|
|
|
|
<test-suite suite-name="servicetests"
|
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/test-suite.xsd">
|
|
<test-case case-name="service-tests"><junit-test-suite class-name="org.apache.ofbiz.service.test.ServiceEngineTests"/></test-case>
|
|
<!-- <test-case case-name="service-soap-tests"><junit-test-suite class-name="org.apache.ofbiz.service.test.ServiceSOAPTests"/></test-case> -->
|
|
<test-case case-name="service-entity-auto-tests"><junit-test-suite class-name="org.apache.ofbiz.service.test.ServiceEntityAutoTests"/></test-case>
|
|
|
|
<test-case case-name="load-service-test-data">
|
|
<entity-xml action="load" entity-xml-url="component://service/testdef/data/ServiceTestData.xml"/>
|
|
</test-case>
|
|
<test-case case-name="service-dead-lock-retry-test">
|
|
<service-test service-name="testServiceDeadLockRetry"/>
|
|
</test-case>
|
|
<test-case case-name="service-dead-lock-retry-assert-data">
|
|
<entity-xml action="assert" entity-xml-url="component://service/testdef/data/ServiceDeadLockRetryAssertData.xml"/>
|
|
</test-case>
|
|
|
|
<!-- this case is failing, so commenting out by default until an automatic fix can be found
|
|
<test-case case-name="service-lock-wait-timeout-retry-test">
|
|
<service-test service-name="testServiceLockWaitTimeoutRetry"/>
|
|
</test-case>
|
|
<test-case case-name="service-lock-wait-timeout-retry-assert-data">
|
|
<entity-xml action="assert" entity-xml-url="component://service/testdef/data/ServiceLockTimeoutRetryAssertData.xml"/>
|
|
</test-case>
|
|
-->
|
|
|
|
<!-- this case is failing, so commenting out by default until an automatic fix can be found
|
|
<test-case case-name="service-lock-wait-timeout-in-sub-service-retry-test">
|
|
<service-test service-name="testServiceLockWaitTimeoutRetryCantRecover"/>
|
|
</test-case>
|
|
<test-case case-name="service-lock-wait-timeout-in-sub-service-retry-test-assert-data">
|
|
<entity-xml action="assert" entity-xml-url="component://service/testdef/data/ServiceLockTimeoutRetryCantRecoverAssertData.xml"/>
|
|
</test-case>
|
|
-->
|
|
|
|
<test-case case-name="service-own-tx-sub-service-after-set-rollback-only-in-parent">
|
|
<service-test service-name="testServiceOwnTxSubServiceAfterSetRollbackOnlyInParentErrorCatchWrapper"/>
|
|
</test-case>
|
|
<test-case case-name="service-own-tx-sub-service-after-set-rollback-only-in-parent-assert-data">
|
|
<entity-xml action="assert" entity-xml-url="component://service/testdef/data/ServiceSetRollbackOnlyAssertData.xml"/>
|
|
</test-case>
|
|
|
|
<test-case case-name="service-eca-global-event-exec">
|
|
<service-test service-name="testServiceEcaGlobalEventExec"/>
|
|
</test-case>
|
|
<test-case case-name="service-eca-global-event-exec-assert-data">
|
|
<entity-xml action="assert" entity-xml-url="component://service/testdef/data/ServiceEcaGlobalEventAssertData.xml"/>
|
|
</test-case>
|
|
|
|
<test-case case-name="service-xml-rpc">
|
|
<junit-test-suite class-name="org.apache.ofbiz.service.test.XmlRpcTests"/>
|
|
</test-case>
|
|
<test-case case-name="service-xml-rpc-local-engine">
|
|
<service-test service-name="testXmlRpcClientAdd"/>
|
|
</test-case>
|
|
</test-suite>
|