GitHub Advisoryadvisory · Packagist

GHSA-x2w2-qgv6-8xrm Elefant CMS PHP Code Execution Vulnerability

CRITICAL Published 2022-05-13 Modified 2024-04-23 Official page ↗
Aliases
CVE-2018-16975
Ecosystem
Packagist
Packages
elefant/cms
Severity
Critical
CVSS vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weaknesses
CWE-94
Reviewed
2024-04-23

Affected packages

• Packagist elefant/cms: < 2.0.7 → fixed in 2.0.7

Description

An issue was discovered in Elefant CMS before 2.0.7. There is a PHP Code Execution Vulnerability in `/designer/add/stylesheet.php` by using a `.php` extension in the New Stylesheet Name field in conjunction with `<?php` content, because of insufficient input validation in `apps/designer/handlers/csspreview.php`.

Related

Alias · CVE (1)

  • CVE-2018-16975 An issue was discovered in Elefant CMS before 2.0.7. vulnerability

Weakness · CWE (1)

  • CWE-94 Improper Control of Generation of Code weakness

References