CVE-2019-13973

LayerBB 1.1.3 allows admin/general.php arbitrary file upload because the custom_logo filename suffix is not restricted, and .php may be used

published July 19, 2019

CVSS
โ€”
EPSS
2%
Percentile
77.7
In the wild
Unconfirmed
What it is

๐Ÿšจ An unguarded door in LayerBB 1.1.3 lets anyone upload files without restrictions! ๐Ÿ“‚ Think of it like a package drop-off at a hotel that doesn't check what's inside. Anyone can send a box labeled 'custom_logo' without any vetting, and you could end up with something dangerous instead of a logo! An attacker could exploit this vulnerability to upload a malicious PHP file, effectively taking control of the server. Once in, they could run scripts, access sensitive data, or even disrupt services, making this scenario a potential nightmare!

Put simply

Think of it like a package drop-off at a hotel that doesn't check what's inside. Anyone can send a box labeled 'custom_logo' without any vetting, and you could end up with something dangerous instead of a logo! This vulnerability arises from the lack of filename restrictions in the admin/general.php file, allowing arbitrary file uploads with the .php suffix. This oversight means malicious users can upload executable scripts disguised as legitimate files.

What to do

An attacker could exploit this vulnerability to upload a malicious PHP file, effectively taking control of the server. Once in, they could run scripts, access sensitive data, or even disrupt services, making this scenario a potential nightmare! To mitigate this risk, patch LayerBB to the latest version and implement strict filename validation to block any files with executable suffixes like .php. Regularly review your security settings to tighten access controls on file uploads. You've got this! Secure your setup and keep your platform safe! ๐Ÿ›ก๏ธ

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.01753 ยท 77.7th percentile
Published
2019-07-19T06:08Z
EPSS history
Timeline
  • 19 JUL 06:08Z
    LayerBB 1.1.3 allows admin/general.php arbitrary file upload because the custom_logo filename suffix is not restricted, and .php may be used
    cvelistv5