Files
ofbiz-framework/applications/content
Jacques Le Roux 0a49e0addd Fixed: CVE-2021-37608 vulnerability bypass (OFBIZ-12307)
Fixes a number of issues I spotted while working on OFBIZ-12305 in relation with
OFBIZ-12055

The last change I made for OFBIZ-12305 was incomplete, the files could not be
checked by SecuredUpload because they did not exist! This concerns
ImageManagementServices, DataServices, FrameImage and ProductServices classes.
I used Files::createTempFile to fix that.

Also fixes a bug in SecuredUpload where I reversed the check on
fileToCheck.length in Windows case. I also added a comment, Windows 10 now
allows more length (need an OS parameter change though)

Finally, creates public SecuredUpload::isValidText to be used in OFBIZ-12305

Conflicts handled by hand
  DataServices.java
2021-09-17 11:42:06 +02:00
..
2009-09-24 00:38:31 +00:00
2017-10-27 08:11:12 +00:00

Apache OFBiz

Content component

This OFBiz component enables organisations to manage various kinds of content. Content is used in many of the other components in OFBiz.

more information

For more information about this component visit the product page in the OFBiz WIKI, which can be found at https://cwiki.apache.org/confluence/display/OFBIZ/Content+Management

issues

JIRA issues related to this component can be found at https://issues.apache.org/jira/browse/OFBIZ/component/12311147

commits

Committed revisions can be viewed at http://svn.apache.org/viewvc/ofbiz/trunk/applications/content