Arbitrary file upload in Class.upload.php

CVE-2023-6551

As a simple library, class.upload.php does not perform an in-depth check on uploaded files, allowing a stored XSS vulnerability when the default configuration is used. Developers must be aware of that fact and use extension whitelisting accompanied by forcing the server to always provide content-type based on the file extension. The README has been updated to include these guidelines.

Vulnerability class: Unrestricted File Upload

EPSS: 0.004 (35.7th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 5.4 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N.

Affected products

Weakness classification (CWE)

Public proof-of-concept exploits

References

  • cvd@cert.pl (Third Party Advisory, third-party-advisory)
  • cvd@cert.pl (Third Party Advisory, third-party-advisory)

Frequently asked questions

What is CVE-2023-6551?
CVE-2023-6551 is a medium-severity vulnerability in Class.upload.php, classified under Unrestricted Upload of File with Dangerous Type. CVSS score: 5.4/10. Published 2024-01-04.
How severe is CVE-2023-6551?
Medium severity. CVSS v3 base score is 5.4 out of 10.
Is CVE-2023-6551 known to be exploited?
1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.