OpenSearch/plugins
Robert Muir 6d8c035f70 Add SpecialPermission to guard exceptions to security policy.
Closes #13854

Squashed commit of the following:

commit 42c1166efc55adda0d13fed77de583c0973e44b3
Author: Robert Muir <rmuir@apache.org>
Date:   Tue Sep 29 11:59:43 2015 -0400

    Add paranoia

    Groovy holds on to a classloader, so check it before compilation too.
    I have not reviewed yet what Rhino is doing, but just be safe.

commit b58668a81428e964dd5ffa712872c0a34897fc91
Author: Robert Muir <rmuir@apache.org>
Date:   Tue Sep 29 11:46:06 2015 -0400

    Add SpecialPermission to guard exceptions to security policy.

    In some cases (e.g. buggy cloud libraries, scripting engines), we must
    grant dangerous permissions to contained cases. Those AccessController blocks
    are dangerous, since they truncate the stack, and can allow privilege escalation.

    This PR adds a simple permission to check before each one, so that unprivileged code
    like groovy scripts, can't do anything they shouldn't be allowed to do otherwise.
2015-09-29 17:32:56 -04:00
..
analysis-icu Merge pull request #13702 from rmuir/broke_javadocs 2015-09-22 00:46:31 -04:00
analysis-kuromoji Remove unnecessary copies of license and notice files 2015-09-18 17:48:30 -07:00
analysis-phonetic Merge pull request #13702 from rmuir/broke_javadocs 2015-09-22 00:46:31 -04:00
analysis-smartcn Remove unnecessary copies of license and notice files 2015-09-18 17:48:30 -07:00
analysis-stempel Remove unnecessary copies of license and notice files 2015-09-18 17:48:30 -07:00
cloud-gce Add SpecialPermission to guard exceptions to security policy. 2015-09-29 17:32:56 -04:00
delete-by-query Merge branch 'master' into feature/query-refactoring 2015-09-22 12:43:55 +02:00
discovery-azure Fix ping timeout settings inconsistencies 2015-09-23 12:58:23 -04:00
discovery-ec2 Add SpecialPermission to guard exceptions to security policy. 2015-09-29 17:32:56 -04:00
discovery-multicast Merge pull request #13702 from rmuir/broke_javadocs 2015-09-22 00:46:31 -04:00
jvm-example Merge pull request #13663 from rjernst/license_cleanup 2015-09-21 18:04:57 -07:00
lang-expression Add SpecialPermission to guard exceptions to security policy. 2015-09-29 17:32:56 -04:00
lang-groovy Add SpecialPermission to guard exceptions to security policy. 2015-09-29 17:32:56 -04:00
lang-javascript Add SpecialPermission to guard exceptions to security policy. 2015-09-29 17:32:56 -04:00
lang-python Add SpecialPermission to guard exceptions to security policy. 2015-09-29 17:32:56 -04:00
mapper-murmur3 Test: Move rest-api-spec for plugins into test resources 2015-09-16 03:04:53 -07:00
mapper-size Test: Move rest-api-spec for plugins into test resources 2015-09-16 03:04:53 -07:00
repository-azure Fix all javadocs issues, re-enable compiler warnings (but disable on java9 where maven is broken) 2015-09-21 23:35:32 -04:00
repository-s3 Add SpecialPermission to guard exceptions to security policy. 2015-09-29 17:32:56 -04:00
site-example Test: Move rest-api-spec for plugins into test resources 2015-09-16 03:04:53 -07:00
store-smb [cloud-azure] Split azure plugin in 3 plugins 2015-09-21 17:55:23 +02:00
pom.xml Factor groovy out of core into lang-groovy 2015-09-28 20:17:45 -04:00