Loading HuntDB...

New AppPassword can be generated without password confirmation

High
N
Nextcloud
Submitted None

Team Summary

Official summary from Nextcloud

Security advisory at https://github.com/nextcloud/security-advisories/security/advisories/GHSA-j4qm-5q5x-54m5

Reported by mikaelgundersen

Vulnerability Details

Technical details and impact analysis

Improper Access Control - Generic
There is protection on https://github.com/nextcloud/server/blob/master/apps/settings/lib/Controller/AuthSettingsController.php#L122 that you must have recently entered your password to be able to generate a new AppPassword. However if an attacker would obtain access to your system (say you forgot to lock it when taking a quick bathroom break). They can abuse a route to just obtain this. ```https://SERVER/ocs/v2.php/core/getapppassword``` Probably without you ever noticing. ## Impact The password confirmation to generate an app password is effectively useless as it is trivial to bypass.

Report Details

Additional information and metadata

State

Closed

Substate

Resolved

Bounty

$250.00

Submitted

Weakness

Improper Access Control - Generic