cbcvebase.
CVE-2015-2780
published 2017-10-16

CVE-2015-2780: Unrestricted file upload vulnerability in Berta CMS allows remote attackers to execute arbitrary code by uploading a crafted image file with an executable…

PriorityP273critical9.8CVSS 3.0
AVNACLPRNUINSUCHIHAH
EXPLOIT
EPSS
15.14%
96.3th percentile
Unrestricted file upload vulnerability in Berta CMS allows remote attackers to execute arbitrary code by uploading a crafted image file with an executable extension, then accessing it via a direct request to the file in an unspecified directory.

Affected

1 ranges
VendorProductVersion rangeFixed in
bertaberta_cms<= 0.8.9b

Detection & IOCsextracted from sources · hover to see the quote

url/engine/upload.php?entry=true&mediafolder=.all
filenamec.php
path/engine/upload.php
bytes
GIF89
  • The upload endpoint /engine/upload.php does not require authentication on vulnerable versions; monitor for unauthenticated POST requests to this path.
  • Attackers upload files with executable extensions (e.g., .php) disguised as images by prepending a valid GIF magic bytes header (GIF89) to bypass PHP getimagesize() checks.
  • Detect multipart file uploads to /engine/upload.php where the uploaded filename has a .php (or other executable) extension, regardless of Content-Type.
  • The query parameter 'mediafolder=.all' is used in the exploit; alert on POST requests to upload.php containing this parameter.
  • GIF polyglot PHP webshells will begin with GIF89 magic bytes; scan uploaded files in the Berta CMS media directories for files with executable extensions containing GIF magic bytes.
  • ·The vulnerability is fixed in berta-0.8.10b.zip and later; the patch enforces authentication for all file uploads. Ensure the deployed version is 0.8.10b or newer.

CVSS provenance

nvdv3.09.8CRITICALCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
nvdv2.07.5HIGHAV:N/AC:L/Au:N/C:P/I:P/A:P
CVEs like this are exactly what “Exploited This Week” covers.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.