Subsonic security issue

Need help? Post your questions here.

Moderator: moderators

Subsonic security issue

Postby doktourtv » Wed Nov 14, 2012 5:52 pm

I have installed the evaluation version of Subsonic and I am very impressed with the work that went into its design! We are eager to "donate" and register the program but there is an grave issue the must be addressed:

Subsonic currently uses version 6 of the Jetty server. This version has well known and very dangerous security problems which have been corrected in version 9 (and I believe in version 8 as well).

Sadly, since our computer is a business computer, it must meet PCI compliance. The use of Jetty 6 is an automatic failure (which demonstrates how insecure version 6 really is), so without the upgrade in Jetty subsonic is rendered useless to us. Jetty 6 or below is prohibited due to the security holes.

Would someone explain how to upgrade the Jetty server in version 4.7 of subsonic running on Windows 7 64 bit platform? Or is an upgraded version currently in the works?

Please advise
Thank you
doktourtv
 
Posts: 4
Joined: Fri Nov 09, 2012 1:26 pm

Re: Subsonic security issue

Postby bushman4 » Wed Nov 14, 2012 6:14 pm

Run it in Tomcat using the WAR version.

As of right now, Tomcat 6 is still required for the stock version. There are mod versions that allow the use of Tomcat 7 as the servlet container.

HTH,

Glenn
Glenn Sullivan
Subsonic 6.1.6 (Unraid Docker)
90 regular Subsonic Users

Library as of 2024-10-28:
4,527 artists
19,996 albums
282,151 songs
10201.40 GB
41,583 hours
User avatar
bushman4
 
Posts: 875
Joined: Thu Dec 02, 2010 1:47 pm
Location: Massachusetts, USA

Re: Subsonic security issue

Postby hakko » Wed Nov 14, 2012 6:44 pm

I'm maintaining a Subsonic mod called MusicCabinet. It's purely built for streaming music, I can't tell from your post if that's a plus or a no-no.

However, it runs on Jetty 8, security is upgraded from default Acegi to the newer Spring Security, with user passwords stored as salted hash sums (default Subsonic behavior is to store them in clear text). It also runs on Tomcat 7. Link: viewtopic.php?f=11&t=10587
MusicCabinet developer
hakko
 
Posts: 1416
Joined: Tue Apr 17, 2012 7:05 pm
Location: Sweden

Re: Subsonic security issue

Postby doktourtv » Thu Nov 15, 2012 5:45 pm

bushman4 wrote:Run it in Tomcat using the WAR version.

As of right now, Tomcat 6 is still required for the stock version. There are mod versions that allow the use of Tomcat 7 as the servlet container.

HTH,

Glenn


I do not understand. How would I implement tomcat 7 on Windows 7? How would that replace Jetty 6?
doktourtv
 
Posts: 4
Joined: Fri Nov 09, 2012 1:26 pm

Re: Subsonic security issue

Postby doktourtv » Thu Nov 15, 2012 5:46 pm

hakko wrote:I'm maintaining a Subsonic mod called MusicCabinet. It's purely built for streaming music, I can't tell from your post if that's a plus or a no-no.

However, it runs on Jetty 8, security is upgraded from default Acegi to the newer Spring Security, with user passwords stored as salted hash sums (default Subsonic behavior is to store them in clear text). It also runs on Tomcat 7. Link: viewtopic.php?f=11&t=10587


Thank you for your reply, however, unfortunately it is the VIDEO streaming that we are seeking.
Any ideas on upgrading Jetty 6 to 9 in version 4.7?
doktourtv
 
Posts: 4
Joined: Fri Nov 09, 2012 1:26 pm

Re: Subsonic security issue

Postby bushman4 » Thu Nov 15, 2012 6:24 pm

doktourtv wrote:I do not understand. How would I implement tomcat 7 on Windows 7? How would that replace Jetty 6?


  • Install Tomcat 6 for windows from the official installation source here:
    http://apache.cs.utah.edu/tomcat/tomcat ... ws-x86.zip
  • Set up Tomcat on the ports that you want Subsonic to run on.
  • Stop the Subsonic service.
  • Start the Tomcat service and verify that it is operating by accessing the Tomcat home page at
    Code: Select all
    http://localhost:<YourHTTPPort>

  • Download the WAR version of Subsonic and drop it in the webapp folder of your tomcat install folder.
  • Restart the tomcat service.

Subsonic will be accessible via
Code: Select all
http://localhost:<YourHTTPPort>/subsonic
and will be using Tomcat, an enterprise class Java Servlet container, instead of Jetty, a slightly less robust and scale-able servlet server

HTH,

Glenn
Glenn Sullivan
Subsonic 6.1.6 (Unraid Docker)
90 regular Subsonic Users

Library as of 2024-10-28:
4,527 artists
19,996 albums
282,151 songs
10201.40 GB
41,583 hours
User avatar
bushman4
 
Posts: 875
Joined: Thu Dec 02, 2010 1:47 pm
Location: Massachusetts, USA

Re: Subsonic security issue

Postby doktourtv » Mon Dec 17, 2012 3:45 am

An excellent and easily understood solution.

Thank you
doktourtv
 
Posts: 4
Joined: Fri Nov 09, 2012 1:26 pm


Return to Help

Who is online

Users browsing this forum: No registered users and 59 guests