From issues-return-6003-archive-asf-public=cust-asf.ponee.io@lucene.apache.org Tue Dec 3 18:29:03 2019 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [207.244.88.153]) by mx-eu-01.ponee.io (Postfix) with SMTP id D59B6180629 for ; Tue, 3 Dec 2019 19:29:02 +0100 (CET) Received: (qmail 1923 invoked by uid 500); 3 Dec 2019 18:29:01 -0000 Mailing-List: contact issues-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@lucene.apache.org Delivered-To: mailing list issues@lucene.apache.org Received: (qmail 1846 invoked by uid 99); 3 Dec 2019 18:29:01 -0000 Received: from mailrelay1-us-west.apache.org (HELO mailrelay1-us-west.apache.org) (209.188.14.139) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Dec 2019 18:29:01 +0000 Received: from jira-he-de.apache.org (static.172.67.40.188.clients.your-server.de [188.40.67.172]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id E16CEE3065 for ; Tue, 3 Dec 2019 18:29:00 +0000 (UTC) Received: from jira-he-de.apache.org (localhost.localdomain [127.0.0.1]) by jira-he-de.apache.org (ASF Mail Server at jira-he-de.apache.org) with ESMTP id 42FA078041C for ; Tue, 3 Dec 2019 18:29:00 +0000 (UTC) Date: Tue, 3 Dec 2019 18:29:00 +0000 (UTC) From: "Erik Hatcher (Jira)" To: issues@lucene.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (SOLR-13993) sandbox velocity template render MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/SOLR-13993?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Erik Hatcher updated SOLR-13993: -------------------------------- Attachment: SOLR-13993.patch > sandbox velocity template render > -------------------------------- > > Key: SOLR-13993 > URL: https://issues.apache.org/jira/browse/SOLR-13993 > Project: Solr > Issue Type: Improvement > Security Level: Public(Default Security Level. Issues are Public) > Reporter: Robert Muir > Priority: Major > Attachments: SOLR-13993.patch > > > This thing seems dangerous :) > Making the whole solr secure is a whole nother thing: (see e.g. SOLR-13991 and we haven't even gotten started). Its pretty difficult to convert whole large app to work securely. It is going to take time. > In the meantime, if we have things that might do something dangerous, and security manager is enabled, we can put them into a special little sandbox and throw away the key: for example we can intentionally discard permissions we don't need so they can't launch stuff, if we really don't trust them, we can start filtering what classes classloader will load. > This isn't that crazy at all to do, e.g. your web browser does similar tricks to try to sandbox specific parts that might do something unexpected and cause security issue. -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org For additional commands, e-mail: issues-help@lucene.apache.org