CVE-2023-40020 Improper Authentication in PrivateUploader

Critical 9.9 Published Updated

Attackers can bypass admin checks to modify data because the application continues processing requests despite returning a 403 error.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2023-40020?

CVE-2023-40020 is a critical authentication bypass vulnerability in PrivateUploader, published on 14 Aug 2023. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

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.

Weakness: CWE-287

Which versions are affected by CVE-2023-40020?

It affects 1 product.

Products include Troplo Privateuploader.

How do I fix CVE-2023-40020?

No fix has been published for CVE-2023-40020 yet. Limit exposure of the affected software until one is available.

Upgrade, and rotate credentials and sessions that may have been exposed. More about Authentication bypass.

Is CVE-2023-40020 being exploited?

There is no known exploitation of CVE-2023-40020 in the wild and no public exploit code.

Sources

Also known as GHSA-vhrw-2472-rrjx.

Is CVE-2023-40020 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free