CRITICAL9.0
GHSA-wxxw-5gq6-j2g5
contao/core Insufficient input validation allows for code injection and remote execution
Quick fix
GHSA-wxxw-5gq6-j2g5 — contao/core: upgrade to the fixed version with the command below.
composer require contao/core:^2.11.17Details
contao/core versions 2.x prior to 2.11.17 and 3.x prior to 3.2.9 are vulnerable to arbitrary code execution on the server due to insufficient input validation. In fact, attackers can remove or change pathconfig.php by entering a URL, meaning that the entire Contao installation will no longer be accessible or malicious code can be executed.
Are you affected?
Enter the version of the package you're using.
Affected packages
References
- https://github.com/contao/core/issues/6855[WEB]
- https://github.com/contao/core/commit/d45503568751a868193929ef349a49ae5e6686f0[WEB]
- https://github.com/contao/core/commit/d4a14f167e0cbb2e77c7829299e5b36f55c1ebce[WEB]
- https://c-c-a.org/aktuelles/news/details/eine-neue-kritische-sicherheitsluecke-in-contao-entdeckt[WEB]
- https://github.com/FriendsOfPHP/security-advisories/blob/master/contao/core/2014-04-07.yaml[WEB]
- https://web.archive.org/web/20240214121817/https://contao.org/en/news/new-security-hole-found-in-contao[WEB]
Check it before you install it
One call answers whether to add this package: known advisories, CISA KEV, and whether the name is a hallucinated or freshly squatted one. No key needed to try it.
curl -s https://vdb.ai.kr/v1/ai/check-packages \
-H 'Content-Type: application/json' \
-d '{"packages":["pkg:composer/contao/core"]}'