oss-sec mailing list archives
Re: CVE request: Maven downloads JARs via HTTP
From: Simon McVittie <smcv () debian org>
Date: Mon, 02 Mar 2015 19:24:30 +0000
On 02/03/15 17:26, gremlin () gremlin ru wrote:
On 2015-03-02 17:34:55 +0100, Martin Prpic wrote: >>> "Maven Central can now be accessed via HTTPS. I think the >>> default configuration should be switched to use that, rather >>> than the current unsecured HTTP transport." >> Does it use any sort of package signing and signature >> verification? > Seeing as the patch only does s/http/https/, Obviously, that doesn't really help.
It's a start, at least... it tells you that this was a reply to your
request, made by someone controlling the corresponding private key for a
"valid" certificate for Maven Central's hostname. Whether that's enough
depends on your threat model.
If the attacker capabilities assumed by your threat model include "can
obtain arbitrary certs from a widely-trusted CA" or "has obtained Maven
Central's private key" then no, it doesn't help. Similarly, if the
attacker's capabilities include "can upload arbitrary packages to Maven
Central" (I assume there's some sort of access control so the author of
log4j can upload new log4j versions but not new Eclipse versions, or
whatever?) then it doesn't help.
However, if the attacker is assumed to be able to do neither of these
things (think "man-in-the-middle on the same coffee shop wifi as you"
rather than "the NSA") then this is enough.
An end-to-end integrity check from the original publisher to the
consumer would prevent more attacks, but would also be harder to deploy
(it requires action from each publisher, verification at each consumer,
and a way to determine whether publisher X is authorized to publish
package Y); protecting against trivial attacks is not as good as
protecting against sophisticated attacks, but seems considerably better
than not protecting against anything at all.
S
Current thread:
- CVE request: Maven downloads JARs via HTTP Martin Prpic (Mar 02)
- Re: CVE request: Maven downloads JARs via HTTP gremlin (Mar 02)
- Re: CVE request: Maven downloads JARs via HTTP Martin Prpic (Mar 02)
- Re: CVE request: Maven downloads JARs via HTTP gremlin (Mar 02)
- Re: CVE request: Maven downloads JARs via HTTP Simon McVittie (Mar 02)
- Re: validation on update gremlin (Mar 03)
- Re: validation on update Kurt Seifried (Mar 03)
- Re: CVE request: Maven downloads JARs via HTTP Martin Prpic (Mar 02)
- Re: CVE request: Maven downloads JARs via HTTP gremlin (Mar 02)
