FS#32985 - [xbmc] systemd service file starts X listening on 6000/tcp

Attached to Project: Community Packages
Opened by henning mueller (phects) - Thursday, 06 December 2012, 12:54 GMT
Last edited by Sergej Pupykin (sergej) - Monday, 10 December 2012, 10:15 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Sergej Pupykin (sergej)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:

When XBMC is started in standalone mode with the systemd service, X listens on port 6000/tcp for :: (and 0.0.0.0). As far as I know, the manipulation of X clients should only be possible with the correct MIT-MAGIC-COOKIE, but this potentially attackable setting should be opt-in (as it is in the default Arch Linux X startup configuration).

I attached a fixed service file.


Additional info:

I recognized it with "xbmc-git-20121205-1" but according to the .service file, the problem should also be existing in "xbmc-11.0-13".


Steps to reproduce:
* # systemctl start xbmc
* # netstat -tulpen
This task depends upon

Closed by  Sergej Pupykin (sergej)
Monday, 10 December 2012, 10:15 GMT
Reason for closing:  Deferred
Additional comments about closing:  fixed in svn, will come in next build

Loading...