CVE-2022-46493

Default version of nbnbk was discovered to contain an arbitrary file upload vulnerability via the component /api/User/download_img

Critical · published December 22, 2022

CVSS v3.1
9.8
EPSS
1%
Percentile
57.7
In the wild
Unconfirmed
What it is

🔥 A default configuration flaw in nbnbk lets attackers upload arbitrary files directly through the /api/User/download_img endpoint! Imagine a restaurant where the chef accepts deliveries without checking the contents of the packages — this vulnerability is like letting someone drop off anything in your kitchen without a single question! An attacker could exploit this vulnerability to upload malicious files that could compromise the entire system — think of it as inviting an unverified guest to your home who then has access to all your valuables. This puts not just the application, but potentially all connected data systems at risk!

Put simply

Imagine a restaurant where the chef accepts deliveries without checking the contents of the packages — this vulnerability is like letting someone drop off anything in your kitchen without a single question! This arbitrary file upload vulnerability allows an attacker to bypass security restrictions and upload harmful files to the server, which could be executed or accessed later. It stems from inadequate validation in the API that processes user image downloads.

What to do

An attacker could exploit this vulnerability to upload malicious files that could compromise the entire system — think of it as inviting an unverified guest to your home who then has access to all your valuables. This puts not just the application, but potentially all connected data systems at risk! Immediately update nbnbk to the patched version to close this glaring hole. Additionally, implement rigorous file validation and restrict file types in your upload functionality to safeguard against future threats. Consider reviewing all API endpoints for similar vulnerabilities. You've got this! With these actions, you'll be securing your system and showcasing your superhero status in the fight against cyber threats! 🛡️

The record
Technical detail
CVSS v3.1
9.8 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00848 · 57.7th percentile
Published
2022-12-22T00:00Z
EPSS history
Timeline
  • 22 DEC 00:00Z
    Default version of nbnbk was discovered to contain an arbitrary file upload vulnerability via the component /api/User/download_img
    cvelistv5