CVE-2024-51755
Unguarded calls to __isset() and to array-accesses when the sandbox is enabled in Twig
2.2CVSSLOW
Description
Twig is a template language for PHP. In a sandbox, an attacker can access attributes of Array-like objects as they were not checked by the security policy. They are now checked via the property policy and the `__isset()` method is now called after the security check. This is a BC break. This issue has been patched in versions 3.11.2 and 3.14.1. All users are advised to upgrade. There are no known workarounds for this issue.
CVSS Vector Breakdown
Exploitability
AV:NAttack VectorNetwork
AC:HAttack ComplexityHigh
PR:HPrivileges RequiredHigh
UI:NUser InteractionNone
Scope
S:UScopeUnchanged
Impact
C:LConfidentialityLow
I:NIntegrityNone
A:NAvailabilityNone
Weaknesses
Affected Products
Exploitability
1 exploit source identified
Exploit details including PoC links, Metasploit modules, and scanner templates are available after registration.
View exploit details Official Patch Available
References
https://github.com/twigphp/Twig/security/advisories/GHSA-jjxq-ff2g-95vh
github.com
https://github.com/twigphp/Twig/commit/831c148e786178e5f2fde9db67266be3bf241c21
github.com
https://nvd.nist.gov/vuln/detail/CVE-2024-51755
nvd.nist.gov
and 3 more references View all →
Timeline
Published
Nov 6, 2024
Last Updated
Nov 8, 2024
Unlock Complete Vulnerability Intelligence
Get the full picture for CVE-2024-51755 and every CVE in our database. Create a free account — no credit card required.
Create Free AccountPlain-language analysis
Impact assessment and exploitation scenario in plain English
Attack graph visualization
Interactive attack path and kill chain mapping
Exploit details & PoC links
ExploitDB, Metasploit, GitHub PoCs with direct links
Nuclei scanner templates
Ready-to-use vulnerability scanner templates
Full remediation guide
Patch instructions, workarounds, and compliance impact
Interactive AI chat
Ask questions about this vulnerability in natural language
Related vulnerabilities
Semantically similar CVEs and attack patterns
REST API & MCP access
Integrate vulnerability data into your workflows