-
[DL-7443] feat: PKCE support for OAuth2 authentication (RFC 7636), disabled by default (
auth.oauth2.pkce = trueto enable). Thanks to @EnzoCyberSec for the initial proposal (#494).- an empty
auth.oauth2.clientSecretnow means a public client: theclient_secretparameter is no longer sent to the token request (previously an emptyclient_secret=was sent). Public clients should enable PKCE: a warning is logged at startup otherwise. - the client secret, the authorization code, the state and the access tokens are no longer written in logs: OAuth2
DEBUG/TRACE logs, and the query string of the SSO callback (
/api/ssoLogin) in the request and error logs. - the OAuth2 state and PKCE code verifier are removed from the session once the user is logged in.
- an error sent back by the authorization server on the callback (e.g.
access_denied) now makes the login fail with this error, instead of redirecting the user to the authorization server again. - the OAuth2 error returned by the token endpoint (
error,error_description) is now part of the authentication failure written in the server logs.
Deprecation: a public client (empty
auth.oauth2.clientSecret) without PKCE leaves the authorization code exchange unprotected, which was already the case before this version. This configuration is deprecated and will be rejected in a future version: enable PKCE (auth.oauth2.pkce = true), or set the client secret. - an empty
-
[DL-7443] fix:
auth.sso.autocreateandauth.sso.autoupdatewere swapped for OAuth2 authenticationUpgrade note: until now,
auth.sso.autocreate = trueupdated existing users, andauth.sso.autoupdate = truecreated unknown users. They now do what their name says. If you swapped them to work around this bug, swap them back. Check in particular thatautocreateis only enabled if unknown users of the authorization server must get a Cortex account. -
[DL-5871] fix: run analyzer/responder jobs on dedicated thread pools to keep the HTTP API responsive under heavy job load
Upgrade note: the
analyzerandresponderthread pools now use athread-pool-executor(fixed-pool-size) instead of afork-join-executor. Any customanalyzer.fork-join-executor/responder.fork-join-executortuning inapplication.confis no longer applied — switch toanalyzer.thread-pool-executor.fixed-pool-size(seeconf/application.sample).
- [DL-1231] Add support of Kubernetes
- [DL-1380] Add API endpoint to set user API key
- [DL-1442] Remove openjdk dependency from deb/rpm packages
- [DL-1602] Add support of authentication on Docker registry
- [DL-1767] Update Docker image when the catalog is refreshed
- [DL-715 DL-716 DL-718] Update libraries
- [DL-717] Replace spotify docker client for java mainstream one
- [CTX-27] count jobs artifacts before finding to avoid ES scrolls
3.1.8 (2023-09-21)
Pull requests:
- Fixed user parameter name in application config sample #315
- Update cortex.service #361
- GroupUserMapper.scala: Backport fix from TheHive for group mapper functionality #438
- [CTX-16] fix: don't use Elasticsearch scroll to find user by its API key #447
- [CTX-17] fix: Update version of JFFI #448
- Update deps #449
3.1.7 (2022-10-07)
Implemented enhancements:
- Prevent invalid analyzer when a new version is available #426
- Display job parameters in the report page #430
- An error in docker pull should not stop the analysis #431
- Improve catalog parsing #432
Closed issues:
- [BUG] CA Certs parameter can't be set back to null #377
- [FR] See user and organisation who triggered a responder in Cortex WebUI #394
3.1.6 (2022-06-22)
Fixed bugs:
- Web frontend doesn't work #419
3.1.5 (2022-06-22)
Implemented enhancements:
Fixed bugs:
Closed issues:
3.1.3 (2021-11-10)
Fixed bugs:
- The build of frontend fails #389
3.1.2 (2021-11-05)
Implemented enhancements:
- Create a docker image with all dependencies #388
Closed issues:
- More settings on docker containers instantiated by Cortex #387
3.1.1 (2021-03-01)
Implemented enhancements:
- [Improvement] Create logfile after installation #341
Fixed bugs:
- [BUG] Certificate not taken into account when running neurons with process #317
- [Bug] Update doesn't work on Elasticsearch 7.11 #346
3.1.0 (2020-10-30)
Implemented enhancements:
- Improve Docker image #296
- Impossible to load catalog through a proxy #297
- Update login page design #303
Fixed bugs:
- [Bug] Cortex and boolean ConfigurationItems #309
3.1.0-RC1 (2020-08-13)
Implemented enhancements:
- Support of ElasticSearch 7 #279
Fixed bugs:
- OAuth2 SSO Login Broken #264
3.0.1 (2020-04-24)
Implemented enhancements:
- Handle second/minute-rates limits on Flavors and Analyzers #164
- Remove Elasticsearch cluster configuration option #230
- Docker image has many CVE's open against it #238
- Analyzer reports "no output" when it fails #241
- Cortex logs the Play secret key at startup. #244
Fixed bugs:
- Old non-existent analysers showing in Cortex after an upgrade #234
- Missing dependency for cluster #239
- Encoding issue causes invalid format for catalog file #240
- Remove reference to google fonts #242
- Fix error message display for failed analyzers/responders #243
3.0.0 (2019-09-05)
Fixed bugs:
- cortex 3.0.0-RC4 container : StreamSrv error popup spamming the setup page #210
3.0.0-RC4 (2019-07-11)
Fixed bugs:
- Login error after Cortex upgrade to 3 #199
- docker version of cortex breaks when you don't create a user immediately #204
- Responder run displayed as Analyzer run #207
Closed issues:
- dockerhub sample uses the wrong port #203
- docker version of cortex prints a lot of errors for auth failures #205
3.0.0-RC3 (2019-06-28)
Implemented enhancements:
Fixed bugs:
- Get user detials via API is available to non-admin users #194
3.0.0-RC2 (2019-05-03)
Fixed bugs:
- Docker container exposes tcp/9000 instead of tcp/9001 #166
- Cortex will fail to run analyzers #182
- Unable to load Analyzers with 3.0.0 #185
3.0.0-RC1 (2019-05-02)
Implemented enhancements:
- File extraction #120
- Single sign-on support for Cortex #165
- Update Copyright with year 2019 #168
- Collapse job error messages by default in job history #171
- Provide analyzers and responders packaged with docker #175
- Use files to communicate with analyzer/responder #176
- Remove size limitations #178
Fixed bugs:
2.1.3 (2019-02-05)
Implemented enhancements:
Fixed bugs:
- GUI Search Function is broken #145
- SinkDB analyzer could not find DIG in the Cortex docker image #147
- PAP field is ignored from job modal #152
- Unable to disable invalid responders #157
- Wrong checks of role when an user is created #158
Closed issues:
2.1.2 (2018-10-12)
Fixed bugs:
- findSimilarJob function broken #144
2.1.1 (2018-10-12)
Implemented enhancements:
- Publish stable versions in beta package channels #138
- Allow Cortex to use a custom root context #140
- Change Debian dependencies #141
Fixed bugs:
- Console output should not be logged in syslog #136
- RPM update replace configuration file #137
- Fix Cache column in analyzers admin page #139
2.1.0 (2018-09-25)
Implemented enhancements:
- Display cache configuration in analyzer admin page #123
- Show PAP value in the Org > Analyzers screen #124
Fixed bugs:
2.1.0-RC1 (2018-08-22)
Implemented enhancements:
- PAP as an analyzer restriction #65
- Consider providing checksums for the release files #105
- Automated response via Cortex #110
- New TheHive-Project repository #112
Fixed bugs:
- Fix redirection from Migration page to login on 401 error #114
- Analyzers filter in Jobs History view is limited to 25 analyzers #116
- First analyze of a "file" always fail, must re-run the analyze a second time #117
Closed issues:
2.0.4 (2018-04-13)
Implemented enhancements:
- Let a Read/Analyze User Display/Change their API Key #89
Fixed bugs:
- Install python3 requirements for analyzers in public docker image #58
- Cortex 2.0.3 docker container having cortex analyzer errors #90
- Sort analyzers list by name #91
- Wrong page redirection #92
- Fix analyzer configurations icons #93
- Updating users by orgAdmin users fails silently #94
- Strictly filter the list of analyzers in the run dialog #95
2.0.3 (2018-04-12)
Implemented enhancements:
- Allow configuring auto artifacts extraction per analyzer #80
- Change of global config for proxy is not reflected in analyzer's configurations #81
- Display existing analyzers with invalid definition #82
- Allow specifying a cache period per analyzer #85
- Allow arbitrary parameters for a job #86
Fixed bugs:
- Version Upgrade of Analyzer makes all Analyzers invisible for TheHive (Cortex2) #75
- Refresh Analyzers button not working #83
2.0.2 (2018-04-04)
Fixed bugs:
- Session collision when TheHive & Cortex 2 share the same URL #70
- Cortex 2 is not passing proxy variable to analyzers #71
- Unable to disable analyzers #72
- Silently failure when ElasticSearch is unreachable #76
2.0.1 (2018-03-30)
Fixed bugs:
- User can't change his password #67
- Packages contain obsolete configuration sample #68
- File upload component not working #69
2.0.0 (2018-03-30)
Implemented enhancements:
- Provide Secret Key auth to upstream service #2
- Provide way to reload conf file for new API keys without shutdown. #3
- Provide alternative paths for analyzers in addition to standard path. #4
- Persistence and Report Caching #5
- Limit Rates and Respect Quotas #6
- Local, LDAP, AD and API Key Authentication #7
- Display analyzers only if necessary configuration values are set #14
Fixed bugs:
- Error when clicking out of the "New Analysis" box #48
1.1.4 (2017-09-15)
Implemented enhancements:
- Disable analyzer in configuration file #32
- Group ownership in Docker image prevents running on OpenShift #42
Fixed bugs:
- Cortex removes the input details from failure reports #38
- Display a error notification on analyzer start fail #39
1.1.3 (2017-06-29)
Fixed bugs:
1.1.2 (2017-06-12)
Implemented enhancements:
Fixed bugs:
- Error 500 in TheHive when a job is submited to Cortex #27
- Cortex and MISP unclear and error-loop #29
- jobstatus from jobs within cortex are not updated when status changes #31
1.1.1 (2017-05-17)
Implemented enhancements:
- MISP integration #21
Fixed bugs:
- Missing logos and favicons #25
1.1.0 (2017-05-15)
Implemented enhancements:
- Display analyzers metadata #18
- Scala code cleanup #19
- Add support to .deb and .rpm package generation #20
Closed issues:
1.0.2 (2017-04-18)
Fixed bugs:
- Jobs list API doesn't take into account the limit param #11
- Secure the usage of angular-ui-notification library #12
- Global section in configuration file is ignored #13
- Redirect to jobs list when a job is not found #16
1.0.1 (2017-03-22)
Fixed bugs:
- Fix page scroll issues #9