[
https://issues.apache.org/jira/browse/OFBIZ-11398?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17043378#comment-17043378 ]
ASF subversion and git services commented on OFBIZ-11398:
---------------------------------------------------------
Commit 0e7d31912b26a06d213fd5fb8739eacf02acfa79 in ofbiz-framework's branch refs/heads/trunk from Jacques Le Roux
[
https://gitbox.apache.org/repos/asf?p=ofbiz-framework.git;h=0e7d319 ]
Fixed: Improve ObjectInputStream class (CVE-2019-0189)
Improved: no functional change
(OFBIZ-10837) (OFBIZ-11398)
Steps to generate:
1. Navigate to - catalog/control/EditProdCatalog?prodCatalogId=TestCatalog
2. Click on - CREATE SEO CATEGORY/PRODUCTS
3. The broken page will be displayed
The issue is due to the use of a GString in
createMissingCategoryAndProductAltUrls().
This:
result.successMessageList = [
"Categories updated: ${categoriesUpdated}",
"Products updated: ${productsUpdated}"
As it's common to use such expressions I have added the necessary
org.codehaus.groovy.runtime.GStringImpl groovy.lang.GString
to the white list of classes in listOfSafeObjectsForInputStream in
SafeObjectInputStream.properties
I finally have also decided to use this property as default and commented for
committers to be aware that it should be also put in DEFAULT_WHITELIST_PATTERN
in SafeObjectInputStream class. Because if, for a reason,
listOfSafeObjectsForInputStream is empty OFBiz will still be protected
Thanks: Dikpal Kanungo for reporting
> Issue with creating SEO CATEGORIES/PRODUCTS from catalog manager
> ----------------------------------------------------------------
>
> Key: OFBIZ-11398
> URL:
https://issues.apache.org/jira/browse/OFBIZ-11398> Project: OFBiz
> Issue Type: Bug
> Components: product
> Affects Versions: Trunk
> Reporter: Dikpal Kanungo
> Assignee: Jacques Le Roux
> Priority: Blocker
> Attachments: Categories_Product creation issue.png
>
>
> Steps to regenerate-
> 1. Navigate to - [
https://demo-trunk.ofbiz.apache.org/catalog/control/EditProdCatalog?prodCatalogId=TestCatalog]
> 2. Click on - CREATE SEO CATEGORY/PRODUCTS
> 3. The broken page will be displayed (Please have a look at the attached screenshot)
> !Categories_Product creation issue.png!
--
This message was sent by Atlassian Jira
(v8.3.4#803005)