{"id":"CVE-2022-46157","aliases":["CVE-2022-46157","GHSA-w9wc-4xcq-8gr6","BIT-AKENEO-2022-46157"],"related":[],"kind":"vulnerability","state":"published","title":"Remote php code execution in Akeneo PIM","summary":"Akeneo PIM is an open source Product Information Management (PIM). 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. 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. Users are advised to upgrade. Users unable to upgrade may  Replace any reference to `<FilesMatch \\.php$>` in their apache httpd configurations with: `<Location \"/index.php\">`.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Akeneo PIM is an open source Product Information Management (PIM). 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. 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. Users are advised to upgrade. Users unable to upgrade may  Replace any reference to `<FilesMatch \\.php$>` in their apache httpd configurations with: `<Location \"/index.php\">`.","source":"cvelist"},{"lang":"en","text":"### Impact\nAkeneo 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.\n\n\n### Patches\n\nAkeneo 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.  \nCommunity Edition users must change their Apache HTTP server configuration accordingly to be protected.\nThe patch for Cloud Based Akeneo PIM Services customers has been applied since 30th October 2022. \n\n### Workarounds\n\nReplace 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.\n\n<!--\n### References\n_Are there any links users can visit to find out more?_\n\n\n### For more information\n If you have any questions or comments about this advisory:\n* Open an issue in [example link to repo](http://example.com)\n* Email us at [example email address](mailto:example@example.com)\n-->","format":"markdown","source":"ghsa"},{"lang":"es","text":"Akeneo PIM es un software Product Information Management (PIM) de código abierto. Las versiones de Akeneo PIM Community Edition anteriores a v5.0.119 y v6.0.53 permiten a usuarios remotos autenticados ejecutar código PHP arbitrario en el servidor cargando una imagen manipulada. Akeneo PIM Community Edition después de las versiones antes mencionadas proporciona un archivo de configuración del servidor HTTP Apache parcheado, para la configuración de Docker y en una muestra de documentación, para corregir esta vulnerabilidad. Los usuarios de Community Edition deben cambiar la configuración de su servidor Apache HTTP en consecuencia para estar protegidos. El parche para los clientes de los servicios PIM de Akeneo basados en la nube se aplicó desde el 30 de octubre de 2022. Se recomienda a los usuarios que actualicen. Los usuarios que no puedan actualizar pueden reemplazar cualquier referencia a `` en sus configuraciones httpd de Apache con: ``.","source":"nvd"}],"published":"2022-12-09T20:08:32.000Z","modified":"2026-06-17T05:11:19.533Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},{"scorer":"Bitnami Vulnerability Database","scheme":"rating","rating":"HIGH"}],"cwes":["CWE-94","CWE-434"],"affected":[{"ranges":[{"version":">= 6.0.0, < 6.0.53","status":"affected"},{"version":"< 5.0.119","status":"affected"}],"vendor":"akeneo","product":"pim-community-dev","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"6.0.0","status":"affected","fixed":"6.0.53"}],"ecosystem":"Packagist","package":"akeneo/pim-community-dev","purl":"pkg:composer/akeneo/pim-community-dev","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"5.0.119"}],"ecosystem":"Packagist","package":"akeneo/pim-community-dev","purl":"pkg:composer/akeneo/pim-community-dev","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"5.0.119"},{"status":"affected","introduced":"6.0.0","fixed":"6.0.53"}],"vendor":"akeneo","product":"product_information_management","cpe":"cpe:2.3:a:akeneo:product_information_management:*:*:*:*:community:*:*:*","source":"nvd"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"5.0.119"},{"type":"semver","introduced":"6.0.0","status":"affected","fixed":"6.0.53"}],"ecosystem":"Bitnami","package":"akeneo","purl":"pkg:bitnami/akeneo","source":"bitnami"}],"references":[{"url":"https://github.com/akeneo/pim-community-dev/security/advisories/GHSA-w9wc-4xcq-8gr6","tags":["mitigation","third-party-advisory","web","x-refsource-confirm","x-transferred"],"sources":["cvelist","ghsa","nvd","bitnami"]},{"url":"https://github.com/akeneo/pim-community-dev/blob/b4d79bb073c8b68ea26ab227c97cc78d86c4cba1/docker/httpd.conf#L39","tags":["exploit","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd","bitnami"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-46157","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/akeneo/pim-community-dev/commit/891a2f70a9a200f199de06fe64d376d03787a81a","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/akeneo/pim-community-dev","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"total","date":"2025-04-22T15:39:47.045Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-46157","url":"https://www.cve.org/CVERecord?id=CVE-2022-46157","licence":"CVE Terms of Use","modified":"2025-04-22T15:58:07.264Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-w9wc-4xcq-8gr6","url":"https://github.com/advisories/GHSA-w9wc-4xcq-8gr6","licence":"CC-BY-4.0","modified":"2023-12-06T01:02:43.009Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-46157","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-46157","licence":"Public domain","modified":"2026-06-17T05:11:19.533Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-AKENEO-2022-46157","url":"https://osv.dev/vulnerability/BIT-AKENEO-2022-46157","licence":"Apache-2.0","modified":"2024-03-06T11:25:28.861Z"}],"updatedAt":"2026-11-25T22:58:17.340Z","epss":{"score":0.01531,"percentile":0.75504,"date":"2026-12-01T12:00:22.000Z"}}