contao/core Insufficient input validation allows for code injection and remote execution
Impact
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.
Source excerpt · OSVAffected packages
Start with the recorded fix for your release branch. Check your installed version and test compatibility before upgrading. Fixing this advisory does not rule out other vulnerabilities in the release.
| Affected range | Recorded fix |
|---|---|
| From 2.0.0 before 2.11.17Ecosystem versions | 2.11.17 |
| From 3.0.0 before 3.2.9Ecosystem versions | 3.2.9 |
Version evidence: OSV · GHSA-wxxw-5gq6-j2g5
View original version evidence (84 explicit versions)
Original source description
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.
References
- Source reference github.com/contao/core/issues/6855
- Patch github.com/contao/core/commit/d45503568751a868193929ef349a49ae5e6686f0
- Patch github.com/contao/core/commit/d4a14f167e0cbb2e77c7829299e5b36f55c1ebce
- Source reference c-c-a.org/aktuelles/news/details/eine-neue-kritische-sicherheitsluecke-in-contao-entdeckt
- Security advisory github.com/FriendsOfPHP/security-advisories/blob/master/contao/core/2014-04-07.yaml
- Security advisory web.archive.org/web/20240214121817/https://contao.org/en/news/new-security-hole-found-in-contao