# Logstash Input Plugins remote code execution code execution concerns

**URL:** <https://discuss.elastic.co/t/logstash-input-plugins-remote-code-execution-code-execution-concerns/166143>\
**Category:** Logstash\
**Created:** [January 29, 2019, 10:52am UTC](https://discuss.elastic.co/t/logstash-input-plugins-remote-code-execution-code-execution-concerns/166143 "2019-01-29T10:52:53Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![siddharthgoel88](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/siddharthgoel88/32/10616_2.png) [@siddharthgoel88](https://discuss.elastic.co/u/siddharthgoel88)\
**Post date:** [January 29, 2019, 10:52am UTC](https://discuss.elastic.co/t/logstash-input-plugins-remote-code-execution-code-execution-concerns/166143/1 "2019-01-29T10:52:53Z")

</div>

We are currently using Elastic Stack 6.2.4 (Elasticsearch, Logstash, Filebeat). In our setup we have two servers -

- Server A : This one has our publicly exposed applications for which we need to do log management. Filebeat is installed on this server and the events are forwarded to Server B (where other Elastic components are installed).
- Server B: Here Logstash and Elasticsearch are installed. Elasticsearch binds to localhost:9200 while Logstash binds to exposed network interface. Logstash has -
  - Beats input plugin
  - Some filters which does necessary logs transformation for our application logs
  - Output plugin pointing to the local Elasticsearch instance

Now my concerns are as follows -

- How does Logstash, and its plugins like Input Beats Plugin ensure that they are not vulnerable to "Remote Code Execution" if some malicious payload is sent via Filebeat?
- Is it secure by design?
  - If yes, then how?
  - If no, then what measures does one need to take care?

- Is there any documentation online in this regard?

Sorry for multiple questions here but these seems quite important to me.

---

<div class="post-metadata">

**Author:** ![siddharthgoel88](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/siddharthgoel88/32/10616_2.png) [@siddharthgoel88](https://discuss.elastic.co/u/siddharthgoel88)\
**Post date:** [February 26, 2019, 3:19am UTC](https://discuss.elastic.co/t/logstash-input-plugins-remote-code-execution-code-execution-concerns/166143/2 "2019-02-26T03:19:50Z")

</div>

Can someone here help me with my above query?

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [March 26, 2019, 3:19am UTC](https://discuss.elastic.co/t/logstash-input-plugins-remote-code-execution-code-execution-concerns/166143/3 "2019-03-26T03:19:50Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
