Openwall GNU/*/Linux - a small security-enhanced Linux distro for servers
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date: Fri, 23 Feb 2018 09:25:55 +0000
From: Mark Thomas <markt@...che.org>
To: Doran Moppert <dmoppert@...hat.com>, oss-security@...ts.openwall.com
Subject: Re: Fwd: [SECURITY] CVE-2018-1304 Security constraints
 mapped to context root are ignored

On 23/02/18 04:29, Doran Moppert wrote:
> On Feb 23 2018, Mark Thomas wrote:
>> CVE-2018-1304 Security constraints mapped to context root are ignored
>>
>> Mitigation:
>> Users of the affected versions should apply one of the following
>> mitigations:
>> - Review security constraints and confirm none use a URL patten of ""
>>   (the empty string)
> 
> Will a URL pattern of "/" correctly protect the context root of
> vulnerable versions?  If so, this seems worth mentioning.

The problem typically occurs with security annotations on servlets. In
this case the security annotations pick up the mappings from the servlet
they are annotating. If you changed the servlet mapping from "" to "/"
that would almost certainly significantly change the behaviour of the
web application since you are changing the mapping from "exact match to
context root" to "default servlet".

Mark

Powered by blists - more mailing lists

Your e-mail address:

Please check out the Open Source Software Security Wiki, which is counterpart to this mailing list.

Powered by Openwall GNU/*/Linux - Powered by OpenVZ