Skip to content

Commit 7db967f

Browse files
committed
Merge branch 'develop' into 11198-list-file-versions-api
2 parents c7dfbb3 + bd24a24 commit 7db967f

File tree

8 files changed

+167
-51
lines changed

8 files changed

+167
-51
lines changed
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
### SameSite Cookie Attribute
2+
3+
The SameSite cookie attribute is defined in an upcoming revision to [RFC 6265](https://datatracker.ietf.org/doc/html/rfc6265) (HTTP State Management Mechanism) called [6265bis](https://datatracker.ietf.org/doc/html/draft-ietf-httpbis-rfc6265bis-19>) ("bis" meaning "repeated"). The possible values are "None", "Lax", and "Strict".
4+
5+
"If no SameSite attribute is set, the cookie is treated as Lax by default" by browsers according to [MDN](https://developer.mozilla.org/en-US/docs/Web/HTTP/Cookies#controlling_third-party_cookies_with_samesite). This was the previous behavior of Dataverse, to not set the SameSite attribute.
6+
7+
New Dataverse installations now explicitly set to the SameSite cookie attribute to "Lax" out of the box through the installer (in the case of a "classic" installation) or through an updated base image (in the case of a Docker installation). Classic installations should follow the upgrade instructions below to bring their installation up to date with the behavior for new installations. Docker installations will automatically get the updated base image.
8+
9+
While you are welcome to experiment with "Strict", which is intended to help prevent Cross-Site Request Forgery (CSRF) attacks, as described in the RFC proposal and an OWASP [cheetsheet](https://cheatsheetseries.owasp.org/cheatsheets/Cross-Site_Request_Forgery_Prevention_Cheat_Sheet.html#samesite-cookie-attribute), our testing so far indicates that some functionality, such as OIDC login, seems to be incompatible with "Strict".
10+
11+
You should avoid the use of "None" as it is less secure that "Lax". See also [the guides](https://dataverse-guide--11210.org.readthedocs.build/en/11210/installation/config.html#samesite-cookie-attribute), https://github.com/IQSS/dataverse-security/issues/27, #11210, and the upgrade instructions below.
12+
13+
## Upgrade instructions
14+
15+
To bring your Dataverse installation in line with new installations, as described in [the guides](https://dataverse-guide--11210.org.readthedocs.build/en/11210/installation/config.html#samesite-cookie-attribute), we recommend running the following commands:
16+
17+
```
18+
./asadmin set server-config.network-config.protocols.protocol.http-listener-1.http.cookie-same-site-value=Lax
19+
20+
./asadmin set server-config.network-config.protocols.protocol.http-listener-1.http.cookie-same-site-enabled=true
21+
```
22+
23+
Please note that "None" is less secure than "Lax" and should be avoided. You can test the setting by inspecting headers with curl, looking at the JSESSIONID cookie for "SameSite=Lax" (yes, it's expected to be repeated, probably due to a bug in Payara) like this:
24+
25+
```
26+
% curl -s -I http://localhost:8080 | grep JSESSIONID
27+
Set-Cookie: JSESSIONID=6574324d75aebeb86dc96ecb3bb0; Path=/;SameSite=Lax;SameSite=Lax
28+
```
29+
30+
Before making the changes above, SameSite attribute should be absent, like this:
31+
32+
```
33+
% curl -s -I http://localhost:8080 | grep JSESSIONID
34+
Set-Cookie: JSESSIONID=6574324d75aebeb86dc96ecb3bb0; Path=/
35+
```

doc/sphinx-guides/source/installation/config.rst

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,18 @@ Password complexity rules for "builtin" accounts can be adjusted with a variety
151151
- :ref:`:PVGoodStrength`
152152
- :ref:`:PVCustomPasswordResetAlertMessage`
153153

154+
.. _samesite-cookie-attribute:
155+
156+
SameSite Cookie Attribute
157+
^^^^^^^^^^^^^^^^^^^^^^^^^
158+
159+
The SameSite cookie attribute is defined in an upcoming revision to `RFC 6265 <https://datatracker.ietf.org/doc/html/rfc6265>`_ (HTTP State Management Mechanism) called `6265bis <https://datatracker.ietf.org/doc/html/draft-ietf-httpbis-rfc6265bis-19>`_ ("bis" meaning "repeated"). The possible values are "None", "Lax", and "Strict". "Strict" is intended to help prevent Cross-Site Request Forgery (CSRF) attacks, as described in the RFC proposal and an OWASP `cheetsheet <https://cheatsheetseries.owasp.org/cheatsheets/Cross-Site_Request_Forgery_Prevention_Cheat_Sheet.html#samesite-cookie-attribute>`_. We don't recommend "None" for security reasons.
160+
161+
By default, Payara doesn't send the SameSite cookie attribute, which browsers should interpret as "Lax" according to `MDN <https://developer.mozilla.org/en-US/docs/Web/HTTP/Cookies#controlling_third-party_cookies_with_samesite>`_.
162+
Dataverse installations are explicity set to "Lax" out of the box by the installer (in the case of a "classic" installation) or through the base image (in the case of a Docker installation). For classic, see :ref:`http.cookie-same-site-value` and :ref:`http.cookie-same-site-enabled` for how to change the values. For Docker, you must rebuild the :doc:`base image </container/base-image>`. See also Payara's `documentation <https://docs.payara.fish/community/docs/6.2024.6/Technical%20Documentation/Payara%20Server%20Documentation/General%20Administration/Administering%20HTTP%20Connectivity.html>`_ for the settings above.
163+
164+
To inspect cookie attributes like SameSite, you can use ``curl -s -I http://localhost:8080 | grep JSESSIONID``, for example, looking for the "Set-Cookie" header.
165+
154166
.. _ongoing-security:
155167

156168
Ongoing Security of Your Installation
@@ -3529,6 +3541,32 @@ To facilitate large file upload and download, the Dataverse Software installer b
35293541

35303542
and restart Payara to apply your change.
35313543

3544+
.. _http.cookie-same-site-value:
3545+
3546+
http.cookie-same-site-value
3547+
++++++++++++++++++++++++++++
3548+
3549+
See :ref:`samesite-cookie-attribute` for context.
3550+
3551+
The Dataverse installer configures the Payara **server-config.network-config.protocols.protocol.http-listener-1.http.cookie-same-site-value** setting to "Lax". From `Payara's documentation <https://docs.payara.fish/community/docs/6.2024.6/Technical%20Documentation/Payara%20Server%20Documentation/General%20Administration/Administering%20HTTP%20Connectivity.html>`_, the other possible values are "Strict" or "None". To change this to "Strict", for example, you could run the following command...
3552+
3553+
``./asadmin set server-config.network-config.protocols.protocol.http-listener-1.http.cookie-same-site-value=Strict``
3554+
3555+
... and restart Payara to apply your change.
3556+
3557+
.. _http.cookie-same-site-enabled:
3558+
3559+
http.cookie-same-site-enabled
3560+
+++++++++++++++++++++++++++++
3561+
3562+
See :ref:`samesite-cookie-attribute` for context.
3563+
3564+
The Dataverse installer configures the Payara **server-config.network-config.protocols.protocol.http-listener-1.http.cookie-same-site-enabled** setting to true. To change this to false, you could run the following command...
3565+
3566+
``./asadmin set server-config.network-config.protocols.protocol.http-listener-1.http.cookie-same-site-enabled=true``
3567+
3568+
... and restart Payara to apply your change.
3569+
35323570
mp.config.profile
35333571
+++++++++++++++++
35343572

modules/container-base/src/main/docker/Dockerfile

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -199,6 +199,13 @@ RUN <<EOF
199199
${ASADMIN} set server-config.network-config.protocols.protocol.http-listener-2.http.file-cache.enabled="true"
200200
${ASADMIN} set default-config.network-config.protocols.protocol.http-listener-1.http.file-cache.enabled="true"
201201
${ASADMIN} set default-config.network-config.protocols.protocol.http-listener-2.http.file-cache.enabled="true"
202+
# Set SameSite cookie value: https://docs.payara.fish/community/docs/6.2024.6/Technical%20Documentation/Payara%20Server%20Documentation/General%20Administration/Administering%20HTTP%20Connectivity.html
203+
# The following dynamic version is what we want, modeled off "${MPCONFIG=dataverse.http.timeout:900}"
204+
# but it's not working so it's commented out. Instead, we hard code the value to "Lax". This means you have
205+
# to build your own base image if you'd like to change it.
206+
#${ASADMIN} set server-config.network-config.protocols.protocol.http-listener-1.http.cookie-same-site-value=${MPCONFIG=dataverse.cookie-same-site-value:Lax}'
207+
${ASADMIN} set server-config.network-config.protocols.protocol.http-listener-1.http.cookie-same-site-value="Lax"
208+
${ASADMIN} set server-config.network-config.protocols.protocol.http-listener-1.http.cookie-same-site-enabled="true"
202209
# Disable the HTTPS listener (we are always fronting our appservers with a reverse proxy handling SSL)
203210
${ASADMIN} set configs.config.server-config.network-config.network-listeners.network-listener.http-listener-2.enabled="false"
204211
# Enlarge and tune EJB pools (cannot do this for server-config as set does not create new entries)

scripts/installer/as-setup.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,10 @@ function preliminary_setup()
124124
# bump the http-listener timeout from 900 to 3600
125125
./asadmin $ASADMIN_OPTS set server-config.network-config.protocols.protocol.http-listener-1.http.request-timeout-seconds="${GLASSFISH_REQUEST_TIMEOUT}"
126126

127+
# Set SameSite cookie value: https://docs.payara.fish/community/docs/6.2024.6/Technical%20Documentation/Payara%20Server%20Documentation/General%20Administration/Administering%20HTTP%20Connectivity.html
128+
./asadmin $ASADMIN_OPTS set server-config.network-config.protocols.protocol.http-listener-1.http.cookie-same-site-value="Lax"
129+
./asadmin $ASADMIN_OPTS set server-config.network-config.protocols.protocol.http-listener-1.http.cookie-same-site-enabled="true"
130+
127131
# so we can front with apache httpd ( ProxyPass / ajp://localhost:8009/ )
128132
./asadmin $ASADMIN_OPTS create-network-listener --protocol http-listener-1 --listenerport 8009 --jkenabled true jk-connector
129133
}

src/test/java/edu/harvard/iq/dataverse/util/MailSessionProducerIT.java

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ class WithoutAuthentication {
7777
@Container
7878
static GenericContainer<?> maildev = new GenericContainer<>("maildev/maildev:2.1.0")
7979
.withExposedPorts(PORT_HTTP, PORT_SMTP)
80-
.waitingFor(Wait.forHttp("/"));
80+
.waitingFor(Wait.forHttp("/").forPort(PORT_HTTP));
8181

8282
static String tcSmtpHost() {
8383
return maildev.getHost();
@@ -119,6 +119,13 @@ void createSession() {
119119

120120
}
121121

122+
/*
123+
* Self-signed certificate and key can be created using OpenSSL on the terminal:
124+
* $ cd src/test/resources/mail
125+
* $ openssl req -batch -x509 -new -days 3650 -config openssl.cnf -keyout key.pem -out cert.pem
126+
*
127+
* Note that you can edit the openssl.cnf file to adjust details of the certificate and key (or use CLI args).
128+
*/
122129
@Nested
123130
@LocalJvmSettings
124131
@JvmSetting(key = JvmSettings.MAIL_MTA_SETTING, method = "tcSmtpHost", varArgs = "host")
@@ -136,7 +143,7 @@ class WithSSLWithoutAuthentication {
136143
"MAILDEV_INCOMING_CERT", "/cert.pem",
137144
"MAILDEV_INCOMING_KEY", "/key.pem"
138145
))
139-
.waitingFor(Wait.forHttp("/"));
146+
.waitingFor(Wait.forHttp("/").forPort(PORT_HTTP));
140147

141148
static String tcSmtpHost() {
142149
return maildev.getHost();
@@ -196,7 +203,7 @@ class WithAuthentication {
196203
"MAILDEV_INCOMING_USER", username,
197204
"MAILDEV_INCOMING_PASS", password
198205
))
199-
.waitingFor(Wait.forHttp("/"));
206+
.waitingFor(Wait.forHttp("/").forPort(PORT_HTTP));
200207

201208
static String tcSmtpHost() {
202209
return maildev.getHost();

src/test/resources/mail/cert.pem

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,24 @@
11
-----BEGIN CERTIFICATE-----
2-
MIIEFTCCAv0CFAIjr/AvBVg4EX5/rk5+eFdfsquOMA0GCSqGSIb3DQEBCwUAMIHG
3-
MQswCQYDVQQGEwJEVjEaMBgGA1UECAwRRGF0YXZlcnNlIENvdW50cnkxFzAVBgNV
4-
BAcMDkRhdGF2ZXJzZSBDaXR5MS4wLAYDVQQKDCVHbG9iYWwgRGF0YXZlcnNlIENv
5-
bW11bml0eSBDb25zb3J0aXVtMRswGQYDVQQLDBJUZXN0aW5nIERlcGFydG1lbnQx
6-
FDASBgNVBAMMC2V4YW1wbGUub3JnMR8wHQYJKoZIhvcNAQkBFhB0ZXN0QGV4YW1w
7-
bGUub3JnMB4XDTI0MDIyMDA3MTkxOVoXDTM0MDIxNzA3MTkxOVowgcYxCzAJBgNV
8-
BAYTAkRWMRowGAYDVQQIDBFEYXRhdmVyc2UgQ291bnRyeTEXMBUGA1UEBwwORGF0
9-
YXZlcnNlIENpdHkxLjAsBgNVBAoMJUdsb2JhbCBEYXRhdmVyc2UgQ29tbXVuaXR5
10-
IENvbnNvcnRpdW0xGzAZBgNVBAsMElRlc3RpbmcgRGVwYXJ0bWVudDEUMBIGA1UE
11-
AwwLZXhhbXBsZS5vcmcxHzAdBgkqhkiG9w0BCQEWEHRlc3RAZXhhbXBsZS5vcmcw
12-
ggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQCzQ55QKM/sVJMb9c5MKtc/
13-
YW3+MlCrCnGlo42DCjl6noZg8Gji4dOEMo29UcRtYqhOsx7HOXZ5ulj3YKiBfzht
14-
+QV/ZofhMIN9F/N5XC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/resources/mail/key.pem

Lines changed: 26 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,28 @@
11
-----BEGIN PRIVATE KEY-----
2-
MIIEvQIBADANBgkqhkiG9w0BAQEFAASCBKcwggSjAgEAAoIBAQCzQ55QKM/sVJMb
3-
9c5MKtc/YW3+MlCrCnGlo42DCjl6noZg8Gji4dOEMo29UcRtYqhOsx7HOXZ5ulj3
4-
YKiBfzht+QV/ZofhMIN9F/N5XCi4MRPorFz+mPck5NDzH1SqYn5zGm5APPqFJlwB
5-
WxDKEfqe6ir5gG91MzHHuJJSQq3nrSDq+/DXRwg/7L2O7da6pBqti7nYU0T5ql88
6-
nddkRhR87NdeZndI+UVmkcnal/3ZpybW8ZNzpiP8nCJO3ASz9kXRC3cITS0zgKxl
7-
6USDZs+8NAM6R0r8icB89L+i8bOfbyU7nkN9T+xUTTOmalSmsYrMIedIBmcB7Nuq
8-
bXPLEpeJAgMBAAECggEAQ3h3TQ9XVslsRxFIsLVNJ49JoWuZng7DwIai3AfMo4Cn
9-
7jN+HqrFfBO08mUkq9D+rQRQ2MYhd+Zx1sXcFkVmXUnlTlKuYMzsKHiLzIkp0E20
10-
gxXguHilSI8Qr/kCWlDQ7AyuI2JwHg5WgbIfSxbiP86+FwNGsBNxMI0hEXIEV1ZY
11-
OFXO6AWO63D4zwbwMT30k8cjfyjGvjEtoGmjnBJcrJLSADCIWLcFCw+Cm8vcRkCd
12-
BEpfRzeEos/NVdOqCpi1ea3OkGAY94mXxz6gaFRbeJFj9b6st7oVZLBOiMx1eafH
13-
hgB9JkfVtDogl9B13MkqRN8WAiOgAjIo2Ukq8x1ZkwKBgQD88sdh8k1eldO9UXG1
14-
BjEsB2mEnzp1hvjuRlMQtnvOjDakbqozzbNQlq9YJxocphLyUPM/BKTsIGp0SPpd
15-
vo0lgspDJ5eLnHd/Xf/guYvKg90NsHZR6V7hf9Z4JcrwrwvXpf7Lp/m95Jwd930j
16-
/kPXw25gRFmpJ8Q9ciI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fEpCB+XXra7XuNpuUc5Kv2qPBjOpeZ
23+
XYQDpa6eJDioq1SDSUb1w4duoV9+yhLTqswnKi6Aowx3eWxX6T4flx5SCF0+hEsL
24+
BBnbo7f7T63ZbxA4addZLpm0SAZqQqm1aXhjAoGAGv0HkRqxznz4RVnNbOJO1jMl
25+
zYsKbXJVLsz9z4AdBcr0gagibFXHBRNL80M9JXZl+DUiz9s8weOysVqkl7Xs6qgc
26+
EPJCwZqWMe2pV6Z60e3wGJWbc5TEZaE/T7ARjmjjVWQDfwoxpqhOKMkXuMWKkBw/
27+
dHpyiIU4c3eal6b11mo=
2828
-----END PRIVATE KEY-----
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
[ req ]
2+
default_bits = 2048
3+
default_md = sha512
4+
prompt = no
5+
encrypt_key = no
6+
7+
distinguished_name = req_distinguished_name
8+
string_mask = nombstr
9+
10+
# The extensions to add to a certificate request
11+
req_extensions = v3_req
12+
13+
# FZJ (+IEK-4) default options for certificate request
14+
[ req_distinguished_name ]
15+
countryName = DV
16+
stateOrProvinceName = Dataverse Country
17+
localityName = Dataverse City
18+
organizationName = GDCC
19+
organizationalUnitName = Testing Department
20+
commonName = localhost
21+
emailAddress = [email protected]
22+
23+
[ v3_req ]
24+
# You can add more names by adding (repetitive) ", DNS:<name>" entries to this config key
25+
subjectAltName = DNS:localhost

0 commit comments

Comments
 (0)