Ecosyste.ms: Advisories
An open API service providing security vulnerability metadata for many open source software ecosystems.
Security Advisories: GSA_kwCzR0hTQS13OXdjLTR4Y3EtOGdyNs4AAwO3
Akeneo PIM Community Edition vulnerable to remote php code execution
Impact
Akeneo PIM Community Edition versions before v5.0.119 and v6.0.53 allows remote authenticated users to execute arbitrary PHP code on the server by uploading a crafted image.
Patches
Akeneo PIM Community Edition after the versions aforementioned provides patched Apache HTTP server configuration file, for docker setup and in documentation sample, to fix this vulnerability.
Community Edition users must change their Apache HTTP server configuration accordingly to be protected.
The patch for Cloud Based Akeneo PIM Services customers has been applied since 30th October 2022.
Workarounds
Replace any reference to <FilesMatch \.php$>
in your apache httpd configurations with: <Location "/index.php">
, as shown in https://github.com/akeneo/pim-community-dev/blob/b4d79bb073c8b68ea26ab227c97cc78d86c4cba1/docker/httpd.conf#L39.
JSON: https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS13OXdjLTR4Y3EtOGdyNs4AAwO3
Source: GitHub Advisory Database
Origin: Unspecified
Severity: High
Classification: General
Published: 6 months ago
Updated: 4 months ago
CVSS Score: 8.8
CVSS vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Identifiers: GHSA-w9wc-4xcq-8gr6, CVE-2022-46157
References:
- https://github.com/akeneo/pim-community-dev/security/advisories/GHSA-w9wc-4xcq-8gr6
- https://github.com/akeneo/pim-community-dev/commit/891a2f70a9a200f199de06fe64d376d03787a81a
- https://github.com/akeneo/pim-community-dev/blob/b4d79bb073c8b68ea26ab227c97cc78d86c4cba1/docker/httpd.conf#L39
- https://nvd.nist.gov/vuln/detail/CVE-2022-46157
- https://github.com/advisories/GHSA-w9wc-4xcq-8gr6
Affected Packages
packagist:akeneo/pim-community-dev
Versions: < 5.0.119, >= 6.0.0, < 6.0.53Fixed in: 5.0.119, 6.0.53