Commit Graph

70 Commits (3338e1abef452327cb219355291e66b9ae4a1ea2)

Author SHA1 Message Date
iglocska 61d4d36705
fix: [security] stored XSS in the user add/edit forms
- a malicious site administrator could store an XSS payload in the custom auth name which would be executed each time the administrator modifies a user

- as reported by Ianis BERNARD - NATO Cyber Security Centre
2022-03-17 14:10:09 +01:00
iglocska d9ee59c87b
fix: [user creation] don't show old style API key in the UI if advanced authkeys are enabled
- confusing and unusable anyway
2021-11-18 23:05:31 +01:00
iglocska adb77afaed
fix: [external auth key / password] fields changed, fixes #7488
- show what's relevant based on the customauth settings and hide that which is not
2021-06-16 14:31:12 +02:00
Jakub Onderka dbad8d545d chg: [UI] Change description for user edit checkboxes 2020-12-17 13:49:32 +01:00
Jakub Onderka 6950f55c29 chg: [UI] Use PGP instead of GnuGP, GnuPG is implementation 2020-12-09 10:37:25 +01:00
Jakub Onderka 754f5fcc8b chg: [UI] Hide some fields from user profile and use better description 2020-12-09 10:37:25 +01:00
Jakub Onderka 7e67dafe46 chg: [UI] Simplified user edit forms and interface 2020-11-14 17:44:17 +01:00
Jakub Onderka 985b2232d7 chg: [UI] Authkey reset position 2020-11-14 17:44:17 +01:00
Jakub Onderka d7fff01b4e new: [user] Disabling password and login changes apply also for org admins 2020-11-14 17:44:16 +01:00
Jakub Onderka aa58de115f fix: [UI] Provide proper description for S/MIME cert 2020-10-13 12:28:20 +02:00
mokaddem 0ae4e7d21f
fix: [users:edit] Reset AUTHKey via interface
Fix #6082
2020-07-30 08:24:52 +02:00
Jakub Onderka 09ffbc52c7 chg: [UI] Nicer icon for form info 2020-05-23 16:52:35 +02:00
Jakub Onderka 2ea4b37368 fix: [UI] GPG keys are fetched from CIRCL keyserver 2019-09-04 18:09:49 +02:00
Bechkalo Evgeny 76d58e6e53 fix: some PostgreSQL issues
Closes: #3066, #3067
Fixes issues:
- wrong boolean and smallint conversion;
- postgresql table and field naming (field 1_event_id is wrong name for
field for example);
- postgresql grouping (you cannot select columns without grouping them);
- wrong checkbox rendering without keyword.
2019-07-23 11:17:56 +03:00
4ekin 0b33adedc1 fix: fixed i18n string representation in Views
Fix for a plenty of Views with incorrect localizations (only English
text shown)
2019-03-21 18:10:26 +03:00
4ekin f79a18040b fix: Admin User index, view, edit i18n bug
fix: User view i18n bug
2019-03-12 16:55:38 +03:00
iglocska d8ee91be68 chg: [refactor] Side menu generic templates moved 2019-02-13 14:45:01 +01:00
iglocska 58997b9ac1 chg: [psr-2] Changed view files to space indentation instead of tabs
- *sniff sniff*
2018-07-20 09:29:50 +02:00
StefanKelm 8e3912d0c3
Update admin_edit.ctp 2018-03-27 16:02:24 +02:00
StefanKelm eee7bafb77
Update admin_edit.ctp 2018-03-27 15:23:26 +02:00
iglocska 86cc300225 fix: Added annoying missing space between the password field's label and it's tooltip 2018-03-23 14:37:59 +01:00
Steve Clement 0ffe7848f8 - View/Users -> __(' to be completed 2018-01-12 10:03:07 +01:00
iglocska cfcaf0d410 chg: Made the current password confirmation requirement for any user profile edits optional
- default setting is having it off
- incredibly frustrating feature is now only enabled on demand
2017-08-18 09:05:20 +02:00
iglocska 3317f56ca1 fix: Upgraded hashing algorithm used and added requirement to confirm password for user profile changes
- Added method to upgrade all passwords to blowfish transparently
- All profile edit pages (/users/edit, /admin/users/edit, /users/change_pw) now require the user's password to be confirmed

- Thanks to cert.govt.nz for the security report.
2017-07-12 15:38:34 +02:00
iglocska 77ef188457 new: Password complexity defaults tightened, also passowrd requirements shown to users, fixes #2117 2017-04-11 10:04:07 +02:00
iglocska c32ae9bfa1 chg: Finished round 1 of all accessibility changes 2017-03-15 11:25:11 +01:00
iglocska 82ce3bf8ad fix: Some clarification on the user creation/edit forms 2016-09-02 21:53:19 +02:00
Andreas Ziegler 50dc59fb52 chg: users autoalert/contactalert not empty & input style checkbox forced 2016-07-11 21:25:59 +02:00
Andreas Ziegler 0fe692c56a remove whitespace at end of line 2016-06-04 01:10:45 +02:00
Andreas Ziegler 898ea1d97c remove whitespace (space/tab) from empty lines 2016-06-04 01:08:16 +02:00
Iglocska 8db889ce7e SMIME changes
- tied into auto upgrade system
- tied into server settings
- some cleanup of overly verbose debug
- Enforcing enable/disable everywhere
- Changed temporary file structure
2016-04-26 16:40:12 +02:00
Iglocska 267caa3315 Merge branch '2.4' into smime
Conflicts:
	app/Controller/AppController.php
2016-04-25 23:12:57 +02:00
Iglocska 24c7fa61fe Merge branch 'permissionfix' into 2.4 2016-04-18 17:41:59 +02:00
devnull- 27cf931097 Add in form the field 'certif_public' 2016-04-04 19:26:25 +02:00
Iglocska afaa537b82 First implementation of the new auth mechanism 2016-03-15 23:04:20 +01:00
William Robinet 4fea371c4b Fix permissions 2016-02-11 17:03:51 +01:00
Iglocska 5ed1c27e43 Disable users
- users can now be disabled by an admin
- disabled users cannot login (via the UI or the API) and will be informed
- login attempts by disabled users are logged

- also added the expiration field for later use
2015-12-09 23:47:19 +01:00
Iglocska ad21d5c35a Further work on the Sharing Groups 2015-08-03 14:12:20 +02:00
Iglocska c73f71f243 Merge branch 'master' into feature/sg
The merging is complete

Conflicts:
	VERSION.json
	app/Console/Command/ServerShell.php
	app/Controller/AppController.php
	app/Controller/AttributesController.php
	app/Controller/EventsController.php
	app/Controller/PostsController.php
	app/Controller/UsersController.php
	app/Model/Attribute.php
	app/Model/Event.php
	app/Model/Log.php
	app/Model/Server.php
	app/Model/User.php
	app/View/Elements/side_menu.ctp
	app/View/Users/admin_index.ctp
	app/webroot/js/ajaxification.js
2015-06-10 22:54:20 +02:00
iglocska 0851f44764 PGP key lookup for lazy MISP instance admins, fixes #492
- Added a button for the add user / edit user views that fetches the entered e-mail addresses pgp key from pgp.mit.edu
2015-05-13 17:01:56 +02:00
Iglocska 1e3db8a8ba Further work on the new version
- org checks fixed in a lot of places
- fixed the searches to work with the new organisations
2015-04-14 17:51:38 +02:00
iglocska 9ccf69f35a User edit fixed
- choose organisation from a list as expected
- fixed refreshauth
2015-04-08 13:10:52 +02:00
iglocska 2b11a78e22 Merge branch 'feature/roleChanges' into feature/XML_and_UI
Conflicts:
	app/Controller/UsersController.php
	app/View/Regexp/admin_add.ctp
	app/View/Regexp/admin_edit.ctp
	app/View/Regexp/admin_index.ctp
	app/View/Roles/admin_add.ctp
	app/View/Servers/add.ctp
	app/View/Servers/edit.ctp
	app/View/Servers/index.ctp
	app/View/Servers/pull.ctp
	app/View/Servers/push.ctp
2013-10-25 10:39:18 +02:00
iglocska 3c58e0071a Further work on the UI
- reworked almost all of the side menues to be centralised

- Some fixes for the IOC export not handling two new-ish types correctly

- Some changes to the menues (including a few options that didn't exist before)

- rework of the popovers in some forms
2013-10-24 16:41:42 +02:00
iglocska d27ddee207 First rework of the siteadmin role
- ADMIN org removed.

- Siteadmins are now identified by the perm_site_admin flag

- Siteadmins can now be of any organisation

- editing the regexp / whitelist rules can now be done by a special user with the perm_regexp_access in his/her role

- Executing a mass replace of attribute values based on the regexp rules cannot be initiated by a regexp/whitelist user, only by a site admin

- If the login page is reached without any users / roles defined they are automatically created (perviously it was only the user that was created)

- Org admins are restricted from assigning perm_site_admin, perm_sync and perm_regexp_access roles to users. This can only be done by a site admin.
2013-10-03 11:45:27 +02:00
iglocska 66a7791b33 Pivot threads and other changes
- Users can now see the path they took while jumping from related event to related event

- Removed the breadcrumbs

- Some UI changes (user menues were not showing the active page, etc)
2013-08-02 11:53:17 +02:00
iglocska 8d2595d592 Breadcrumbs for the views
- makes navigating the site easier
- some new css changes to support this
2013-07-31 15:08:10 +02:00
iglocska 1b79963ce8 UI changes applied to the actions menu
- The side menu is now fixed / relatively positioned based on the debug
mode, like the header and the footer.
2013-07-04 13:35:04 +02:00
Christophe Vandeplas 9a256e04a5 UI rules and users improvements 2013-06-01 08:13:18 +02:00
iglocska d768d30e79 GUI changes for the user views 2013-05-31 15:42:53 +02:00