Re: tgtd buffer overflow and command injection vulnerabilities

FUJITA Tomonori <[email protected]> Sat, 14 Jun 2014 22:29:01 +0900 (JST)
Newsgroups org.kernel.vger.stgt
Message-ID <20140614.222901.1568838937885774892.fujita.tomonori@lab.ntt.co.jp>
Sorry about the delay,

On Tue, 10 Jun 2014 19:17:35 +0000
"Hullinger, Jason (Cloud Services)" <[email protected]> wrote:

> The function call_program in the tgtd daemon includes a callback function
> that will run arbitrary commands. Additionally, it does not check that the

Yeah, the feature is intentional:

http://www.spinics.net/lists/linux-stgt/msg02065.html

No security about tgtadm. A user who can use tgtadm has the root
permission. He can do whatever he want to on the machine. He doesn't
need to use a security hole in tgtd and tgtadm.

Of course, we care about security about iscsi and isns ports.