Skip to content
Mobile Disclosed report Beginner

**minor issue ** -Nextcloud 10.0 session issue with desktop client and android client

Killing a desktop client session from the Sessions page did not actually terminate that client's access, so it kept syncing files without re-authentication. The Android client's active session was also not shown in the Sessions list at all.

egrep Follow

Originally disclosed on HackerOne

  • Triaged in 12 hours
  • Fixed in 22 months
  • Disclosed after 3.5 years

Scenario:


--> Installed nextcloud 10.0 locally and created "admin" account --> Installed nextcloud desktop client and andoid client

I found session related vulnerability in nextcloud 10.0 where killing session in User(admin) --> Personal --> Sessions not actually killing sessions in desktop client

Steps:

  1. Logged into admin account in browser
  2. Logged into admin account in desktop client and android client. Currently admin account is having 3 sessions : browser, desktop, andoid
  3. Goto User(admin) --> Personal --> Sessions --> kill desktop client session --> upload new file using browser --> Still dekstop client is syncing files without asking any password prompt (issue1)
  4. Though android client is still active, sessions are not capturing in personal --> sessions tab

Hope these are minor issues

The original report as published on HackerOne, by egrep. Images and videos are our own copies; raw HTML is shown as text. View it on HackerOne.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely the server did not invalidate the desktop client's authentication token when the session was killed, and did not register the Android client's session in the session list.

Impact

A session the user believes has been ended may keep working, and the Android client's session could not be seen or revoked from the Sessions page.

What the attacker needed

Admin account; desktop client installed; android client installed

How it was found

  1. Log into the admin account in a browser.
  2. Log into the same account from the desktop client and the Android client, giving three sessions.
  3. On the Sessions page, kill the desktop client session.
  4. Upload a new file through the browser and observe that the desktop client still syncs it without asking for a password.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

A session is a logged-in state a device holds after you sign in, and a Sessions page is meant to let you end those logins remotely. Here, ending the desktop client's session did not really log it out, so it carried on working as if nothing happened. Separately, the phone app's login was missing from the list, so it could not be seen or ended from there.

What is Mobile?

Flaws specific to Android and iOS apps: exported components, deep links, WebViews and data left on the device.

More by egrep

View all

7 more disclosed reports, best first.

More from Nextcloud

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Mobile app vulnerabilities

The lesson behind this report.

Flaws specific to Android and iOS apps: exported components, deep links, WebViews and data left on the device.