Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2024-51755— Unguarded calls to __isset() and to array-accesses when the sandbox is enabled in Twig

Quick assessment

Affected
twigphp Twig
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Twig是Twig开源的一个PHP模板引擎。 Twig存在安全漏洞,该漏洞源于沙盒中类似数组的对象属性未经安全策略检查。

CVSS 2.2 · Low EPSS 0.43% · P36

Possible ATT&CK Techniques 1 AI

T1068 · Exploitation for Privilege Escalation
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2024-51755

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Unguarded calls to __isset() and to array-accesses when the sandbox is enabled in Twig
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:L/I:N/A:N
Source: CVE Program / CVE List V5
Vulnerability Type
将资源暴露给错误范围
Source: CVE Program / CVE List V5
Vulnerability Title
Twig 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Twig是Twig开源的一个PHP模板引擎。 Twig存在安全漏洞,该漏洞源于沙盒中类似数组的对象属性未经安全策略检查。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
twigphp Twig < 3.11.2 -

II. Public POCs for CVE-2024-51755

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2024-51755

请登录查看更多情报信息。

Patches & Fixes for CVE-2024-51755 (1)

IV. Related Vulnerabilities

V. Comments for CVE-2024-51755

No comments yet


Leave a comment