Observation
All files in the /opt/onedev/sites/ directory are exposed and can be read by unauthenticated users. This directory contains all projects, including their bare git repos and build artifacts.
Impact
This file disclosure vulnerability can be used by unauthenticated attackers to leak all project files of any project. Since project IDs are incremental, an attacker could just iterate through them and leak all project data.
Patches
7.3.0 or higher
Credits
This issue was reported by SonarSource team
Observation
All files in the /opt/onedev/sites/ directory are exposed and can be read by unauthenticated users. This directory contains all projects, including their bare git repos and build artifacts.
Impact
This file disclosure vulnerability can be used by unauthenticated attackers to leak all project files of any project. Since project IDs are incremental, an attacker could just iterate through them and leak all project data.
Patches
7.3.0 or higher
Credits
This issue was reported by SonarSource team