Information disclosure in Symfony Twig



Published: 2019-03-23 | Updated: 2023-03-13
Risk Low
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2019-9942
CWE-ID CWE-200
Exploitation vector Network
Public exploit N/A
Vulnerable software
Subscribe
Twig
Web applications / CMS

Vendor Symfony

Security Bulletin

This security bulletin contains one low risk vulnerability.

1) Information disclosure

EUVDB-ID: #VU73271

Risk: Low

CVSSv3.1: 3.2 [CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N/E:U/RL:O/RC:C]

CVE-ID: CVE-2019-9942

CWE-ID: CWE-200 - Information exposure

Exploit availability: No

Description

The vulnerability allows a remote attacker to gain access to potentially sensitive information.

The vulnerability exists due to sandbox information disclosure via the __toString() method call on an object that even can be disabled by the security policy in place. A remote attacker can gain unauthorized access to sensitive information on the system.

Mitigation

Install updates from vendor's website.

Vulnerable software versions

Twig: 1.0.0 - 2.6.2

External links

http://symfony.com/blog/twig-sandbox-information-disclosure
http://github.com/twigphp/Twig/commit/eac5422956e1dcca89a3669a03a3ff32f0502077
http://www.debian.org/security/2019/dsa-4419
http://seclists.org/bugtraq/2019/Mar/60


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.



###SIDEBAR###