Comments (4)
Could you elaborate why?
from server.
Assuming an attacker gained access to an account, the simplest solution would be to change the password of said account. But what if the user could not log in to change the password because the session was already active somewhere else? The user is now locked out completely and the hacker has unlimited access.
The biggest risk is that session tokens can be stolen. In this case, multiple devices will use the same session, so to your backend, that's still just one concurrent login.
from server.
When someone got compromised the way to go is to drop all auth tokens for that user.
This can be done via the command line:
sudo -u www-data php occ user:auth-tokens:list <user>
sudo -u www-data php occ user:auth-tokens:delete <user>
Or when logging in as the user navigating to /index.php/settings/user/security
and revoking all the tokens:
To revoke the "existing" session, just hit the logout button.
On that note, changing the password and email requires password confirmation, so a stolen session is not enough.
Additionally you should think about setting up 2FA. But binding a session to something else is just doomed to create problems along the way.
Having said all that, if you are scared on that level, you should never be running 27.1.2 at this point (but you seem to as per #44169 ). The current version is 27.1.7
You should also consider updating to 28.0.3
from server.
@nickvergessen are those commands documented anywhere? 🤔
# occ user:auth-tokens:list <username>
There are no commands defined in the "user:auth-tokens" namespace.
Did you mean this?
user
from server.
Related Issues (20)
- [Bug]: Files and directory not showing in internet navigator and DAVX HOT 2
- [Bug]: Can't enable or disable apps after upgrade to v28.0.4 HOT 36
- [Bug]: Cannot create remote shares that has `expireDate`
- [Bug]: Nextcloud 29 rc2: spams log with BlurHash messages
- [Bug]: Folder sizes not always calculated with S3 primary storage
- Inconsistency in the Front-end HOT 1
- [Bug]: Error during scan: exif_read_data(): Process tag(x0000=UndefinedTag): Illegal format code 0x0000, suppose BYTE
- Add support for Imaginary to generate previews via "file" parameter through locally mounted folder with "-mount" command line option HOT 6
- [Bug]: Incorrect text and icon color since Nextcloud 28 HOT 4
- [Bug]: lib/private/Template/ResourceLocator.php line 100 path error in is_file HOT 3
- [Bug]: status setting, layout broken HOT 1
- [Bug]: Class "RemoteException" not found
- [Bug]: Translate text at Files -> "Add" ("New") button HOT 1
- [Bug]: webdav files download Base64 encoded HOT 5
- [Bug]: Default expiration date is not applied
- Add the ability to choose what preview provider use in priority when multiples are available for the same filetype.
- [Bug]: After 28.0.4 - embedded document editor window sometimes scrolling HOT 1
- [Bug]: RuntimeException image not found: image:png With Circles Activated HOT 2
- [Bug]: TypeError OCA\GroupFolders\Versions\GroupVersion::__construct(): Argument #11 HOT 1
- Automatically purge completed tasks via cron job
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from server.