X2Go Bug report logs - #685
user x2gobroker can evoke any command on X2Go Servers

version graph

Package: python-x2gobroker; Maintainer for python-x2gobroker is (unknown); Source for python-x2gobroker is src:x2gobroker.

Reported by: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>

Date: Tue, 2 Dec 2014 16:15:02 UTC

Severity: important

Tags: pending

Found in version 0.0.3.0-preview

Fixed in version 0.0.3.0

Done: X2Go Release Manager <git-admin@x2go.org>

Bug is archived. No further changes may be made.

Full log


Message #5 received at submit@bugs.x2go.org (full text, mbox, reply):

Received: (at submit) by bugs.x2go.org; 2 Dec 2014 16:12:31 +0000
From mike.gabriel@das-netzwerkteam.de  Tue Dec  2 17:12:29 2014
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on
	ymir.das-netzwerkteam.de
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,URIBL_BLOCKED
	autolearn=ham version=3.3.2
Received: from freya.das-netzwerkteam.de (freya.das-netzwerkteam.de [88.198.48.199])
	by ymir.das-netzwerkteam.de (Postfix) with ESMTPS id 8294C5E0DB
	for <submit@bugs.x2go.org>; Tue,  2 Dec 2014 17:12:29 +0100 (CET)
Received: from grimnir.das-netzwerkteam.de (grimnir.das-netzwerkteam.de [78.46.204.98])
	by freya.das-netzwerkteam.de (Postfix) with ESMTPS id 24A8D1B99
	for <submit@bugs.x2go.org>; Tue,  2 Dec 2014 17:12:29 +0100 (CET)
Received: from localhost (localhost [127.0.0.1])
	by grimnir.das-netzwerkteam.de (Postfix) with ESMTP id 0ECE73BA21
	for <submit@bugs.x2go.org>; Tue,  2 Dec 2014 17:12:29 +0100 (CET)
X-Virus-Scanned: Debian amavisd-new at grimnir.das-netzwerkteam.de
Received: from grimnir.das-netzwerkteam.de ([127.0.0.1])
	by localhost (grimnir.das-netzwerkteam.de [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id WO6vlrqCLJyr for <submit@bugs.x2go.org>;
	Tue,  2 Dec 2014 17:12:28 +0100 (CET)
Received: from grimnir.das-netzwerkteam.de (localhost [127.0.0.1])
	by grimnir.das-netzwerkteam.de (Postfix) with ESMTPS id C91203BA20
	for <submit@bugs.x2go.org>; Tue,  2 Dec 2014 17:12:28 +0100 (CET)
Received: from p5B3B8969.dip0.t-ipconnect.de (p5B3B8969.dip0.t-ipconnect.de
 [91.59.137.105]) by mail.das-netzwerkteam.de (Horde Framework) with HTTP;
 Tue, 02 Dec 2014 16:12:28 +0000
Date: Tue, 02 Dec 2014 16:12:28 +0000
Message-ID: <20141202161228.Horde.s0pU6H-pvmZNUvWheV4xMw4@mail.das-netzwerkteam.de>
From: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
To: submit@bugs.x2go.org
Subject: user x2gobroker can evoke any command on X2Go Servers
User-Agent: Internet Messaging Program (IMP) H5 (6.2.2)
Accept-Language: en,de
Organization: DAS-NETZWERKTEAM
X-Originating-IP: 91.59.137.105
X-Remote-Browser: Mozilla/5.0 (X11; Linux x86_64; rv:32.0) Gecko/20100101
 Firefox/32.0 Iceweasel/32.0
Content-Type: multipart/signed; boundary="=_AEwAIPRoCLn_6R0NDHFAdg1";
 protocol="application/pgp-signature"; micalg=pgp-sha1
MIME-Version: 1.0
[Message part 1 (text/plain, inline)]
Package: python-x2gobroker
Severity: important
Version: 0.0.3.0-preview

Currently, x2gobroker-pubkeyauthorizer received SSH public keys from  
the X2Go Session Broker. Those key are stored as-is into  
~x2gobroker/.ssh/authorized_keys.

However, we need to add a force_command option into those pubkey  
lines, so that only x2gobroker-agent can be called via X2Go Session  
Broker.

At the moment user x2gobroker@x2gobroker-machine can issue arbitrary  
commands on the X2Go Server (which is not really painful, but should  
be avoided in general).

Mike

-- 

DAS-NETZWERKTEAM
mike gabriel, herweg 7, 24357 fleckeby
fon: +49 (1520) 1976 148

GnuPG Key ID 0x25771B31
mail: mike.gabriel@das-netzwerkteam.de, http://das-netzwerkteam.de

freeBusy:
https://mail.das-netzwerkteam.de/freebusy/m.gabriel%40das-netzwerkteam.de.xfb
[Message part 2 (application/pgp-signature, inline)]

Send a report that this bug log contains spam.


X2Go Developers <owner@bugs.x2go.org>. Last modified: Wed Oct 30 12:56:46 2024; Machine Name: ymir.das-netzwerkteam.de

X2Go Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.