Author: jleroux
Date: Mon Feb 29 12:07:36 2016 New Revision: 1732878 URL: http://svn.apache.org/viewvc?rev=1732878&view=rev Log: This commit replaces the contrast Java agent by the notsoserial Java agent which can be used to protect OFBiz instances from possible Java serialize vulnerabilities. For that it modifies the *-secure targets (start-secure, start-batch-secure, start-pos-secure, start-both-secure) to use the notsoserial Java agent with its most secure setting. See https://cwiki.apache.org/confluence/display/OFBIZ/The+infamous+Java+serialize+vulnerability for more information The notsoserial Java agent is placed in the tools/security/notsoserial folder and a dependency-check folder created under the tools/security folder The demos will be using the notsoserial Java agent ASAP. Added: ofbiz/branches/release14.12/tools/security/ ofbiz/branches/release14.12/tools/security/dependency-check/ ofbiz/branches/release14.12/tools/security/dependency-check/LICENSE.txt (with props) ofbiz/branches/release14.12/tools/security/dependency-check/NOTICE.txt (with props) ofbiz/branches/release14.12/tools/security/dependency-check/README.md ofbiz/branches/release14.12/tools/security/dependency-check/README.txt (with props) ofbiz/branches/release14.12/tools/security/dependency-check/check.bat (with props) ofbiz/branches/release14.12/tools/security/dependency-check/dependency-check-report.html (with props) ofbiz/branches/release14.12/tools/security/dependency-check/suppress.xml (with props) ofbiz/branches/release14.12/tools/security/notsoserial/ ofbiz/branches/release14.12/tools/security/notsoserial/LICENSE (with props) ofbiz/branches/release14.12/tools/security/notsoserial/LICENSE-ASM ofbiz/branches/release14.12/tools/security/notsoserial/NOTICE (with props) ofbiz/branches/release14.12/tools/security/notsoserial/README.md ofbiz/branches/release14.12/tools/security/notsoserial/README.txt (with props) ofbiz/branches/release14.12/tools/security/notsoserial/deserialize-trace.txt (with props) ofbiz/branches/release14.12/tools/security/notsoserial/empty.txt (with props) ofbiz/branches/release14.12/tools/security/notsoserial/is-deserialized.txt (with props) ofbiz/branches/release14.12/tools/security/notsoserial/notsoserial-1.0-SNAPSHOT.jar (with props) Modified: ofbiz/branches/release14.12/ (props changed) ofbiz/branches/release14.12/LICENSE ofbiz/branches/release14.12/NOTICE ofbiz/branches/release14.12/build.xml Propchange: ofbiz/branches/release14.12/ ------------------------------------------------------------------------------ --- svn:mergeinfo (original) +++ svn:mergeinfo Mon Feb 29 12:07:36 2016 @@ -8,4 +8,4 @@ /ofbiz/branches/json-integration-refactoring:1634077-1635900 /ofbiz/branches/multitenant20100310:921280-927264 /ofbiz/branches/release13.07:1547657 -/ofbiz/trunk:1649072,1649083-1649084,1649086,1649090,1649096,1649230,1649238-1649239,1649248,1649272,1649275,1649280-1649281,1649283,1649285-1649286,1649291,1649329,1649331,1649384,1649393,1649666,1649742,1650240,1650348,1650357,1650583,1650642,1650678,1650821,1650882,1650887,1650938,1651593,1652312,1652361,1652638,1652641,1652672,1652688,1652706,1652725,1652731,1652739,1652852,1653248,1653296,1653456,1653597,1653614,1654175,1654273,1654509,1654670,1654672-1654673,1654683-1654684,1654824,1655046,1655668,1655979,1656014,1656185,1656198,1656445,1656983,1657323,1657506-1657507,1657514,1657714,1657790,1657848,1658364,1658662,1658882,1659224,1659965,1660031,1660053,1660389,1660444,1660579,1661303,1661328,1661760,1661778,1661853,1661862,1661873,1661940,1661951,1661977,1662119-1662120,1662361,1662500,1662812,1662919,1663202,1663912,1663979,1664602,1664604,1664696,1665154,1665162,1665535,1666404,1666511,1666633,1666836,1666939,1666949,1666958,1667055,1667253,1667483,1667492,1667774,1668207, 1668214,1668236,1668246,1668258,1668263,1668265,1668270,1668277,1668314,1668657,1669317,1669588,1672427,1672430,1672846,1672853,1672856,1672862,1672873,1673764,1674447,1674464,1674491,1674496,1674908,1676674,1677123,1677597,1677769-1677770,1678294,1678882,1678911,1679689,1679697,1679709,1679720,1679728,1679732,1679957,1680155,1680288,1680304,1680671,1680675,1680733,1680840,1680881,1682272,1682295,1682415,1682633,1683998,1684094,1686360,1686536,1686545,1686566,1686569,1686574,1686583,1686635,1686651,1686970,1687427,1688772,1690086,1690581,1692357,1692458,1692600,1692604,1693393,1693579,1695017,1696018,1696234,1697590,1697647,1697993,1698259,1698261,1698263,1701164,1701441,1701819,1701825,1701936,1702002,1702548,1702704,1703121,1703586,1703945,1703954,1703965,1703971,1703976-1703977,1703981,1704000,1704014,1704018,1704036,1704043,1704052,1704082,1704140,1704230,1705004,1705329,1705405,1705412,1705417,1705427,1705532,1706159,1706162,1706316,1706531,1706549,1706553,1706561,1706569,17065 77,1706589,1706591,1706593,1706694,1707837,1707857,1708274,1708341,1708742,1708930,1709117,1710178,1710348,1711513,1712971,1714244,1714410,1714415,1714571,1714657,1715477-1715478,1715485,1715501,1716319,1717058,1717180,1717682,1717710,1717760,1718023,1718109,1719094,1719872,1720883,1721067,1721093,1721625,1722712,1723007,1723248,1724402,1724566,1724763,1724916,1724918,1724925,1724930,1724940,1724943,1724946,1724951,1724957,1724978,1725217,1725257,1725561,1725574,1726388,1726493,1726828,1728398,1729005,1729609,1729809,1730035,1730456,1730882,1730889,1731359,1731382,1731396,1732721 +/ofbiz/trunk:1649072,1649083-1649084,1649086,1649090,1649096,1649230,1649238-1649239,1649248,1649272,1649275,1649280-1649281,1649283,1649285-1649286,1649291,1649329,1649331,1649384,1649393,1649666,1649742,1650240,1650348,1650357,1650583,1650642,1650678,1650821,1650882,1650887,1650938,1651593,1652312,1652361,1652638,1652641,1652672,1652688,1652706,1652725,1652731,1652739,1652852,1653248,1653296,1653456,1653597,1653614,1654175,1654273,1654509,1654670,1654672-1654673,1654683-1654684,1654824,1655046,1655668,1655979,1656014,1656185,1656198,1656445,1656983,1657323,1657506-1657507,1657514,1657714,1657790,1657848,1658364,1658662,1658882,1659224,1659965,1660031,1660053,1660389,1660444,1660579,1661303,1661328,1661760,1661778,1661853,1661862,1661873,1661940,1661951,1661977,1662119-1662120,1662361,1662500,1662812,1662919,1663202,1663912,1663979,1664602,1664604,1664696,1665154,1665162,1665535,1666404,1666511,1666633,1666836,1666939,1666949,1666958,1667055,1667253,1667483,1667492,1667774,1668207, 1668214,1668236,1668246,1668258,1668263,1668265,1668270,1668277,1668314,1668657,1669317,1669588,1672427,1672430,1672846,1672853,1672856,1672862,1672873,1673764,1674447,1674464,1674491,1674496,1674908,1676674,1677123,1677597,1677769-1677770,1678294,1678882,1678911,1679689,1679697,1679709,1679720,1679728,1679732,1679957,1680155,1680288,1680304,1680671,1680675,1680733,1680840,1680881,1682272,1682295,1682415,1682633,1683998,1684094,1686360,1686536,1686545,1686566,1686569,1686574,1686583,1686635,1686651,1686970,1687427,1688772,1690086,1690581,1692357,1692458,1692600,1692604,1693393,1693579,1695017,1696018,1696234,1697590,1697647,1697993,1698259,1698261,1698263,1701164,1701441,1701819,1701825,1701936,1702002,1702548,1702704,1703121,1703586,1703945,1703954,1703965,1703971,1703976-1703977,1703981,1704000,1704014,1704018,1704036,1704043,1704052,1704082,1704140,1704230,1705004,1705329,1705405,1705412,1705417,1705427,1705532,1706159,1706162,1706316,1706531,1706549,1706553,1706561,1706569,17065 77,1706589,1706591,1706593,1706694,1707837,1707857,1708274,1708341,1708742,1708930,1709117,1710178,1710348,1711513,1712971,1714244,1714410,1714415,1714571,1714657,1715477-1715478,1715485,1715501,1716319,1717058,1717180,1717682,1717710,1717760,1718023,1718109,1719094,1719872,1720883,1721067,1721093,1721625,1722712,1723007,1723248,1724402,1724566,1724763,1724916,1724918,1724925,1724930,1724940,1724943,1724946,1724951,1724957,1724978,1725217,1725257,1725561,1725574,1726388,1726493,1726828,1728398,1729005,1729609,1729809,1730035,1730456,1730735-1730736,1730882,1730889,1731359,1731382,1731396,1732721 Modified: ofbiz/branches/release14.12/LICENSE URL: http://svn.apache.org/viewvc/ofbiz/branches/release14.12/LICENSE?rev=1732878&r1=1732877&r2=1732878&view=diff ============================================================================== --- ofbiz/branches/release14.12/LICENSE (original) +++ ofbiz/branches/release14.12/LICENSE Mon Feb 29 12:07:36 2016 @@ -113,6 +113,7 @@ applications/product/lib/dozer-4.2.1.jar applications/product/lib/watermarker-0.0.4.jar framework/images/webapp/images/date/timezones* framework/resources/fonts/NotoSans/* +tools/security/notsoserial/notsoserial-1.0-SNAPSHOT.jar ========================================================================= Apache License Version 2.0, January 2004 Modified: ofbiz/branches/release14.12/NOTICE URL: http://svn.apache.org/viewvc/ofbiz/branches/release14.12/NOTICE?rev=1732878&r1=1732877&r2=1732878&view=diff ============================================================================== --- ofbiz/branches/release14.12/NOTICE (original) +++ ofbiz/branches/release14.12/NOTICE Mon Feb 29 12:07:36 2016 @@ -304,3 +304,11 @@ This product includes software developed and Open Source Applications Foundation. Licensed under the ASL2 https://github.com/mde/timezone-js ========================================================================= +========================================================================= +== notsoserial Notice == +========================================================================= + +NotSoSerial +Copyright 2015 Kantega AS + +This product includes the software from the ASM project developed at France Télécom: http://asm.objectweb.org Modified: ofbiz/branches/release14.12/build.xml URL: http://svn.apache.org/viewvc/ofbiz/branches/release14.12/build.xml?rev=1732878&r1=1732877&r2=1732878&view=diff ============================================================================== --- ofbiz/branches/release14.12/build.xml (original) +++ ofbiz/branches/release14.12/build.xml Mon Feb 29 12:07:36 2016 @@ -615,11 +615,14 @@ under the License. </java> </target> <target name="start-secure" - description="Same than start but pre-loading the contrast-rO0 lib (from OFBiz roo dir) to secure OFBiz from the deserialization issue"> + description="Same than start but pre-loading the notsoserial Java agent (from tools/security/notsoserial) to protect OFBiz from the Java deserialization vulnerability"> <java jar="ofbiz.jar" fork="true"> <jvmarg value="${memory.initial.param}"/> <jvmarg value="${memory.max.param}"/> - <jvmarg value="-javaagent:${ofbiz.home.dir}/contrast-rO0.jar"/> + <jvmarg value="-javaagent:${ofbiz.home.dir}/tools/security/notsoserial/notsoserial-1.0-SNAPSHOT.jar"/> + <jvmarg value="-Dnotsoserial.whitelist=${ofbiz.home.dir}/tools/security/notsoserial/empty.txt"/> + <jvmarg value="-Dnotsoserial.dryrun=${ofbiz.home.dir}/tools/security/notsoserial/is-deserialized.txt"/> + <jvmarg value="-Dnotsoserial.trace=${ofbiz.home.dir}/tools/security/notsoserial/deserialize-trace.txt"/> <arg value="start"/> <arg value="-portoffset=${portoffset}"/> </java> @@ -635,11 +638,14 @@ under the License. </java> </target> <target name="start-batch-secure" - description="Same than start-batch but pre-loading the contrast-rO0 lib (from OFBiz roo dir) to secure OFBiz from the deserialization issue"> + description="Same than start-batch but pre-loading the notsoserial Java agent (from tools/security/notsoserial) to protect OFBiz from the Java deserialization vulnerability"> <java jar="ofbiz.jar" fork="true" spawn="true"> <jvmarg value="${memory.initial.param}"/> <jvmarg value="${memory.max.param}"/> - <jvmarg value="-javaagent:${ofbiz.home.dir}/contrast-rO0.jar"/> + <jvmarg value="-javaagent:${ofbiz.home.dir}/tools/security/notsoserial/notsoserial-1.0-SNAPSHOT.jar"/> + <jvmarg value="-Dnotsoserial.whitelist=${ofbiz.home.dir}/tools/security/notsoserial/empty.txt"/> + <jvmarg value="-Dnotsoserial.dryrun=${ofbiz.home.dir}/tools/security/notsoserial/is-deserialized.txt"/> + <jvmarg value="-Dnotsoserial.trace=${ofbiz.home.dir}/tools/security/notsoserial/deserialize-trace.txt"/> <arg value="start-batch"/> <arg value="-portoffset=${portoffset}"/> </java> @@ -668,6 +674,19 @@ under the License. <arg value="-portoffset=${portoffset}"/><!-- Not sure this makes sense and is useful at all --> </java> </target> + <target name="start-pos-secure" + description="Same than start-pos but pre-loading the notsoserial Java agent (from tools/security/notsoserial) to protect OFBiz from the Java deserialization vulnerability"> + <java jar="ofbiz.jar" fork="true"> + <jvmarg value="${memory.initial.param}"/> + <jvmarg value="${memory.max.param}"/> + <jvmarg value="-javaagent:${ofbiz.home.dir}/tools/security/notsoserial/notsoserial-1.0-SNAPSHOT.jar"/> + <jvmarg value="-Dnotsoserial.whitelist=${ofbiz.home.dir}/tools/security/notsoserial/empty.txt"/> + <jvmarg value="-Dnotsoserial.dryrun=${ofbiz.home.dir}/tools/security/notsoserial/is-deserialized.txt"/> + <jvmarg value="-Dnotsoserial.trace=${ofbiz.home.dir}/tools/security/notsoserial/deserialize-trace.txt"/> + <arg value="pos"/> + <arg value="-portoffset=${portoffset}"/><!-- Not sure this makes sense and is useful at all --> + </java> + </target> <target name="start-both" description="Start OFBiz in both Web and POS (Point of sale) modes. Use -Dportoffset=portNumber to shift all ports with the portNumber value."> <java jar="ofbiz.jar" fork="true"> @@ -679,11 +698,14 @@ under the License. </java> </target> <target name="start-both-secure" - description="Same than start-pos but pre-loading the contrast-rO0 lib (from OFBiz roo dir) to secure OFBiz from the deserialization issue"> + description="Same than start-both but pre-loading the notsoserial Java agent (from tools/security/notsoserial) to protect OFBiz from the Java deserialization vulnerability"> <java jar="ofbiz.jar" fork="true"> <jvmarg value="${memory.initial.param}"/> - <jvmarg value="-javaagent:${ofbiz.home.dir}/contrast-rO0.jar"/> <jvmarg value="${memory.max.param}"/> + <jvmarg value="-javaagent:${ofbiz.home.dir}/tools/security/notsoserial/notsoserial-1.0-SNAPSHOT.jar"/> + <jvmarg value="-Dnotsoserial.whitelist=${ofbiz.home.dir}/tools/security/notsoserial/empty.txt"/> + <jvmarg value="-Dnotsoserial.dryrun=${ofbiz.home.dir}/tools/security/notsoserial/is-deserialized.txt"/> + <jvmarg value="-Dnotsoserial.trace=${ofbiz.home.dir}/tools/security/notsoserial/deserialize-trace.txt"/> <arg value="both"/> <arg value="-portoffset=${portoffset}"/> </java> Added: ofbiz/branches/release14.12/tools/security/dependency-check/LICENSE.txt URL: http://svn.apache.org/viewvc/ofbiz/branches/release14.12/tools/security/dependency-check/LICENSE.txt?rev=1732878&view=auto ============================================================================== --- ofbiz/branches/release14.12/tools/security/dependency-check/LICENSE.txt (added) +++ ofbiz/branches/release14.12/tools/security/dependency-check/LICENSE.txt Mon Feb 29 12:07:36 2016 @@ -0,0 +1,202 @@ + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + Licensed 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. Propchange: ofbiz/branches/release14.12/tools/security/dependency-check/LICENSE.txt ------------------------------------------------------------------------------ svn:eol-style = native Propchange: ofbiz/branches/release14.12/tools/security/dependency-check/LICENSE.txt ------------------------------------------------------------------------------ svn:keywords = Date Rev Author URL Id Propchange: ofbiz/branches/release14.12/tools/security/dependency-check/LICENSE.txt ------------------------------------------------------------------------------ svn:mime-type = text/plain Added: ofbiz/branches/release14.12/tools/security/dependency-check/NOTICE.txt URL: http://svn.apache.org/viewvc/ofbiz/branches/release14.12/tools/security/dependency-check/NOTICE.txt?rev=1732878&view=auto ============================================================================== --- ofbiz/branches/release14.12/tools/security/dependency-check/NOTICE.txt (added) +++ ofbiz/branches/release14.12/tools/security/dependency-check/NOTICE.txt Mon Feb 29 12:07:36 2016 @@ -0,0 +1,18 @@ +dependency-check-cli + +Copyright (c) 2013 Jeremy Long. All Rights Reserved. + +The licenses for the software listed below can be found in the licenses. + +This product includes software developed by The Apache Software Foundation (http://www.apache.org/). + +This product includes software developed by Jquery.com (http://jquery.com/). + +This product includes software developed by Jonathan Hedley (jsoup.org) + +This software contains unmodified binary redistributions for H2 database engine (http://www.h2database.com/), which is dual licensed and available under a modified version of the MPL 1.1 (Mozilla Public License) or under the (unmodified) EPL 1.0 (Eclipse Public License). +An original copy of the license agreement can be found at: http://www.h2database.com/html/license.html + +This product includes data from the Common Weakness Enumeration (CWE): http://cwe.mitre.org/ + +This product downloads and utilizes data from the National Vulnerability Database hosted by NIST: http://nvd.nist.gov/download.cfm \ No newline at end of file Propchange: ofbiz/branches/release14.12/tools/security/dependency-check/NOTICE.txt ------------------------------------------------------------------------------ svn:eol-style = native Propchange: ofbiz/branches/release14.12/tools/security/dependency-check/NOTICE.txt ------------------------------------------------------------------------------ svn:keywords = Date Rev Author URL Id Propchange: ofbiz/branches/release14.12/tools/security/dependency-check/NOTICE.txt ------------------------------------------------------------------------------ svn:mime-type = text/plain Added: ofbiz/branches/release14.12/tools/security/dependency-check/README.md URL: http://svn.apache.org/viewvc/ofbiz/branches/release14.12/tools/security/dependency-check/README.md?rev=1732878&view=auto ============================================================================== --- ofbiz/branches/release14.12/tools/security/dependency-check/README.md (added) +++ ofbiz/branches/release14.12/tools/security/dependency-check/README.md Mon Feb 29 12:07:36 2016 @@ -0,0 +1,24 @@ +Dependency-Check Command Line +================ +Dependency-Check Command Line can be used to check project dependencies for published security vulnerabilities. The checks +performed are a "best effort" and as such, there could be false positives as well as false negatives. However, +vulnerabilities in 3rd party components is a well-known problem and is currently documented in the 2013 OWASP +Top 10 as [A9 - Using Components with Known Vulnerabilities](https://www.owasp.org/index.php/Top_10_2013-A9-Using_Components_with_Known_Vulnerabilities). + +Documentation and links to production binary releases can be found on the [github pages](http://jeremylong.github.io/DependencyCheck/dependency-check-cli/installation.html). + +Mailing List +------------ + +Subscribe: [[hidden email]](mailto:[hidden email]) + +Post: [[hidden email]](mailto:[hidden email]) + +Copyright & License +------------ + +Dependency-Check is Copyright (c) 2012-2014 Jeremy Long. All Rights Reserved. + +Permission to modify and redistribute is granted under the terms of the Apache 2.0 license. See the [LICENSE.txt](https://raw.githubusercontent.com/jeremylong/DependencyCheck/master/LICENSE.txt) file for the full license. + +Dependency-Check Command Line makes use of other open source libraries. Please see the [NOTICE.txt](https://raw.githubusercontent.com/jeremylong/DependencyCheck/master/dependency-check-cli/NOTICE.txt) file for more information. Added: ofbiz/branches/release14.12/tools/security/dependency-check/README.txt URL: http://svn.apache.org/viewvc/ofbiz/branches/release14.12/tools/security/dependency-check/README.txt?rev=1732878&view=auto ============================================================================== --- ofbiz/branches/release14.12/tools/security/dependency-check/README.txt (added) +++ ofbiz/branches/release14.12/tools/security/dependency-check/README.txt Mon Feb 29 12:07:36 2016 @@ -0,0 +1,4 @@ +This is only given as an example. It uses the https://www.owasp.org/index.php/OWASP_Dependency_Check command line option +To have it working you must have the dependency-check command line option correctly installed. + +In any cases be sure to check https://cwiki.apache.org/confluence/display/OFBIZ/About+OWASP+Dependency+Check \ No newline at end of file Propchange: ofbiz/branches/release14.12/tools/security/dependency-check/README.txt ------------------------------------------------------------------------------ svn:eol-style = native Propchange: ofbiz/branches/release14.12/tools/security/dependency-check/README.txt ------------------------------------------------------------------------------ svn:keywords = Date Rev Author URL Id Propchange: ofbiz/branches/release14.12/tools/security/dependency-check/README.txt ------------------------------------------------------------------------------ svn:mime-type = text/plain Added: ofbiz/branches/release14.12/tools/security/dependency-check/check.bat URL: http://svn.apache.org/viewvc/ofbiz/branches/release14.12/tools/security/dependency-check/check.bat?rev=1732878&view=auto ============================================================================== --- ofbiz/branches/release14.12/tools/security/dependency-check/check.bat (added) +++ ofbiz/branches/release14.12/tools/security/dependency-check/check.bat Mon Feb 29 12:07:36 2016 @@ -0,0 +1,3 @@ +@echo %time% +dependency-check -project OFBiz -scan C:\projectASF-Mars\ofbiz --suppression C:\tools\dependency-check\suppress.xml +@echo %time% \ No newline at end of file Propchange: ofbiz/branches/release14.12/tools/security/dependency-check/check.bat ------------------------------------------------------------------------------ svn:eol-style = CRLF Added: ofbiz/branches/release14.12/tools/security/dependency-check/dependency-check-report.html URL: http://svn.apache.org/viewvc/ofbiz/branches/release14.12/tools/security/dependency-check/dependency-check-report.html?rev=1732878&view=auto ============================================================================== --- ofbiz/branches/release14.12/tools/security/dependency-check/dependency-check-report.html (added) +++ ofbiz/branches/release14.12/tools/security/dependency-check/dependency-check-report.html Mon Feb 29 12:07:36 2016 @@ -0,0 +1,23377 @@ + + + + +<!DOCTYPE html> +<html> + <head> + <title>Dependency-Check Report</title> + <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> + <link rel="shortcut icon" href="data:;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAVLSURBVFhHvZdvbFRFEMB3913v9Vr+FKUNRdtrewg1lQgRE0gMYkJSowYMwcSPkGDwg8ZigMR+UYzGaIuAEj+R+IfE+EUlRL+QYAwhGBMqkFQDpO1xd/YPBaSU9u767r0dZ5a513vtXVsq8Zcsb3bu9c3szuzsIMU8iEaj5fhYJlzRYCkZ7Utd+wbnQL+Nd0TeoyeAPLFgf/oiyTNxXw6g4WUhTz4JEtaiNXLCEE8l3seHJjlzsOJHfLxMsgHE4cje9B6eTUPxc0ZoxbFHG1qVFq9rCRsKjc+KFG3oFGQ6Kw6xJsCsDqDxNZYWbWSYVUFAJFkyaA2XWAxiHIlcGPukYg1rDCVDQKsOadmqBaxllY8CuKHBuqOlHlNKufFk/GdUmxxoeqTpMbBg1dGXRlZtqHc2R8rgedIXgk4eqNyXMblS1AE2vhWNP84qAxl2hewno6wyFHOAZOLAc6PRbU+kd2OyrmbVPTg3pjlQzDgazGmh40rKMY3LZrVBCi/Tl0z+gqJxYGV9fWNOWC0kF3Jm1/C2pZWwk6cG2olpOcDb7hsHgLQGcUWAGs0bV1K7EuSQFbbOLKmuPkOvkZ64mkzG8bXz5BirDBuP1fzQP6I+5yl9eAS9vxjYAVz9esx0P2a0ck+73VKGPFaR8Vtpx7k0ODiYZlVJmpcvfzirwi1SyUWsMiF5ZXX6A1zJzsq9mRO+A7T1lO2BIyZVN/6bJZFWnQO4Wl1dnerq6sqRbq401TWtw9qxjGT6zhfbs3+0Hrw+THPfgVhdA8Xdz3j84RpIdZOngrY1kUgMOR3lG1kVREkHhBp3smJ4wdLmf+TuoJOxuroW3NI6zN6L9B1W33MAV1+F W99mNIgUclBaYtCPObjx3lTqT5KxqJyk52y4nv5u4f7stzzNY+Hww0ncS0JXBIoDWryRN07JVlVTc9Xo74OQpV7F6ndk5CO7iVVEwDihVqxYYVtKrOc5bckIgHJIpnhl3MxfpWIuJZyWAMdo0Io1AOXMJFI0hm3VzrOiYG2BmsLEAz0Zd9DWzZmyHd/tLt+bOUmDthuzun3C8dryjqCDdzF5tqcPRr40f1AElcvl6lgmJkC5d1kWYS8bZ3HOVL0z0TcKiz70tBjAML4opVgsoeB2nIJyXfeKJfRxGo52j4ds+xwWmN9t1/7t8sDALX7vvqjdd31cChgi40YhZdXUSyiPGkAjPalUL43+/v6/e3p6btC4PHB5XsZ9sMqxZJAWbGIxwJz6gfkAWl5jcUYUbU1+3D60uIp0PPwiNR/wZAW3HERRh5Sy4C3LEhdoiAn368b6xhdoxKLRVn5nXmDpfZZFg7J00f5QgRYJlkV5GWyJVnk2yRpUKBaLFZ6QOYMFaAdW0x08xcXDr5E9E8V3wAmFD7NseO3pMf8uh1xuJYuzQuGjMJreT4rJc4/XrvZk6aZ0yZ47WPkm47M55mxnET23IrW1tRU8DUBFBlf2faYzcptGuefETRix9+NXDNhLHJmpPTenAON1xMyQRbZevaV5ooanwrbsdSz6kPF8kaEz7o9CqOEAvPO59yuFccBR4a/MjGnfNDp5M2IzgQnpd8QB41NBoxRvarWyVrgRe77Ad4vhHzX6H41S8l2eitO9ZR+/+dNDZ3lqbsW+VN/52x12YxlY04xbZd5IqUSbCd8BSiLby13AlTWwSnx6tvKNY10LzCmhm7E3kTiFYqAp/a/4lZCSUYIX6Frffmb86K6nxqJknDoZVD1Q48S0ajc1FBTXU8mFzVs/G77OmgdK0XLLZ7nNnGHuXvmn/w9yYrwzUvIefzAI8S83C2sS1J4rmAAAAABJRU5ErkJggg==" /> + <script type="text/javascript"> + /*! jQuery v@1.8.0 jquery.com | jquery.org/license */ [... 23366 lines stripped ...] Propchange: ofbiz/branches/release14.12/tools/security/dependency-check/dependency-check-report.html ------------------------------------------------------------------------------ svn:eol-style = native Propchange: ofbiz/branches/release14.12/tools/security/dependency-check/dependency-check-report.html ------------------------------------------------------------------------------ svn:keywords = Date Rev Author URL Id Propchange: ofbiz/branches/release14.12/tools/security/dependency-check/dependency-check-report.html ------------------------------------------------------------------------------ svn:mime-type = text/html Added: ofbiz/branches/release14.12/tools/security/dependency-check/suppress.xml URL: http://svn.apache.org/viewvc/ofbiz/branches/release14.12/tools/security/dependency-check/suppress.xml?rev=1732878&view=auto ============================================================================== --- ofbiz/branches/release14.12/tools/security/dependency-check/suppress.xml (added) +++ ofbiz/branches/release14.12/tools/security/dependency-check/suppress.xml Mon Feb 29 12:07:36 2016 @@ -0,0 +1,179 @@ +<?xml version="1.0" encoding="UTF-8"?> +<suppressions xmlns="https://www.owasp.org/index.php/OWASP_Dependency_Check_Suppression"> + + <!-- to check the comments yourself, simply comment out the block/s you are interested in and use Dependency Check to get the related CVE/s --> + + <suppress><!-- OFBiz uses a more recent Tomcat version --> + <notes><![CDATA[ + file name: annotations-api-3.0.jar + ]]></notes> + <sha1>87925e57a90c75bd60e2fe4c3fdbcef592c00e48</sha1> + <cpe>cpe:/a:apache:tomcat:3.0</cpe> + </suppress> + + <suppress><!-- OFBiz uses a more recent Tomcat version --> + <notes><![CDATA[ + file name: annotations-api-3.0.jar + ]]></notes> + <sha1>87925e57a90c75bd60e2fe4c3fdbcef592c00e48</sha1> + <cpe>cpe:/a:apache:tomcat:7.0.54</cpe> + </suppress> + + <suppress><!-- This concerns Wordpress only--> + <notes><![CDATA[ + file name: fontbox-1.8.5.jar + ]]></notes> + <sha1>17d32ff4cf06bfaa1ca48a1100108728d72228f0</sha1> + <cpe>cpe:/a:font_project:font:1.8.5</cpe> + </suppress> + + <suppress><!-- This concerns Wordpress only--> + <notes><![CDATA[ + file name: fontbox-1.8.5.jar + ]]></notes> + <sha1>17d32ff4cf06bfaa1ca48a1100108728d72228f0</sha1> + <cve>CVE-2015-7683</cve> + </suppress> + + <suppress><!-- OFBiz uses a more recent Tomcat version --> + <notes><![CDATA[ + file name: el-api-2.2.jar + ]]></notes> + <sha1>cdaf8fc6a6757f9a9795044cd51fd7c36fa7bc0e</sha1> + <cpe>cpe:/a:apache:tomcat:7.0.54</cpe> + </suppress> + + <suppress><!-- The classes OFBiz uses are not concerned (no UI) --> + <notes><![CDATA[ + file name: geronimo-j2ee-connector_1.5_spec-2.0.0.jar + ]]></notes> + <sha1>1da837af8f5bf839ab48352f3dbfd6c4ecedc232</sha1> + <cpe>cpe:/a:apache:geronimo:2.0</cpe> + </suppress> + + <suppress><!-- OFBiz uses a more recent Tomcat version --> + <notes><![CDATA[ + file name: jsp-api-2.2.jar + ]]></notes> + <sha1>f563c9d8a674a6de032cea14f5175b128e9d6b3a</sha1> + <cpe>cpe:/a:apache:tomcat:7.0.54</cpe> + </suppress> + + <suppress><!-- OFBiz uses a more recent Tomcat version --> + <notes><![CDATA[ + file name: servlet-api-3.0.jar + ]]></notes> + <sha1>0752bd9e92cc3c425b9553e84504111ed03f34bb</sha1> + <cpe>cpe:/a:apache:tomcat:3.0</cpe> + </suppress> + + <suppress><!-- OFBiz uses a more recent Tomcat version --> + <notes><![CDATA[ + file name: servlet-api-3.0.jar + ]]></notes> + <sha1>0752bd9e92cc3c425b9553e84504111ed03f34bb</sha1> + <cpe>cpe:/a:apache:tomcat:7.0.54</cpe> + </suppress> + + <suppress><!-- OFBiz only uses com.sun.mail.smtp.SMTPAddressFailedException: not concerned --> + <notes><![CDATA[ + file name: mail-1.5.1.jar + ]]></notes> + <sha1>9724dd44f1abbba99c9858aa05fc91d53f59e7a5</sha1> + <cpe>cpe:/a:sun:javamail:1.5.1</cpe> + </suppress> + + <suppress><!-- Waiting for update but covered, see OFBIZ-6568 --> + <notes><![CDATA[ + file name: groovy-all-2.2.1.jar + ]]></notes> + <sha1>28213a88c48651a254a21bc807712cb5b8be0baa</sha1> + <cpe>cpe:/a:apache:groovy:2.2.1</cpe> + </suppress> + + <suppress><!-- This concerns the UI/XSS and init script in whole Geronimo, OFBiz only uses this class => not concerned. Moreover IBM no longer supports Geronimo so I don't see the point of upgrading as long as it works--> + <notes><![CDATA[ + file name: geronimo-jaxr_1.0_spec-1.0.jar + ]]></notes> + <sha1>f6a3b80feb6badbe12c21c8a51ede7fcd6e91e5f</sha1> + <cpe>cpe:/a:apache:geronimo:1.0</cpe> + </suppress> + <suppress> + <notes><![CDATA[ + file name: geronimo-jms_1.1_spec-1.1.1.jar + ]]></notes> + <sha1>c872b46c601d8dc03633288b81269f9e42762cea</sha1> + <cpe>cpe:/a:apache:geronimo:1.1.1</cpe> + </suppress> + <suppress> + <notes><![CDATA[ + file name: geronimo-saaj_1.3_spec-1.1.jar + ]]></notes> + <sha1>be6e6fc49ca84631f7c47a04d5438e193db54d7c</sha1> + <cpe>cpe:/a:apache:geronimo:1.1</cpe> + </suppress> + + <suppress><!-- This concerns the init script in whole Geronimo, OFBiz only uses this class => not concerned. Moreover IBM no longer supports Geronimo so I don't see the point of upgrading as long as it works--> + <notes><![CDATA[ + file name: geronimo-transaction-3.1.1.jar + ]]></notes> + <sha1>1cfdfcff3cd6a805be401946ab14213b0bad9cb4</sha1> + <cpe>cpe:/a:apache:geronimo:3.1.1</cpe> + </suppress> + <suppress> + <notes><![CDATA[ + file name: geronimo-jaxrpc_1.1_spec-1.0.jar + ]]></notes> + <sha1>c581838de2339f61f1965db0ff912ff2ac1c4b30</sha1> + <cpe>cpe:/a:apache:geronimo:1.0</cpe> +</suppress> + <suppress> + <notes><![CDATA[ + file name: geronimo-jta_1.1_spec-1.1.1.jar + ]]></notes> + <sha1>aabab3165b8ea936b9360abbf448459c0d04a5a4</sha1> + <cpe>cpe:/a:apache:geronimo:1.1.1</cpe> + </suppress> + <suppress> + <notes><![CDATA[ + file name: geronimo-activation_1.0.2_spec-1.0.jar + ]]></notes> + <sha1>6dc4b0c7d3358ae4752cf9cc0f97f98358ea7656</sha1> + <cpe>cpe:/a:apache:geronimo:1.0</cpe> + </suppress> + + <!-- About Tomcat 7.0.65 vulnerabilities (start with tomcat-7.0.65-jasper.jar): I put not suppress (there are - too much - tons of them) because none of CVE-2009-2696 CVE-2007-5461 CVE-2002-0493 concern OFBIZ . + And CVE-2013-2185 is disputed by the Tomcat team, see OFBIZ-6752 for details --> + + <!-- About Axis 1.6.3 (start with axis2-kernel-1.6.3.jar):1.6.3 is the higher version anyway, so we can't do more here --> + + <suppress><!-- This has been handled with r1557462 for OFBIZ-5409 . Anyway nowaydays modern browsers protect from that--> + <notes><![CDATA[ + file name: package.json + ]]></notes> + <sha1>cfe99f497ed35573d7dfc291068d742399a0eee0</sha1> + <cpe>cpe:/a:jquery:jquery:1.10.0</cpe> + </suppress> + + <!-- I tried to update commons-httpclient-3.1 to httpclient-4.5.1 + httpcore-4.4.3 but commons-httpclient-3.1 is needed by Axis2-1.6.3 . + The passport component also uses commons-httpclient-3.1. It should should be updated to use httpclient-4.5.1 + httpcore-4.4.3 (while keeping commons-httpclient-3.1 for Axis2-1.6.3) + See pending OFBIZ-6755 --> + + <!-- all cpe:/a:apache:axis:1.4 can be neglected because they are related to Birt which with latest version (4.5.0) still uses Axis 1.4. So are neglected all cpe:/a:eclipse:birt: --> + + <suppress><!-- Not an issue for OFBiz. See http://seclists.org/oss-sec/2014/q2/508: "This flaw only affects Apache Zookeeper used in conjunction with [redhat] Fuse Fabric". --> + <notes><![CDATA[ + file name: zookeeper-3.4.6.jar + ]]></notes> + <sha1>01b2502e29da1ebaade2357cd1de35a855fa3755</sha1> + <cpe>cpe:/a:apache:zookeeper:3.4.6</cpe> + </suppress> + <suppress> + <notes><![CDATA[ + file name: zookeeper-3.4.6.jar + ]]></notes> + <sha1>01b2502e29da1ebaade2357cd1de35a855fa3755</sha1> + <cve>CVE-2014-0085</cve> + </suppress> + +</suppressions> Propchange: ofbiz/branches/release14.12/tools/security/dependency-check/suppress.xml ------------------------------------------------------------------------------ svn:eol-style = native Propchange: ofbiz/branches/release14.12/tools/security/dependency-check/suppress.xml ------------------------------------------------------------------------------ svn:keywords = Date Rev Author URL Id Propchange: ofbiz/branches/release14.12/tools/security/dependency-check/suppress.xml ------------------------------------------------------------------------------ svn:mime-type = text/xml Added: ofbiz/branches/release14.12/tools/security/notsoserial/LICENSE URL: http://svn.apache.org/viewvc/ofbiz/branches/release14.12/tools/security/notsoserial/LICENSE?rev=1732878&view=auto ============================================================================== --- ofbiz/branches/release14.12/tools/security/notsoserial/LICENSE (added) +++ ofbiz/branches/release14.12/tools/security/notsoserial/LICENSE Mon Feb 29 12:07:36 2016 @@ -0,0 +1,203 @@ + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + Licensed 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. + Propchange: ofbiz/branches/release14.12/tools/security/notsoserial/LICENSE ------------------------------------------------------------------------------ svn:eol-style = native Propchange: ofbiz/branches/release14.12/tools/security/notsoserial/LICENSE ------------------------------------------------------------------------------ svn:mime-type = text/plain Added: ofbiz/branches/release14.12/tools/security/notsoserial/LICENSE-ASM URL: http://svn.apache.org/viewvc/ofbiz/branches/release14.12/tools/security/notsoserial/LICENSE-ASM?rev=1732878&view=auto ============================================================================== --- ofbiz/branches/release14.12/tools/security/notsoserial/LICENSE-ASM (added) +++ ofbiz/branches/release14.12/tools/security/notsoserial/LICENSE-ASM Mon Feb 29 12:07:36 2016 @@ -0,0 +1,26 @@ +Copyright (c) 2012 France Télécom +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions +are met: +1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. +3. Neither the name of the copyright holders nor the names of its + contributors may be used to endorse or promote products derived from + this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE +LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF +THE POSSIBILITY OF SUCH DAMAGE. \ No newline at end of file Added: ofbiz/branches/release14.12/tools/security/notsoserial/NOTICE URL: http://svn.apache.org/viewvc/ofbiz/branches/release14.12/tools/security/notsoserial/NOTICE?rev=1732878&view=auto ============================================================================== --- ofbiz/branches/release14.12/tools/security/notsoserial/NOTICE (added) +++ ofbiz/branches/release14.12/tools/security/notsoserial/NOTICE Mon Feb 29 12:07:36 2016 @@ -0,0 +1,4 @@ +NotSoSerial +Copyright 2015 Kantega AS + +This product includes the software from the ASM project developed at France Télécom: http://asm.objectweb.org Propchange: ofbiz/branches/release14.12/tools/security/notsoserial/NOTICE ------------------------------------------------------------------------------ svn:eol-style = native Propchange: ofbiz/branches/release14.12/tools/security/notsoserial/NOTICE ------------------------------------------------------------------------------ svn:mime-type = text/plain Added: ofbiz/branches/release14.12/tools/security/notsoserial/README.md URL: http://svn.apache.org/viewvc/ofbiz/branches/release14.12/tools/security/notsoserial/README.md?rev=1732878&view=auto ============================================================================== --- ofbiz/branches/release14.12/tools/security/notsoserial/README.md (added) +++ ofbiz/branches/release14.12/tools/security/notsoserial/README.md Mon Feb 29 12:07:36 2016 @@ -0,0 +1,93 @@ +NotSoSerial +================ + +[](https://travis-ci.org/kantega/notsoserial) + +NotSoSerial is a Java Agent designed as a mitigation effort against deserialization attacks. + +Think of it as a "deserialization firewall". It gives you complete control over which classes your application should be allowed to deserialize. + +See http://foxglovesecurity.com/2015/11/06/what-do-weblogic-websphere-jboss-jenkins-opennms-and-your-application-have-in-common-this-vulnerability/ for details on this attack. + +## How does it work? + +NotSoSerial makes some well known vulnerable classes effectively non-deserializable by preventing them from loading. + +It does so by adding a check just before the call to ObjectInputStream.resolveClass. If the class is not allowed, an UnsupportedOperationException is called instead of calling resolveClass. + +This means the class never even gets loaded. + +## Usage + +Build NotSoSerial: + + mvn clean install + +This builds an NotSoSerial jar file in target/notsoserial-1.0-SNAPSHOT.jar + +Copy this as notsoserial.jar to your application, and add the following parameters to your Java startup script: + + -javaagent:notsoserial.jar + +> PLEASE NOTE: In this mode, NotSoSerial only blocks a few known vulnerabilities. It does not fix the problem with deserialization attacks. It only knows about some well known classes for which it rejects deserialization. See below how you can whitelist or completely reject any objects to be deserialized. + + +## Which classes are rejected? + +By default, NotSoSerial rejects deserialization of the following classes: + +* org.apache.commons.collections.functors.InvokerTransformer +* org.apache.commons.collections.functors.InstantiateTransformer +* org.apache.commons.collections4.functors.InvokerTransformer +* org.apache.commons.collections4.functors.InstantiateTransformer +* org.codehaus.groovy.runtime.ConvertedClosure +* org.codehaus.groovy.runtime.MethodClosure +* org.springframework.beans.factory.ObjectFactory +* com.sun.org.apache.xalan.internal.xsltc.trax.TemplatesImpl + +You can add your own classes blacklist by configuring a blacklist file like this: + + -javaagent:notsoserial.jar -Dnotsoserial.blacklist=my-blacklist.txt + +Where my-blacklist.txt is a file with one class or package per line. + +## Whitelisting mode + +As always, it would be better if we could accept only classes we explicitly want to allow for deserialization. Rejecting based on a whitelist is better security than rejecting based on a blacklist. + +To help build a whitelist file with legitimately serializable classes, a 'dryrun' option has been added. Together with an empty white list, this will create a list of classes which your application actually deserializes. + +This can be produced by configuring the agent as follows: + + -javaagent:notsoserial.jar -Dnotsoserial.whitelist=empty.txt -Dnotsoserial.dryrun=is-deserialized.txt + +Where 'empty.txt' is an empty file and 'is-deserialized.txt' is a file where the names of your actually deserialized classes will be written to. + +After you are confident that all deserializable classes in your application have been recorded, you may restart your app, now reusing the recorded-as-serialized file as the whitelist: + + -javaagent:notsoserial.jar -Dnotsoserial.whitelist=is-deserialized.txt + +## What happens when NotSoSerial rejects a deserialization attempt? + +An Exception will be thrown, looking something like this: + + java.lang.UnsupportedOperationException: Deserialization not allowed for class java.util.concurrent.locks.AbstractOwnableSynchronizer + at org.kantega.notsoserial.NotSoSerialClassFileTransformer.preventDeserialization(NotSoSerialClassFileTransformer.java:119) + +## Rejecting deserialization entirely + +Just use an empty whitelist. Preliminary testing with a non-trivial Java application (which does not intentionally use RMI or other serialization) seems to indicate that this might work just fine. Looks like the JDK might not need serialization for any of its internal operations. + + +## Tracing deserialization + +You might be interested not just in which classes your application deserializes, but also where in your code deserialization happens. + +This can be enabled by using the 'trace' option, like the following: + + -javaagent:notsoserial.jar -Dnotsoserial.whitelist=empty.txt -Dnotsoserial.dryrun=is-deserialized.txt -Dnotsoserial.trace=deserialize-trace.txt + +This will produce a file deserialize-trace.txt that looks something like this: + + Deserialization of class java.util.PriorityQueue (on Mon Nov 09 19:34:26 CET 2015) + at org.kantega.notsoserial.WithDryRunWhitelistAndTraceIT.deserialize Added: ofbiz/branches/release14.12/tools/security/notsoserial/README.txt URL: http://svn.apache.org/viewvc/ofbiz/branches/release14.12/tools/security/notsoserial/README.txt?rev=1732878&view=auto ============================================================================== --- ofbiz/branches/release14.12/tools/security/notsoserial/README.txt (added) +++ ofbiz/branches/release14.12/tools/security/notsoserial/README.txt Mon Feb 29 12:07:36 2016 @@ -0,0 +1,7 @@ +The notsoserial Java agent was introduced to protect your OFBiz instance from the infamous Java serialize vulnerability if you use RMI, JMX or Spring and maybe other Java classes we don't use OOTB in OFBiz. +We (PMC) decided to comment out RMI OOTB but we also decided to provide a simple way to protect yourself from all possible Java serialize vulnerabilities. + +While working on the serialize vulnerability, I (Jacques Le Roux) stumbled upon this article https://tersesystems.com/2015/11/08/closing-the-open-door-of-java-object-serialization/ and found notsoserial was a Java agent better than the Contrast one I introduced at r1717058. Because notsoserial easily protects you from all possible serialize vulnerabilities as explained at https://github.com/kantega/notsoserial#rejecting-deserialization-entirely +So I replaced contrast-rO0.jar by notsoserial-1.0-SNAPSHOT at r1730735 + r1730736. To be safe in case you use RMI for instance, use one of the start*-secure ant targets or use the JVM arguments those targets use. + +You might find more information at https://cwiki.apache.org/confluence/display/OFBIZ/The+infamous+Java+serialize+vulnerability \ No newline at end of file Propchange: ofbiz/branches/release14.12/tools/security/notsoserial/README.txt ------------------------------------------------------------------------------ svn:eol-style = native Propchange: ofbiz/branches/release14.12/tools/security/notsoserial/README.txt ------------------------------------------------------------------------------ svn:keywords = Date Rev Author URL Id Propchange: ofbiz/branches/release14.12/tools/security/notsoserial/README.txt ------------------------------------------------------------------------------ svn:mime-type = text/plain Added: ofbiz/branches/release14.12/tools/security/notsoserial/deserialize-trace.txt URL: http://svn.apache.org/viewvc/ofbiz/branches/release14.12/tools/security/notsoserial/deserialize-trace.txt?rev=1732878&view=auto ============================================================================== --- ofbiz/branches/release14.12/tools/security/notsoserial/deserialize-trace.txt (added) +++ ofbiz/branches/release14.12/tools/security/notsoserial/deserialize-trace.txt Mon Feb 29 12:07:36 2016 @@ -0,0 +1,290 @@ +Deserialization of class [Z (on Wed Feb 17 18:22:22 CET 2016) + at org.apache.derby.iapi.services.io.FormatIdInputStream.readObject + at org.apache.derby.iapi.services.io.ArrayUtil.readArrayItems + at org.apache.derby.impl.sql.GenericStorablePreparedStatement.readExternal + at org.apache.derby.iapi.services.io.FormatIdInputStream.readObject + at org.apache.derby.iapi.types.UserType.readExternal + at org.apache.derby.impl.store.raw.data.StoredPage.readRecordFromArray + at org.apache.derby.impl.store.raw.data.StoredPage.restoreRecordFromSlot + at org.apache.derby.impl.store.raw.data.BasePage.fetchFromSlot + at org.apache.derby.impl.store.raw.data.CachedPage.fetchFromSlot + at org.apache.derby.impl.store.access.conglomerate.GenericConglomerateController.fetch + at org.apache.derby.impl.sql.catalog.DataDictionaryImpl.getDescriptorViaIndexMinion + at org.apache.derby.impl.sql.catalog.DataDictionaryImpl.getDescriptorViaIndex + at org.apache.derby.impl.sql.catalog.DataDictionaryImpl.getSPSDescriptorIndex1Scan + at org.apache.derby.impl.sql.catalog.DataDictionaryImpl.getUncachedSPSDescriptor + at org.apache.derby.impl.sql.catalog.SPSNameCacheable.setIdentity + at org.apache.derby.impl.services.cache.ConcurrentCache.find + at org.apache.derby.impl.sql.catalog.DataDictionaryImpl.getSPSDescriptor + at org.apache.derby.impl.jdbc.EmbedDatabaseMetaData.prepareSPS + at org.apache.derby.impl.jdbc.EmbedDatabaseMetaData.getPreparedQueryUsingSystemTables + at org.apache.derby.impl.jdbc.EmbedDatabaseMetaData.getPreparedQuery + at org.apache.derby.impl.jdbc.EmbedDatabaseMetaData.getPreparedQuery + at org.apache.derby.impl.jdbc.EmbedDatabaseMetaData.getTables + at org.apache.commons.dbcp2.DelegatingDatabaseMetaData.getTables + at org.apache.commons.dbcp2.DelegatingDatabaseMetaData.getTables + at org.ofbiz.entity.jdbc.DatabaseUtil.getTableNames + at org.ofbiz.entity.jdbc.DatabaseUtil.checkDb + at org.ofbiz.entity.jdbc.DatabaseUtil.checkDb + at org.ofbiz.entity.datasource.GenericDAO.checkDb + at org.ofbiz.entity.datasource.GenericHelperDAO.checkDataSource + at org.ofbiz.entity.GenericDelegator.initializeOneGenericHelper + at org.ofbiz.entity.GenericDelegator.access$000 + at org.ofbiz.entity.GenericDelegator$1.call + at org.ofbiz.entity.GenericDelegator$1.call + at java.util.concurrent.FutureTask.run + at java.util.concurrent.ThreadPoolExecutor.runWorker + at java.util.concurrent.ThreadPoolExecutor$Worker.run + at java.lang.Thread.run +Deserialization of class [I (on Wed Feb 17 18:22:22 CET 2016) + at org.apache.derby.iapi.services.io.FormatIdInputStream.readObject + at org.apache.derby.iapi.sql.execute.ExecRowBuilder.readExternal + at org.apache.derby.iapi.services.io.FormatIdInputStream.readObject + at org.apache.derby.iapi.services.io.ArrayUtil.readArrayItems + at org.apache.derby.impl.sql.GenericStorablePreparedStatement.readExternal + at org.apache.derby.iapi.services.io.FormatIdInputStream.readObject + at org.apache.derby.iapi.types.UserType.readExternal + at org.apache.derby.impl.store.raw.data.StoredPage.readRecordFromArray + at org.apache.derby.impl.store.raw.data.StoredPage.restoreRecordFromSlot + at org.apache.derby.impl.store.raw.data.BasePage.fetchFromSlot + at org.apache.derby.impl.store.raw.data.CachedPage.fetchFromSlot + at org.apache.derby.impl.store.access.conglomerate.GenericConglomerateController.fetch + at org.apache.derby.impl.sql.catalog.DataDictionaryImpl.getDescriptorViaIndexMinion + at org.apache.derby.impl.sql.catalog.DataDictionaryImpl.getDescriptorViaIndex + at org.apache.derby.impl.sql.catalog.DataDictionaryImpl.getSPSDescriptorIndex1Scan + at org.apache.derby.impl.sql.catalog.DataDictionaryImpl.getUncachedSPSDescriptor + at org.apache.derby.impl.sql.catalog.SPSNameCacheable.setIdentity + at org.apache.derby.impl.services.cache.ConcurrentCache.find + at org.apache.derby.impl.sql.catalog.DataDictionaryImpl.getSPSDescriptor + at org.apache.derby.impl.jdbc.EmbedDatabaseMetaData.prepareSPS + at org.apache.derby.impl.jdbc.EmbedDatabaseMetaData.getPreparedQueryUsingSystemTables + at org.apache.derby.impl.jdbc.EmbedDatabaseMetaData.getPreparedQuery + at org.apache.derby.impl.jdbc.EmbedDatabaseMetaData.getPreparedQuery + at org.apache.derby.impl.jdbc.EmbedDatabaseMetaData.getTables + at org.apache.commons.dbcp2.DelegatingDatabaseMetaData.getTables + at org.apache.commons.dbcp2.DelegatingDatabaseMetaData.getTables + at org.ofbiz.entity.jdbc.DatabaseUtil.getTableNames + at org.ofbiz.entity.jdbc.DatabaseUtil.checkDb + at org.ofbiz.entity.jdbc.DatabaseUtil.checkDb + at org.ofbiz.entity.datasource.GenericDAO.checkDb + at org.ofbiz.entity.datasource.GenericHelperDAO.checkDataSource + at org.ofbiz.entity.GenericDelegator.initializeOneGenericHelper + at org.ofbiz.entity.GenericDelegator.access$000 + at org.ofbiz.entity.GenericDelegator$1.call + at org.ofbiz.entity.GenericDelegator$1.call + at java.util.concurrent.FutureTask.run + at java.util.concurrent.ThreadPoolExecutor.runWorker + at java.util.concurrent.ThreadPoolExecutor$Worker.run + at java.lang.Thread.run +Deserialization of class org.ofbiz.service.rmi.RemoteDispatcherImpl_Stub (on Wed Feb 17 18:22:28 CET 2016) + at sun.rmi.registry.RegistryImpl_Skel.dispatch + at sun.rmi.server.UnicastServerRef.oldDispatch + at sun.rmi.server.UnicastServerRef.dispatch + at sun.rmi.transport.Transport$1.run + at sun.rmi.transport.Transport$1.run + at java.security.AccessController.doPrivileged + at sun.rmi.transport.Transport.serviceCall + at sun.rmi.transport.tcp.TCPTransport.handleMessages + at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0 + at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$0 + at java.security.AccessController.doPrivileged + at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run + at java.util.concurrent.ThreadPoolExecutor.runWorker + at java.util.concurrent.ThreadPoolExecutor$Worker.run + at java.lang.Thread.run +Deserialization of class java.rmi.server.RemoteStub (on Wed Feb 17 18:22:28 CET 2016) + at sun.rmi.registry.RegistryImpl_Skel.dispatch + at sun.rmi.server.UnicastServerRef.oldDispatch + at sun.rmi.server.UnicastServerRef.dispatch + at sun.rmi.transport.Transport$1.run + at sun.rmi.transport.Transport$1.run + at java.security.AccessController.doPrivileged + at sun.rmi.transport.Transport.serviceCall + at sun.rmi.transport.tcp.TCPTransport.handleMessages + at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0 + at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$0 + at java.security.AccessController.doPrivileged + at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run + at java.util.concurrent.ThreadPoolExecutor.runWorker + at java.util.concurrent.ThreadPoolExecutor$Worker.run + at java.lang.Thread.run +Deserialization of class java.rmi.server.RemoteObject (on Wed Feb 17 18:22:28 CET 2016) + at sun.rmi.registry.RegistryImpl_Skel.dispatch + at sun.rmi.server.UnicastServerRef.oldDispatch + at sun.rmi.server.UnicastServerRef.dispatch + at sun.rmi.transport.Transport$1.run + at sun.rmi.transport.Transport$1.run + at java.security.AccessController.doPrivileged + at sun.rmi.transport.Transport.serviceCall + at sun.rmi.transport.tcp.TCPTransport.handleMessages + at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0 + at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$0 + at java.security.AccessController.doPrivileged + at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run + at java.util.concurrent.ThreadPoolExecutor.runWorker + at java.util.concurrent.ThreadPoolExecutor$Worker.run + at java.lang.Thread.run +Deserialization of class org.ofbiz.service.rmi.socket.ssl.SSLClientSocketFactory (on Wed Feb 17 18:22:28 CET 2016) + at sun.rmi.transport.tcp.TCPEndpoint.read + at sun.rmi.transport.LiveRef.read + at sun.rmi.server.UnicastRef2.readExternal + at java.rmi.server.RemoteObject.readObject + at sun.reflect.NativeMethodAccessorImpl.invoke0 + at sun.reflect.NativeMethodAccessorImpl.invoke + at sun.reflect.DelegatingMethodAccessorImpl.invoke + at java.lang.reflect.Method.invoke + at java.io.ObjectStreamClass.invokeReadObject + at java.io.ObjectInputStream.readSerialData + at java.io.ObjectInputStream.readOrdinaryObject + at java.io.ObjectInputStream.readObject0 + at java.io.ObjectInputStream.readObject + at sun.rmi.registry.RegistryImpl_Skel.dispatch + at sun.rmi.server.UnicastServerRef.oldDispatch + at sun.rmi.server.UnicastServerRef.dispatch + at sun.rmi.transport.Transport$1.run + at sun.rmi.transport.Transport$1.run + at java.security.AccessController.doPrivileged + at sun.rmi.transport.Transport.serviceCall + at sun.rmi.transport.tcp.TCPTransport.handleMessages + at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0 + at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$0 + at java.security.AccessController.doPrivileged + at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run + at java.util.concurrent.ThreadPoolExecutor.runWorker + at java.util.concurrent.ThreadPoolExecutor$Worker.run + at java.lang.Thread.run +Deserialization of class [Ljava.rmi.server.ObjID; (on Wed Feb 17 18:22:28 CET 2016) + at sun.rmi.transport.DGCImpl_Skel.dispatch + at sun.rmi.server.UnicastServerRef.oldDispatch + at sun.rmi.server.UnicastServerRef.dispatch + at sun.rmi.transport.Transport$1.run + at sun.rmi.transport.Transport$1.run + at java.security.AccessController.doPrivileged + at sun.rmi.transport.Transport.serviceCall + at sun.rmi.transport.tcp.TCPTransport.handleMessages + at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0 + at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$0 + at java.security.AccessController.doPrivileged + at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run + at java.util.concurrent.ThreadPoolExecutor.runWorker + at java.util.concurrent.ThreadPoolExecutor$Worker.run + at java.lang.Thread.run +Deserialization of class java.rmi.server.ObjID (on Wed Feb 17 18:22:28 CET 2016) + at sun.rmi.transport.DGCImpl_Skel.dispatch + at sun.rmi.server.UnicastServerRef.oldDispatch + at sun.rmi.server.UnicastServerRef.dispatch + at sun.rmi.transport.Transport$1.run + at sun.rmi.transport.Transport$1.run + at java.security.AccessController.doPrivileged + at sun.rmi.transport.Transport.serviceCall + at sun.rmi.transport.tcp.TCPTransport.handleMessages + at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0 + at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$0 + at java.security.AccessController.doPrivileged + at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run + at java.util.concurrent.ThreadPoolExecutor.runWorker + at java.util.concurrent.ThreadPoolExecutor$Worker.run + at java.lang.Thread.run +Deserialization of class java.rmi.server.UID (on Wed Feb 17 18:22:28 CET 2016) + at sun.rmi.transport.DGCImpl_Skel.dispatch + at sun.rmi.server.UnicastServerRef.oldDispatch + at sun.rmi.server.UnicastServerRef.dispatch + at sun.rmi.transport.Transport$1.run + at sun.rmi.transport.Transport$1.run + at java.security.AccessController.doPrivileged + at sun.rmi.transport.Transport.serviceCall + at sun.rmi.transport.tcp.TCPTransport.handleMessages + at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0 + at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$0 + at java.security.AccessController.doPrivileged + at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run + at java.util.concurrent.ThreadPoolExecutor.runWorker + at java.util.concurrent.ThreadPoolExecutor$Worker.run + at java.lang.Thread.run +Deserialization of class java.rmi.dgc.Lease (on Wed Feb 17 18:22:28 CET 2016) + at sun.rmi.transport.DGCImpl_Skel.dispatch + at sun.rmi.server.UnicastServerRef.oldDispatch + at sun.rmi.server.UnicastServerRef.dispatch + at sun.rmi.transport.Transport$1.run + at sun.rmi.transport.Transport$1.run + at java.security.AccessController.doPrivileged + at sun.rmi.transport.Transport.serviceCall + at sun.rmi.transport.tcp.TCPTransport.handleMessages + at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0 + at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$0 + at java.security.AccessController.doPrivileged + at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run + at java.util.concurrent.ThreadPoolExecutor.runWorker + at java.util.concurrent.ThreadPoolExecutor$Worker.run + at java.lang.Thread.run +Deserialization of class java.rmi.dgc.VMID (on Wed Feb 17 18:22:28 CET 2016) + at sun.rmi.transport.DGCImpl_Skel.dispatch + at sun.rmi.server.UnicastServerRef.oldDispatch + at sun.rmi.server.UnicastServerRef.dispatch + at sun.rmi.transport.Transport$1.run + at sun.rmi.transport.Transport$1.run + at java.security.AccessController.doPrivileged + at sun.rmi.transport.Transport.serviceCall + at sun.rmi.transport.tcp.TCPTransport.handleMessages + at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0 + at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$0 + at java.security.AccessController.doPrivileged + at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run + at java.util.concurrent.ThreadPoolExecutor.runWorker + at java.util.concurrent.ThreadPoolExecutor$Worker.run + at java.lang.Thread.run +Deserialization of class [B (on Wed Feb 17 18:22:28 CET 2016) + at sun.rmi.transport.DGCImpl_Skel.dispatch + at sun.rmi.server.UnicastServerRef.oldDispatch + at sun.rmi.server.UnicastServerRef.dispatch + at sun.rmi.transport.Transport$1.run + at sun.rmi.transport.Transport$1.run + at java.security.AccessController.doPrivileged + at sun.rmi.transport.Transport.serviceCall + at sun.rmi.transport.tcp.TCPTransport.handleMessages + at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0 + at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$0 + at java.security.AccessController.doPrivileged + at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run + at java.util.concurrent.ThreadPoolExecutor.runWorker + at java.util.concurrent.ThreadPoolExecutor$Worker.run + at java.lang.Thread.run +Deserialization of class java.rmi.NotBoundException (on Wed Feb 17 18:22:35 CET 2016) + at sun.rmi.transport.StreamRemoteCall.executeCall + at sun.rmi.server.UnicastRef.invoke + at sun.rmi.registry.RegistryImpl_Stub.lookup + at com.sun.jndi.rmi.registry.RegistryContext.lookup + at com.sun.jndi.rmi.registry.RegistryContext.lookup + at javax.naming.InitialContext.lookup + at org.apache.solr.core.SolrResourceLoader.locateSolrHome + at org.apache.solr.servlet.SolrDispatchFilter.init + at org.ofbiz.solr.webapp.OFBizSolrContextFilter.init + at org.apache.catalina.core.ApplicationFilterConfig.initFilter + at org.apache.catalina.core.ApplicationFilterConfig.getFilter + at org.apache.catalina.core.ApplicationFilterConfig.<init> + at org.apache.catalina.core.StandardContext.filterStart + at org.apache.catalina.core.StandardContext.startInternal + at org.apache.catalina.util.LifecycleBase.start + at org.apache.catalina.core.ContainerBase$StartChild.call + at org.apache.catalina.core.ContainerBase$StartChild.call + at java.util.concurrent.FutureTask.run + at java.util.concurrent.ThreadPoolExecutor.runWorker + at java.util.concurrent.ThreadPoolExecutor$Worker.run + at java.lang.Thread.run +Deserialization of class java.lang.Exception (on Wed Feb 17 18:22:35 CET 2016) + at sun.rmi.transport.StreamRemoteCall.executeCall + at sun.rmi.server.UnicastRef.invoke + at sun.rmi.registry.RegistryImpl_Stub.lookup + at com.sun.jndi.rmi.registry.RegistryContext.lookup + at com.sun.jndi.rmi.registry.RegistryContext.lookup + at javax.naming.InitialContext.lookup + at org.apache.solr.core.SolrResourceLoader.locateSolrHome + at org.apache.solr.servlet.SolrDispatchFilter.init + at org.ofbiz.solr.webapp.OFBizSolrContextFilter.init + at org.apache.catalina.core.ApplicationFilterConfig.initFilter + at org.apache.catalina.core.ApplicationFilterConfig.getFilter + at org.apache.catalina.core.ApplicationFilterConfig.<init> + at org.apache.catalina.core.StandardContext.filterStart + at org.apache.catalina.core.StandardContext.startInternal + at org.apache.catalina.util.LifecycleBase.start + at org.apach \ No newline at end of file Propchange: ofbiz/branches/release14.12/tools/security/notsoserial/deserialize-trace.txt ------------------------------------------------------------------------------ svn:eol-style = native Propchange: ofbiz/branches/release14.12/tools/security/notsoserial/deserialize-trace.txt ------------------------------------------------------------------------------ svn:keywords = Date Rev Author URL Id Propchange: ofbiz/branches/release14.12/tools/security/notsoserial/deserialize-trace.txt ------------------------------------------------------------------------------ svn:mime-type = text/plain Added: ofbiz/branches/release14.12/tools/security/notsoserial/empty.txt URL: http://svn.apache.org/viewvc/ofbiz/branches/release14.12/tools/security/notsoserial/empty.txt?rev=1732878&view=auto ============================================================================== (empty) Propchange: ofbiz/branches/release14.12/tools/security/notsoserial/empty.txt ------------------------------------------------------------------------------ svn:eol-style = native Propchange: ofbiz/branches/release14.12/tools/security/notsoserial/empty.txt ------------------------------------------------------------------------------ svn:keywords = Date Rev Author URL Id Propchange: ofbiz/branches/release14.12/tools/security/notsoserial/empty.txt ------------------------------------------------------------------------------ svn:mime-type = text/plain Added: ofbiz/branches/release14.12/tools/security/notsoserial/is-deserialized.txt URL: http://svn.apache.org/viewvc/ofbiz/branches/release14.12/tools/security/notsoserial/is-deserialized.txt?rev=1732878&view=auto ============================================================================== --- ofbiz/branches/release14.12/tools/security/notsoserial/is-deserialized.txt (added) +++ ofbiz/branches/release14.12/tools/security/notsoserial/is-deserialized.txt Mon Feb 29 12:07:36 2016 @@ -0,0 +1,20 @@ +[Z +[I +org.ofbiz.service.rmi.RemoteDispatcherImpl_Stub +java.rmi.server.RemoteStub +java.rmi.server.RemoteObject +org.ofbiz.service.rmi.socket.ssl.SSLClientSocketFactory +[Ljava.rmi.server.ObjID; +java.rmi.server.ObjID +java.rmi.server.UID +java.rmi.dgc.Lease +java.rmi.dgc.VMID +[B +java.rmi.NotBoundException +java.lang.Exception +java.lang.Throwable +[Ljava.lang.StackTraceElement; +java.lang.StackTraceElement +java.util.Collections$UnmodifiableList +java.util.Collections$UnmodifiableCollection +java.util.ArrayList Propchange: ofbiz/branches/release14.12/tools/security/notsoserial/is-deserialized.txt ------------------------------------------------------------------------------ svn:eol-style = native Propchange: ofbiz/branches/release14.12/tools/security/notsoserial/is-deserialized.txt ------------------------------------------------------------------------------ svn:keywords = Date Rev Author URL Id Propchange: ofbiz/branches/release14.12/tools/security/notsoserial/is-deserialized.txt ------------------------------------------------------------------------------ svn:mime-type = text/plain Added: ofbiz/branches/release14.12/tools/security/notsoserial/notsoserial-1.0-SNAPSHOT.jar URL: http://svn.apache.org/viewvc/ofbiz/branches/release14.12/tools/security/notsoserial/notsoserial-1.0-SNAPSHOT.jar?rev=1732878&view=auto ============================================================================== Binary file - no diff available. Propchange: ofbiz/branches/release14.12/tools/security/notsoserial/notsoserial-1.0-SNAPSHOT.jar ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream |
Free forum by Nabble | Edit this page |