<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Can you clarify Vulnerability report SPL-144192? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Can-you-clarify-Vulnerability-report-SPL-144192/m-p/316441#M164690</link>
    <description>&lt;P&gt;Thanks for the explanation. Makes sense.&lt;/P&gt;</description>
    <pubDate>Mon, 04 Dec 2017 14:35:54 GMT</pubDate>
    <dc:creator>chriswilkes33</dc:creator>
    <dc:date>2017-12-04T14:35:54Z</dc:date>
    <item>
      <title>Can you clarify Vulnerability report SPL-144192?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Can-you-clarify-Vulnerability-report-SPL-144192/m-p/316437#M164686</link>
      <description>&lt;P&gt;Vulnerability report SPL-144192 seems to have contradicting data in it. It begins by talking about being vulnerable to this specific thing when running init or control scripts as a root user, but later in the report it mentions some specific conditions you must meet to be vulnerable, the first being run init scripts as non-root user.&lt;/P&gt;

&lt;P&gt;Soooo...which is it?&lt;/P&gt;

&lt;P&gt;How do I know if I'm vulnerable with such contradictory information?&lt;/P&gt;

&lt;P&gt;I don't have enough karma points to post links apparently, even to splunks own web servers, but Ive attempted below to post a link in case it lets me... &lt;/P&gt;

&lt;P&gt;splunk.com/view/SP-CAAAP3M#MitigationandUpgrades&lt;/P&gt;</description>
      <pubDate>Thu, 30 Nov 2017 21:23:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Can-you-clarify-Vulnerability-report-SPL-144192/m-p/316437#M164686</guid>
      <dc:creator>chriswilkes33</dc:creator>
      <dc:date>2017-11-30T21:23:41Z</dc:date>
    </item>
    <item>
      <title>Re: Can you clarify Vulnerability report SPL-144192?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Can-you-clarify-Vulnerability-report-SPL-144192/m-p/316438#M164687</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/197187"&gt;@chriswilkes33&lt;/a&gt;,&lt;/P&gt;

&lt;P&gt;Before you go through below content, please consider below configuration for Redhat only and I am considering that splunk is running as &lt;CODE&gt;splunk&lt;/CODE&gt; user, command or configuration might change for different version of OS. &lt;span class="lia-unicode-emoji" title=":face_with_tongue:"&gt;😛&lt;/span&gt;&lt;/P&gt;

&lt;P&gt;After Splunk version 6.1, splunk changed init script which you created by root user using command &lt;CODE&gt;$SPLUNK_HOME/bin/splunk enable boot-start –user &amp;lt;user&amp;gt;&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;So /etc/init.d/splunk script includes command like for start, stop, restart and status&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;      "/opt/splunkforwarder/bin/splunk" start --no-prompt --answer-yes
      "/opt/splunkforwarder/bin/splunk" stop
      "/opt/splunkforwarder/bin/splunk" restart
      "/opt/splunkforwarder/bin/splunk" status
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;However before Splunk version 6.1 when you created /etc/init.d/splunk using command &lt;CODE&gt;$SPLUNK_HOME/bin/splunk enable boot-start –user &amp;lt;user&amp;gt;&lt;/CODE&gt; by root user at that start, stop, restart and status command looke like below&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;  /bin/su splunk -c "\"/opt/splunkforwarder/bin/splunk\" start --no-prompt --answer-yes"
  /bin/su splunk -c "\"/opt/splunkforwarder/bin/splunk\" stop "
  /bin/su splunk -c "\"/opt/splunkforwarder/bin/splunk\" restart "
  /bin/su splunk -c "\"/opt/splunkforwarder/bin/splunk\" status "
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Now whether you are affected or not, you need to check 2 things&lt;/P&gt;

&lt;OL&gt;
&lt;LI&gt;If $SPLUNK_HOME/etc/splunk-launch.conf contains &lt;CODE&gt;SPLUNK_OS_USER=&amp;lt;user&amp;gt;&lt;/CODE&gt; line&lt;/LI&gt;
&lt;LI&gt;&lt;P&gt;And you created init script after splunk version 6.1, using command &lt;CODE&gt;$SPLUNK_HOME/bin/splunk enable boot-start –user &amp;lt;user&amp;gt;&lt;/CODE&gt; by root user, which contains command as below&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;      "/opt/splunkforwarder/bin/splunk" start --no-prompt --answer-yes
      "/opt/splunkforwarder/bin/splunk" stop
      "/opt/splunkforwarder/bin/splunk" restart
      "/opt/splunkforwarder/bin/splunk" status
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;If you satisfy both the condition then you are affected.&lt;BR /&gt;
Mitigation is you need to change those command to look like this&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;su - splunk -c "\"/opt/splunkforwarder/bin/splunk\" start --no-prompt --answer-yes"
su - splunk -c "\"/opt/splunkforwarder/bin/splunk\" stop "
su - splunk -c "\"/opt/splunkforwarder/bin/splunk\" restart "
su - splunk -c "\"/opt/splunkforwarder/bin/splunk\" status "
&lt;/CODE&gt;&lt;/PRE&gt;&lt;/LI&gt;
&lt;/OL&gt;

&lt;P&gt;I hope this clears.&lt;/P&gt;

&lt;P&gt;Thanks,&lt;BR /&gt;
Harshil&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 16:59:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Can-you-clarify-Vulnerability-report-SPL-144192/m-p/316438#M164687</guid>
      <dc:creator>harsmarvania57</dc:creator>
      <dc:date>2020-09-29T16:59:55Z</dc:date>
    </item>
    <item>
      <title>Re: Can you clarify Vulnerability report SPL-144192?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Can-you-clarify-Vulnerability-report-SPL-144192/m-p/316439#M164688</link>
      <description>&lt;P&gt;Thanks! That sounds reasonable.&lt;/P&gt;

&lt;P&gt;Will there be a proper solution by splunk for this problem?&lt;/P&gt;</description>
      <pubDate>Mon, 04 Dec 2017 08:31:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Can-you-clarify-Vulnerability-report-SPL-144192/m-p/316439#M164688</guid>
      <dc:creator>DATEVeG</dc:creator>
      <dc:date>2017-12-04T08:31:58Z</dc:date>
    </item>
    <item>
      <title>Re: Can you clarify Vulnerability report SPL-144192?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Can-you-clarify-Vulnerability-report-SPL-144192/m-p/316440#M164689</link>
      <description>&lt;P&gt;As of now splunk suggested to update &lt;CODE&gt;/etc/init.d/splunk&lt;/CODE&gt; as per answer given by me.&lt;/P&gt;</description>
      <pubDate>Mon, 04 Dec 2017 08:41:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Can-you-clarify-Vulnerability-report-SPL-144192/m-p/316440#M164689</guid>
      <dc:creator>harsmarvania57</dc:creator>
      <dc:date>2017-12-04T08:41:14Z</dc:date>
    </item>
    <item>
      <title>Re: Can you clarify Vulnerability report SPL-144192?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Can-you-clarify-Vulnerability-report-SPL-144192/m-p/316441#M164690</link>
      <description>&lt;P&gt;Thanks for the explanation. Makes sense.&lt;/P&gt;</description>
      <pubDate>Mon, 04 Dec 2017 14:35:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Can-you-clarify-Vulnerability-report-SPL-144192/m-p/316441#M164690</guid>
      <dc:creator>chriswilkes33</dc:creator>
      <dc:date>2017-12-04T14:35:54Z</dc:date>
    </item>
  </channel>
</rss>

