Oliver Zeigermann | 2 Nov 09:26
Picon
Favicon

Warning: Security-Bug in Slide

Folks!

As described here

http://www.milw0rm.com/exploits/4567

there is a security bug in the current Slide release. Using the LOCK
methode it is possible to display content from your local file system.
This works by passing over literate XML that contains entities that
refer to your local file system.

AFAIK this can not be prevented by the XML implementation Slide uses (JDOM).

A quick fix would be to disable the LOCK method in the web.xml by
commenting it out or removing it.

I have also committed a patched LockMethod.java that does not return
literate XML at all. This may cause trouble with the owner filed that
some clients require, but it is the best I can do for now.

It is checked in in the Slide 2.1 release branch and in the HEAD
branch. For existing Slide 2.1 installations it would suffice to check
out, compile and replace the LockMethod class. You can do so by
copying it in the the WEB-INF/class folder including all package
directories.

If you grant outside access to your Slide WebDAVServer be sure to take
care of this bug.

Cheers
(Continue reading)

Roland Weber | 7 Nov 18:58

[ANNOUNCEMENT] Jakarta Slide is retired

The Apache Jakarta PMC is sorry to announce the retirement
of the Jakarta Slide subproject. After it's last release in
December 2004, development activity was significantly reduced
and came to a total standstill this year. Without a minimum
developer community that can release security fixes, we have
no choice but to retire Slide. We'll keep at least one of
the mailing lists open for a transition period, so users can
discuss alternatives and migration away from Slide. Further
use of the Slide codebase is discouraged.

One alternative to Slide is provided by the Apache Jackrabbit
project. Jackrabbit has a healthy, active developer community
and provides, among others things:
- a server-side content repository
- a WebDAV server component for access to the repository
- a WebDAV client component
Please visit http://jackrabbit.apache.org/ for more information.

We apologize for the inconveniences.

Roland Weber
  (wearing an Apache Jakarta PMC hat)
Roland Weber | 7 Nov 18:58

[ANNOUNCEMENT] Jakarta Slide is retired

The Apache Jakarta PMC is sorry to announce the retirement
of the Jakarta Slide subproject. After it's last release in
December 2004, development activity was significantly reduced
and came to a total standstill this year. Without a minimum
developer community that can release security fixes, we have
no choice but to retire Slide. We'll keep at least one of
the mailing lists open for a transition period, so users can
discuss alternatives and migration away from Slide. Further
use of the Slide codebase is discouraged.

One alternative to Slide is provided by the Apache Jackrabbit
project. Jackrabbit has a healthy, active developer community
and provides, among others things:
- a server-side content repository
- a WebDAV server component for access to the repository
- a WebDAV client component
Please visit http://jackrabbit.apache.org/ for more information.

We apologize for the inconveniences.

Roland Weber
  (wearing an Apache Jakarta PMC hat)
Roland Weber | 7 Nov 18:58

[ANNOUNCEMENT] Jakarta Slide is retired

The Apache Jakarta PMC is sorry to announce the retirement
of the Jakarta Slide subproject. After it's last release in
December 2004, development activity was significantly reduced
and came to a total standstill this year. Without a minimum
developer community that can release security fixes, we have
no choice but to retire Slide. We'll keep at least one of
the mailing lists open for a transition period, so users can
discuss alternatives and migration away from Slide. Further
use of the Slide codebase is discouraged.

One alternative to Slide is provided by the Apache Jackrabbit
project. Jackrabbit has a healthy, active developer community
and provides, among others things:
- a server-side content repository
- a WebDAV server component for access to the repository
- a WebDAV client component
Please visit http://jackrabbit.apache.org/ for more information.

We apologize for the inconveniences.

Roland Weber
  (wearing an Apache Jakarta PMC hat)
Florian Kirchhoff | 21 Nov 21:35
Favicon

Alternative webdav client api?


Hi,

the retirement announcement for Slide, mentions Jackrabbit as an alternative
to slide.
I am mostly interested in using the api to access an existing WebDav
repository, but
it seems Jackrabbit is mostly focused on the server side of webdav, not the
client.

Is there a natural migration path for my situation?

Thanks in advance for any help,

Florian
--

-- 
View this message in context: http://www.nabble.com/Alternative-webdav-client-api--tf4852654.html#a13885439
Sent from the Jakarta Slide - User mailing list archive at Nabble.com.
Alon Salant | 21 Nov 22:58

Re: Alternative webdav client api?

We have found the slide client to be stable and free of issues. I
would not immediately assume that it is not a good option because the
development effort has been retired.

Alon

On 11/21/07, Florian Kirchhoff <Florian.Kirchhoff <at> qwest.com> wrote:
>
> Hi,
>
> the retirement announcement for Slide, mentions Jackrabbit as an alternative
> to slide.
> I am mostly interested in using the api to access an existing WebDav
> repository, but
> it seems Jackrabbit is mostly focused on the server side of webdav, not the
> client.
>
> Is there a natural migration path for my situation?
>
> Thanks in advance for any help,
>
> Florian
> --
> View this message in context: http://www.nabble.com/Alternative-webdav-client-api--tf4852654.html#a13885439
> Sent from the Jakarta Slide - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: slide-user-unsubscribe <at> jakarta.apache.org
> For additional commands, e-mail: slide-user-help <at> jakarta.apache.org
(Continue reading)

Ard Schrijvers | 22 Nov 09:28
Picon

RE: Alternative webdav client api?


> 
> Hi,
> 
> the retirement announcement for Slide, mentions Jackrabbit as 
> an alternative to slide.
> I am mostly interested in using the api to access an existing 
> WebDav repository, but it seems Jackrabbit is mostly focused 
> on the server side of webdav, not the client.
> 
> Is there a natural migration path for my situation?

There are already some mails about this on the jackrabbit user list. I
think you have a better chance of getting help on that list,

Regards Ard
Roland Weber | 22 Nov 18:55

Re: Alternative webdav client api?

Hello Florian,

> the retirement announcement for Slide, mentions Jackrabbit as an alternative
> to slide.
> I am mostly interested in using the api to access an existing WebDav
> repository, but
> it seems Jackrabbit is mostly focused on the server side of webdav, not the
> client.

That is correct. But they do have a WebDAV extension to HttpClient.
Besides, Slide was also mostly focused on the server side :-)

> Is there a natural migration path for my situation?

If all you use is the client, there is no immediate hurry. However,
the Slide WebDAV client is based on an unsupported backlevel version
of HttpClient, besides being unsupported itself. As long as it works,
you're fine. As soon as a problem occurs, you're on your own.

The Jackrabbit WebDAV client is your best option at Apache.
I don't know about any non-Apache WebDAV clients.

cheers,
  Roland
Chris Dail | 25 Nov 02:22
Picon

The state of WebDAV Clients

I am a bit concerned at the state of WebDAV client implementations in Java.

The slide project has been recently retired and Apache recommends
using JackRabbit as an alternative.
JackRabbit does not currently have a WebDAV client implementation
according to this post
(http://www.nabble.com/Webdav-Client-Examples--tf4803755.html#a13852979).
Others in the industry like Eclipse, are using slide as the basis for
their new EFS WebDAV implementation
(http://wiki.eclipse.org/WebDAV_EFS_Implementation).

In all of my searching, I have yet to find a viable alternative to
slide as a WebDAV client. I think it is clear that there is a need for
a project like this. Has there been any though in starting an Apache
Commons project to provide WebDAV support? My understanding was that
the Slide client was stable and would probably provide a good starting
point for a WebDAV client.

For more information on my WebDAV research see this post:
http://pragmaticchris.blogspot.com/2007/11/java-webdav-clients.html

Thanks

Chris Dail
http://pragmaticchris.blogspot.com
Raymond Bourges | 27 Nov 16:16
Picon
Picon

Re: The state of WebDAV Clients

Hi,

About: “Oliver made a fix in Subversion, but there was nobody who could release a fixed Slide, either as a minor update to the last Slide release years ago, or as a new release of the current code in Subversion.”

In ESUP-Portail project we have made a lot of work over Slide. Perhaps because of our poor English we didn’t communicate about this. Sorry.

Slide is used in many universities in France and we make a patch for Slide 2.1. You can find it here: http://www.esup-portail.org/consortium/espace/Securite/ESUP-2007-AVI-004-COR.zip

It takes the form of a patch of AbstractWebdavMethod Class in order to use a special EntityResolver that avoid XML Entity attack. It works on LOCK method like Oliver’s patch and with other commands like PROPFIND.

About ESUP-Portail project work over Slide we have:
- Authentication Filter (LDAP, SSO with CAS and Shibboleth)
- Specific Slide stores for groups (uPortal groups and Shibboleth’s attributes based groups)
- A Quota for WebDAV (RFC 4331) based on Slide event mechanism

Of course we plan to use Jackrabbit WebDAV server now. But, at this time, I don’t know if we can rewrite Slide extension in a jackrabbit environment. I just sign on jackrabbit mailing lists.

Jackrabbit seems to be to ACP compliant. I find some information in “Coming from Slide...” thread in users mailing list.
But have you some information on how to plug specific WebDAV group implementations in Jackrabbit? Is it spring enabled for example?

Thanks a lot.

Some information about ESUP-Portail WebDAV project:
- Web site: http://sourcesup.cru.fr/esup-webdav-srv/current/index.html
- The project site: http://sourcesup.cru.fr/projects/esup-webdav-srv/
- A recent presentation of Shibboleth mechanism: http://www.terena.org/activities/eurocamp/november07/slides/bourges-the-shibboleth-enabled-webdav.pdf


ossfwot <at> dubioso.net a écrit :
Hello Chris,
JackRabbit does not currently have a WebDAV client implementation according to this post (http://www.nabble.com/Webdav-Client-Examples--tf4803755.html#a13852979).
The way I read this post, they have the implementation. It is just not released as a separate component. The released version of the Slide WebDAV client is based on HttpClient 2.0, which has been unsupported for years. It also includes contrib code from HttpClient which was never supported in the first place.
I think it is clear that there is a need for a project like this.
That is good to know.
Has there been any though in starting an Apache Commons project to provide WebDAV support?
Not as a Commons project, but it was discussed as a part of HttpComponents. The most recent discussion took place on general <at> jakarta: http://www.nabble.com/-discuss--Slide-%2B-HttpComponents-%3D%3E-TLP-tf4207242.html We made sure that the scope of the new HttpComponents TLP allows for releasing a WebDAV client, whether that is based on Slide or Jackrabbit or something else. But projects depend on volunteers to do the work.
My understanding was that the Slide client was stable and would probably provide a good starting point for a WebDAV client.
It has no unit tests, no developer community, and is based on an HttpClient API scheduled for replacement. The Jackrabbit WebDAV client is also based on an HttpClient API scheduled for replacement, but it has a developer community. I don't know about their unit tests.
For more information on my WebDAV research see this post: http://pragmaticchris.blogspot.com/2007/11/java-webdav-clients.html
Thanks for the pointers. I may post a comment on your blog later this week. For now: we did not retire Slide because Jackrabbit is a perfect replacement. We retired Slide because it had no developer community that could address a security vulnerability: http://www.nabble.com/Warning%3A-Security-Bug-in-Slide-tf4736066.html Oliver made a fix in Subversion, but there was nobody who could release a fixed Slide, either as a minor update to the last Slide release years ago, or as a new release of the current code in Subversion. Projects that cannot address security vulnerabilities need to be retired. This does not depend on the availability of an alternative. It depends only on the availability of a developer community. Users of the current Slide codebase are welcome to fork and support the code. They are even more welcome to form a new project to move away from the HttpClient 2.x/3.x API. I'm willing to invest some effort into that next year, after we've completed the HttpComponents move to TLP. But at the moment, I don't see too many people working on a WebDAV client. If you know any, please send them our way :-) The best starting point for now would be the Jackrabbit client code that is just waiting for somebody to release it. Of course you can always continue to use the Slide WebDAV client. There wasn't much support for some time, so the situation didn't really change by the retirement. It is now just obvious to anybody that the code is unsupported. cheers, Roland --------------------------------------------------------------------- To unsubscribe, e-mail: slide-user-unsubscribe <at> jakarta.apache.org For additional commands, e-mail: slide-user-help <at> jakarta.apache.org


Gmane