CVE-2012-4383: Contao core SQL Injection Vulnerability
8.8
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.4904%
CWE
Published
4/23/2022
Updated
4/25/2024
KEV Status
No
Technology
PHP
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
contao/core | composer | < 2.11.4 | 2.11.4 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from insufficient input validation in the toggleSubpalette
handler of executePostActions
. The pre-patch code lacked checks for whether the user-controlled 'field' parameter was a valid selector field or allowed for the current user's permissions. This allowed attackers to inject arbitrary SQL through the field parameter, as demonstrated in the exploit example. The patch adds critical validation checks (including field allowlist verification and user permission checks) to prevent SQL injection, confirming the original vulnerability location.