Commit Graph

5632 Commits

Author SHA1 Message Date
Michael Tremer
7ddfc686e2 core118: Add changed apache configuration
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2017-12-16 12:16:54 +00:00
Peter Müller
0cabaf35c2 prevent IE from interpreting HTML MIME type
Add X-Content-Type-Options header to prevent Internet Explorer
from interpreting the MIME type of a server answer on its own,
which could lead to security risks.

Signed-off-by: Peter Müller <peter.mueller@link38.eu>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2017-12-16 12:16:12 +00:00
Michael Tremer
f451d465fb Drop nagiosql
This is no longer maintained any more and therefore being dropped

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2017-12-14 17:48:24 +00:00
Michael Tremer
88d04bd159 core118: Ship updated language files
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2017-12-14 16:47:01 +00:00
Michael Tremer
1b5da98231 core118: Ship updated openssh
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2017-12-14 16:44:44 +00:00
Michael Tremer
1068c3e755 Start Core Update 118
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2017-12-14 15:55:54 +00:00
Michael Tremer
51d1e9ce4d openssl: Update to 1.0.2n
OpenSSL Security Advisory [07 Dec 2017]
========================================

Read/write after SSL object in error state (CVE-2017-3737)
==========================================================

Severity: Moderate

OpenSSL 1.0.2 (starting from version 1.0.2b) introduced an "error state"
mechanism. The intent was that if a fatal error occurred during a handshake then
OpenSSL would move into the error state and would immediately fail if you
attempted to continue the handshake. This works as designed for the explicit
handshake functions (SSL_do_handshake(), SSL_accept() and SSL_connect()),
however due to a bug it does not work correctly if SSL_read() or SSL_write() is
called directly. In that scenario, if the handshake fails then a fatal error
will be returned in the initial function call. If SSL_read()/SSL_write() is
subsequently called by the application for the same SSL object then it will
succeed and the data is passed without being decrypted/encrypted directly from
the SSL/TLS record layer.

In order to exploit this issue an application bug would have to be present that
resulted in a call to SSL_read()/SSL_write() being issued after having already
received a fatal error.

This issue does not affect OpenSSL 1.1.0.

OpenSSL 1.0.2 users should upgrade to 1.0.2n

This issue was reported to OpenSSL on 10th November 2017 by David Benjamin
(Google). The fix was proposed by David Benjamin and implemented by Matt Caswell
of the OpenSSL development team.

rsaz_1024_mul_avx2 overflow bug on x86_64 (CVE-2017-3738)
=========================================================

Severity: Low

There is an overflow bug in the AVX2 Montgomery multiplication procedure
used in exponentiation with 1024-bit moduli. No EC algorithms are affected.
Analysis suggests that attacks against RSA and DSA as a result of this defect
would be very difficult to perform and are not believed likely. Attacks
against DH1024 are considered just feasible, because most of the work
necessary to deduce information about a private key may be performed offline.
The amount of resources required for such an attack would be significant.
However, for an attack on TLS to be meaningful, the server would have to share
the DH1024 private key among multiple clients, which is no longer an option
since CVE-2016-0701.

This only affects processors that support the AVX2 but not ADX extensions
like Intel Haswell (4th generation).

Note: The impact from this issue is similar to CVE-2017-3736, CVE-2017-3732
and CVE-2015-3193.

Due to the low severity of this issue we are not issuing a new release of
OpenSSL 1.1.0 at this time. The fix will be included in OpenSSL 1.1.0h when it
becomes available. The fix is also available in commit e502cc86d in the OpenSSL
git repository.

OpenSSL 1.0.2 users should upgrade to 1.0.2n

This issue was reported to OpenSSL on 22nd November 2017 by David Benjamin
(Google). The issue was originally found via the OSS-Fuzz project. The fix was
developed by Andy Polyakov of the OpenSSL development team.

Note
====

Support for version 1.0.1 ended on 31st December 2016. Support for versions
0.9.8 and 1.0.0 ended on 31st December 2015. Those versions are no longer
receiving security updates.

References
==========

URL for this Security Advisory:
https://www.openssl.org/news/secadv/20171207.txt

Note: the online version of the advisory may be updated with additional details
over time.

For details of OpenSSL severity classifications please see:
https://www.openssl.org/policies/secpolicy.html

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2017-12-08 13:58:26 +00:00
Michael Tremer
3a44597467 OpenVPN: Allow to set routes to IPsec networks
This makes hub-and-spoke designs with OpenVPN RW and
IPsec N2N easier to configure

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2017-12-04 17:51:53 +00:00
Michael Tremer
7da47c3ef9 core117: Ship updated CGI files
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2017-12-02 12:25:09 +00:00
Michael Tremer
e5efd99893 core117: Ship updated sudo package
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2017-12-02 12:23:39 +00:00
Matthias Fischer
68a7683a35 mc: Update to 4.8.20
Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2017-12-02 12:23:19 +00:00
Michael Tremer
421ba804aa Drop separate ffmpeg-libs package
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2017-12-02 12:22:00 +00:00
Michael Tremer
63bc6600f8 ffmpeg: Update to 3.4
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2017-12-01 15:42:47 +00:00
Michael Tremer
14d0e151b6 Update strongswan rootfile
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2017-11-30 16:09:48 +00:00
Michael Tremer
a679c56367 core117: Regenerate language cache
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2017-11-29 12:41:16 +00:00
Michael Tremer
3eaba41041 core117: Ship updated strongswan
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2017-11-29 12:40:53 +00:00
Michael Tremer
87ad0c591b strongswan: Update to 5.6.1
Drop support for Padlock which is not in wide usage
any more and creates some rootfile trouble every time.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2017-11-29 12:39:04 +00:00
Michael Tremer
b0b6367633 core117: Ship updated netexternal.cgi
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2017-11-29 12:06:01 +00:00
Michael Tremer
2aec53386a core117: Ship updated ids.dat
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2017-11-29 12:04:05 +00:00
Michael Tremer
a7fd6293ef core117: Ship updated index.cgi
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2017-11-29 12:02:50 +00:00
Michael Tremer
877caaf5c6 core117: Ship updated netother.cgi
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2017-11-29 12:00:33 +00:00
Michael Tremer
545ddb9360 core117: Ship updated credits.cgi
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2017-11-29 11:59:08 +00:00
Michael Tremer
0545cba708 captive: Escape any special characters in title on PDF vouchers
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2017-11-29 11:57:55 +00:00
Michael Tremer
e5af95135b core117: Ship latest updates of syslogging
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2017-11-28 17:49:25 +00:00
Michael Tremer
f19f5e2366 ssl: Drop package which isn't maintained any more
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2017-11-28 17:30:56 +00:00
Michael Tremer
56720befc7 Drop vsftpd which isn't actively maintained any more
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2017-11-28 17:30:08 +00:00
Michael Tremer
d38edcf8b4 pound: Drop package which isn't very actively maintained any more
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2017-11-28 17:29:55 +00:00
Michael Tremer
aceb943b23 core117: Ship updated vpnmain.cgi
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2017-11-28 17:19:27 +00:00
Michael Tremer
d409286074 apache: Ensure that not everyone can read the keys
This would become a security risk if anyone gets
shell access as any user to copy out the HTTPS keys.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2017-11-28 14:11:49 +00:00
Michael Tremer
beb256e0a0 core117: Reload apache for change of configuration
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2017-11-20 15:46:53 +00:00
Peter Müller
a57f4a9f5d disable SSL compression and session tickets in Apache
Ensure that Apache never uses SSL compression, which is vulnerable,
and turn off session tickets since the might cause impact to PFS.

Based against next, supersedes first version.

Reported-by: Wolfgang Apolinarski <wolfgang.apolinarski@ipfire.org>
Signed-off-by: Peter Müller <peter.mueller@link38.eu>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2017-11-20 15:45:52 +00:00
Michael Tremer
f574f9ea02 Retire the IPFire CA
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2017-11-13 23:18:55 +00:00
Michael Tremer
82e295c23e core117: Ship updated CA bundle
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2017-11-13 23:18:00 +00:00
Peter Müller
2d735404b6 update ca-certificate CA bundle
Update the CA certificate list to what Mozilla NSS ships currently.

Signed-off-by: Peter Müller <peter.mueller@link38.eu>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2017-11-13 23:14:59 +00:00
Michael Tremer
0a38f7938a core117: Ship changes in pakfire
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2017-11-13 22:41:58 +00:00
Michael Tremer
b7a5076ca0 core117: Ship latest GeoIP changes
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2017-11-13 22:39:36 +00:00
Michael Tremer
00793c27c9 GeoIP: Add lookup function for convenience
Instead of opening the database again for each lookup,
we will read it into memory on first use and every lookup
after that will be coming from cache.

Reviewed-by: Peter Müller <peter.mueller@link38.eu>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2017-11-13 22:37:19 +00:00
Michael Tremer
b1ad5b8b6c geoip-functions.pl: Fix typos and formatting
Reviewed-by: Peter Müller <peter.mueller@link38.eu>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2017-11-13 22:37:03 +00:00
Michael Tremer
9bb4055367 captive portal: Require authorization before redirecting to proxy
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2017-11-11 12:48:54 +00:00
Michael Tremer
81f6550cfb core117: Ship updated routing.cgi
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2017-11-07 16:20:53 +00:00
Alexander Marx
3f3974b711 Network-functions: add check if variables are defined
in function network_equal and network2bin a check for undefined variables were missing.
added them.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2017-11-07 16:19:23 +00:00
Michael Tremer
d6b92a118e core117: Ship updated network-functions.pl
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2017-11-07 16:16:50 +00:00
Alexander Marx
1047805dba BUG11466: Fix network_equal function
The network_equal function only tested the subnet addresses of two given networks which lead to
errormessages saying "This is the green network"
The fix tests netwok and subnet IP's to fix this

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2017-11-07 16:16:18 +00:00
Michael Tremer
b3d2f86b87 core117: Ship changed files of the webUI
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2017-11-07 16:14:36 +00:00
Michael Tremer
bb3272dad3 Start Core Update 117
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2017-11-07 16:14:36 +00:00
Arne Fitzenreiter
5c8acc789b core116: stop apache before extracting updated files
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2017-11-03 16:40:23 +01:00
Arne Fitzenreiter
9843bb7b5a core116: replace apache restart by stop and start
restart seems not work after replace apache...

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2017-11-03 14:28:22 +01:00
Arne Fitzenreiter
ae8e242bc1 core116: ship updated wget
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2017-11-03 14:22:19 +01:00
Arne Fitzenreiter
578171927d core116: set need_reboot flag
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2017-11-02 22:48:43 +01:00
Arne Fitzenreiter
ee328f16bf core116: ship openssh
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2017-11-02 22:46:47 +01:00