Auth bypass in Privateuploader

CVE-2023-40020

PrivateUploader is an open source image hosting server written in Vue and TypeScript. In affected versions `app/routes/v3/admin.controller.ts` did not correctly verify whether the user was an administrator (High Level) or moderator (Low Level) causing the request to continue processing. The response would be a 403 with ADMIN_ONLY, however, next() would call leading to any updates/changes in the route to process. This issue has been addressed in version 3.2.49. Users are advised to upgrade. There are no known workarounds for this vulnerability.

Vulnerability class: Broken Authentication

EPSS: 0.005 (39.7th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 9.9 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:H/A:H.

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2023-40020?
CVE-2023-40020 is a critical-severity vulnerability in Privateuploader, classified under Improper Authentication. CVSS score: 9.9/10. Published 2023-08-14.
How severe is CVE-2023-40020?
Critical severity. CVSS v3 base score is 9.9 out of 10.